commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m h <lbmes2...@yahoo.com>
Subject Re: please explain
Date Mon, 21 Nov 2005 12:32:26 GMT
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
>  
> 
> 
> This message is for the designated recipient only
> and may contain privileged, proprietary, or
> otherwise private information.  If you have received
> it in error, please notify the sender immediately
> and delete the original.  Any other use of the email
> by you is prohibited.
> 
> >
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
commons-user-help@jakarta.apache.org



		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

---------------------------------------------------------------------
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