Tagged Questions
-2
votes
2answers
180 views
How can I test database access methods in Java? [closed]
I want to write a test for a method that accesses a database such as following.
public class MyClass{
public String getAddress(Int id){
String query = "Select * from Address where ...
2
votes
5answers
2k views
How to unit test a jsp file?
I'm developing a Java 6 EE application and I'm testing my jsp code with another one with a testing version of the function calls and code used in the original one but it seems loose and impractical. ...