Hi All,
I am new to
JUnit test cases. We are starting to write JUnit test cases to perform automated testing for a web application which is running on production. Ours is a layered application.
1. Should we write test cases for all public methods or do we write only for business methods in the business layer ?
2. How should positive and negative test cases be covered ? Do we write test cases for all scenarios?
3. Since ours is a web application, is it better to use HttpUnit than JUnit ?
Waiting for your response
Thanks
Preeti