[Httpunit-commit] CVS: httpunit/src/com/meterware/servletunit package.html,NONE,1.1
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2001-12-03 15:42:42
|
Update of /cvsroot/httpunit/httpunit/src/com/meterware/servletunit
In directory usw-pr-cvs1:/tmp/cvs-serv10171/src/com/meterware/servletunit
Added Files:
package.html
Log Message:
Extract WebXMLString for use in other tests
--- NEW FILE ---
<HTML><BODY>
Classes for unit testing servlets, providing internal access to running servlets using a simulated servlet container.
Each test session should begin by creating a
{@link com.meterware.servletunit.ServletRunner ServletRunner} which will act as a servlet application context.
The definition of application context may be supplied in one of two ways.
The {@link com.meterware.servletunit.ServletRunner#registerServlet(String,String) registerServlet} method allows the
association of a servlet with a url path. Alternately, an entire servlet application may be defined by passing the
name of the desired web.xml file.
The {@link com.meterware.servletunit.ServletRunner#newClient newClient} method will return a
{@link com.meterware.servletunit.ServletUnitClient ServletUnitClient} object which can be
used to invoke the defined servlets, just as any subclass of
{@link com.meterware.httpunit.WebClient WebClient}. In addition, this client object defines methods which allow
access to the fully initializated servlet itself, as well as the request, response, and servlet session.
A <a href="../../../../tutorial/index.html" target="_top">tutorial</a> is available.
Please direct any questions to <A HREF="mailto:rus...@ac...">Russell Gold</A>.
</BODY></HTML>
|