Mercurial > hg > nginx-tests
view README @ 20:c57e8bd7bfc7
Tests: running simple daemons supplied as coderef.
This will allow us to write and run fake backend servers as needed. Daemons
are stopped by SIGTERM when test terminates.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 26 Sep 2008 18:24:28 +0400 |
parents | 1059c3002030 |
children | 0880e0fafde4 |
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. 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: 8080, 10025. 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.