testing question
| Newsgroups | gmane.comp.jakarta.turbine.user |
|---|---|
| Message-ID | <OF5C94EEA7.5C29BD09-ONC12574CC.003BCBBD-C12574CC.003B848B@oficina.valbosoft.com> |
Hello, I'm trying to set up testing for a turbine application I have. I'd like to do this with maven 2 and cactus. I've already tried some combinations, but none satisfactory so far. One of the problems I run into is the database setup. Many test scenarios with turbine are described without any database integration. I'd like to use hsqldb. Torque 3.1.1 that comes with turbine 2.3.2 doesn't shut down correctly the initial definition, so in my tests I cannot startup as in production, and then change the configuration in the setup of the tests. What I'm trying now is that in the maven pom the torque.properties gets overwritten by a testversion when I'm in the test phase. I'm not sure if this is the right way, though.. Also, maven 2 seems only to be integrated with cactus since cactus 1.8.1, which isn't out yet.. I was wondering if someone has found a good and proven setup. Regards, Bo