Can we use assertion for testing purpose in web application ? Give example also.
- by dinker
Since we can easily disable and enable assertion as per our requirement. So I want to use assertion in struts action class for unit testing. Pls provide example also.