Hi, I have a Cactus test that should be used against several configurations. To fix ideas, this test accesses a database and I would like to use this same test when my database is SQLServer or Oracle.
In my application, the database to use is defined by a configuration file. An easy to use method would be to give the file name as a command line argument of the test runner, and call the same test with different parameter in my Makefile/Ant but : - this should be given both to the test runner and of the web server - I already pass an argument (my server root path) as a System property (using -DrootPath=...), and I expect other tests to need such "runtime" argument. - It would be simpler to have such parameter defined in the Makefile/Ant, rather than hard-coded in the test. Does anybody have a method to provide such "runtime" argument to a test ? (note that this is already a JUnit problem, but with Cactus, as we have several JVM, the problem is worse) Thanks, Marc -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
