[Idrs-dev] New unit testing capabilities
Brought to you by:
bigman921
|
From: Marc B. <mbo...@ya...> - 2002-10-13 15:10:25
|
Hey everyone, I have added a new package to the class structure, net.sourceforge.idrs.test. This package contains an implementation of the request,response, and session object which allow you to create a facade of running un a servlet container. The IDRSTester class does the leg work of compiling and running te page. Here's the flow: Create Tester --> Add parameters, create facade objects, create connections --> compile the page --> initiailize From here there is an option to run the output or not. I envision this class for testing the <head> section deirectly and is not meant to repolace a Cactus like system. =20 As I built this class pretty quickly for an immediate need, its pretty bare bones and can use a good deal of refinement to stream line the testing process. Marc |