Hello. I have been doing lots of reading about how great it is to use an in-process DB like Hypersonic for testing. Thing is, there are not many examples of how to do this. What I want to do is start an in-memory DB (not a file DB because the test is small) when I run my tests, and then run tests.
So the first thing that has to happen when I run "maven test" is that the DB has to be created. Then I have to execute CREATE statements for the necessary tables. Then I can proceed with my tests.
Has anyone done this? Should I use a file-based DB instead of in memory? How do I get the maven test suite to "do this one thing first, and only once"?
Any help is greatly appreciated.
Charlie
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]