Discussion Locked

Testing

0 helpful
0 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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.

0 replies

No replies were posted before this discussion closed.

This discussion is closed to new replies.