-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Resources to Unittest Nhibernate
PostPosted: Tue Jan 03, 2006 12:23 pm 
Newbie

Joined: Tue Jan 03, 2006 12:19 pm
Posts: 5
Can anyone point me in the direction of some resources to unit test nhibernate mappings? The only things I've seen are for hibernate using an xml database. Would it be possible to just create a database in memory (dataset) and run the tests against that? Any help would be appreciated.


Top
 Profile  
 
 Post subject: got it to hit a actual database in test
PostPosted: Tue Jan 03, 2006 2:26 pm 
Newbie

Joined: Tue Jan 03, 2006 12:19 pm
Posts: 5
got my code to hit a dev database. I guess I can just translate what hibernate users did with dbunit over to .NET way. Still, any help is appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 03, 2006 8:19 pm 
Contributor
Contributor

Joined: Thu May 12, 2005 8:45 am
Posts: 226
MySQL can create "in-memory" tables, and SQLite 3 can have "in-memory" databases. You might try one of those.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.