As Oren say you can't assume this, but a reasonable comprise might be to have 
two continuous integration processes - the one that runs on check in uses the 
SQLite database for the unit tests, but the nightly build is run against SQL 
Server.

This should give you a fast enough head-up if something goes wrong.

Paul

----------------------------------------

From: Michiel <[EMAIL PROTECTED]>
Sent: 02 December 2008 15:35
To: nhusers <[email protected]>
Subject: [nhusers] If integration tests pass on SQLite means they will always 
pass on MS SQL Server too? 

Hello,

I recently started to write integration tests for my repositories,
which are implemented using NHibernate 2.0. I use SQLite in memory
databases to run the tests in isolation (recreating the database for
each test). This is a convenient way to run integration tests because
it is pretty fast.

The application will ultimately run on MS SQL Server. Can I just
assume that when my integration tests pass that the tested code will
work on SQL Server as well? Or should I do integration tests on the
actual database type that the application will use?

Thank you!




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to