You may also be interested in Cactus (http://jakarta.apache.org/cactus/), if you want to execute the tests inside a servlet container (that is, of course, if you are testing [parts of] a web application).
-- Antonio 2005/11/21, m h <[EMAIL PROTECTED]>: > technically you are not writing a unit test, you are > writing an integration test. Still there is not > reason you cannot connect to the DB in the tests > themselves, or connect and disconnect is > setup/teardown methods. Look at the JUnit > documentation. > > --- [EMAIL PROTECTED] wrote: > > > hi > > > > I am currently working on a project that is in > > production stage. I need to write some junit > > testcases for some of the enhancements that i have > > done to the project. but the testcases require the > > access of database. since i am not the writer of > > code , properties or xml file hence i am very > > confused as to how i write the test cases. > > can you tell me a procedure to initialize a project > > from an application(testcase) so that connections to > > the database are made > > > > with regards, > > Rishi Mishra --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
