If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org
to view this page for some minimal testing.
for docu changes for 1.2 and 2.0.
Item1089: Add unit tests for Engines
|| Being Worked On
There are no tests to verify engines' code. Some tests are needed:
- Verify that the
Foswiki::Request is built successfully
- Verify if the
Foswiki::Response is sent correctly
There are two ways to test:
- Local test: build a CGI environment and perform the test. This one is completely automatic, but works only with CGI engine
- External test: send a request to the web server and verify the response
The second way can be used to test engines other than CGI, but requires manual intervention. Since foswiki core is shipped with CGI, this situation is OK.
- 16 Feb 2009
: Figure out a way to check status codes. (See Item2549
- 02 Jan 2010