commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Fiol BonnĂ­n <antonio.f...@gmail.com>
Subject Re: please explain
Date Wed, 23 Nov 2005 14:46:19 GMT
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 <lbmes2000@yahoo.com>:
> 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.
>
> --- rishi.mishra@accenture.com 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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message