General discussion

Locked

Testing

By kusumadas ·
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 conversation is currently closed to new comments.

0 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Back to Software Forum
0 total posts (Page 1 of 1)  

Related Forums