How can I unit test my servlets?

Alex Chaffee

You may want to look into HttpUnit for doing unit testing, esp. the ServletUnit section. It's integrated with JUnit and allows you to do programmatic testing of servlets in-process or remotely -- i.e. check response text or response codes or whatever you like.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.