example of using ServletUnit to test JSP's
Can anyone point me to an example of how to use ServletUnit to test JSP's? Do I need I need to call registerServlet()? If so, what class name do I pass? ...
Can anyone point me to an example of how to use ServletUnit to test JSP's? Do I need I need to call registerServlet()? If so, what class name do I pass? ...
I'm writing a ServletUnitTest trait in Scala to provide a convenience API for ServletUnit. I have something like the following in mind: /** * Utility trait for HttpUnit/ServletUnit tests * * @param [T] Type parameter for the class under test */ trait ServletUnitTest[T <: HttpServlet] { /** * Resource name of the servlet, us...
I'm trying to unit test a java WFS web service implementation. The service can accept requests containing KVP params such as: http://www.someserver.com/wfs&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=InWaterA_1M or it can also accept a request containing an XML fragment such as <?xml version="1.0" ?> <...