view README @ 26:0880e0fafde4

Tests: implement smtp test backend and use it.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 02 Oct 2008 16:18:11 +0400
parents 1059c3002030
children 71ea39729fa0
line wrap: on
line source

Test suit for nginx.

Use prove to run tests as one usually do for perl tests.  Individual tests
may be run as well.

Tests assume that nginx sources are in directory nginx at the same level
as directory with tests, and nginx was already configured and built (i.e.
nginx binary available as ../nginx/objs/nginx from test directory).

Note: some tests may fail since they are for bugs not fixed in public code.

Note: tests run nginx listening on localhost, and currently this includes
following ports: 8025, 8026, 8080, 8081.

Currently each test creates it's own temporary directory and uses it for
logs etc.  One may instruct tests not to remove the temp directory (e.g.
for analysis of failed test) by setting LEAVE environment variable.