Can Junit do unit test on .jsp file?
Re: Can Junit do unit test on .jsp file?
JUnit is more of a framework for runnning unit tests although it does include some basic assertions which as sufficient for testing Java classes. You can use ad-ons such as HTTPUnit to suppliment these to test JSPs. If you go to the the JUnit homepage (http://www.junit.org/) and check out the extensions for web testing you should find something that fits your needs