Testing - TechRepublic
General discussion
April 11, 2011 at 12:37 AM
kusumadas

Testing

by kusumadas . Updated 15 years, 2 months ago

Hi,

If I have a method which establishes a database connection, how could this method be tested in JUNIT…
how would I test methods which get back data from a database? I may do an assert against expected data but the actual data can change and still be the right resultset.

This discussion is locked

All Comments