2009/10/28 José A. Salvador Vanaclocha <[email protected]>

>
> >I have the integration tests that run against all supported databases. In
> my case they are MsSql and SqlLite. So I >want to execute those tests
> against a real database (which SqlLite is too but can be thought as a mock
> DB too).
>
> If you have all the integration tests running against all supported
> databases to complete your neededs and at the same time you are telling you
> want execute those tests against a "real" database,
>
Saying "real" I do not mean production. I mean not mocked/faked/stubed etc.



> If this is not the case I am not understanding you...
>
Sorry if I haven't been clear enough.
I only want to automatically create a database when my integration tests are
going to be executed. Much like SchemaExport. So there is no need to
manually create database for those tests.
Currently I do it manually somewhere with SchemaExport for each particular
database.
But just wondering if there is a better way of doing it, maybe using NH's
Dialect or similar instead of hand crafted SQL.

Cheers.

--~--~---------~--~----~------------~-------~--~----~
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