nginx test

Xiaochen Wang wangxiaochen0 at gmail.com
Wed Nov 5 11:54:14 UTC 2014


On Wed, Nov 5, 2014 at 3:02 PM, Steven Lu <lus at vmware.com> wrote:
> Thanks. This is what I want. But the readme is pretty simple. Are there
> any complete document guiding me to run them?

The document has clarified how to run test cases actually.
You might want to know how to do unit testing in perl.
All these cases in this project are written in perl and runned with
the 'prove' command.

>
> More questions about the tests:
> 1. Do I need to install several web servers to test nginx reverse proxy
> features, or the test suites can simulate the web servers?

Test suites will start nginx listening on port 8080 or other ports.

> 2. Any test tools for performance tests?
>
>
>
> On 11/5/14, 2:39 PM, "Xiaochen Wang" <wangxiaochen0 at gmail.com> wrote:
>
>>On Wed, Nov 5, 2014 at 1:44 PM, Steven Lu <lus at vmware.com> wrote:
>>> Hello
>>>
>>> I am looking for some test tools, test cases, test dataset for nginx to
>>>test
>>> if my changes introduce any regression issues. But I did not find them
>>>in
>>> the nginx community. Can anyone point me where I can find them if there
>>>are?
>>
>>You can get nginx test cases in
>>https://urldefense.proofpoint.com/v2/url?u=http-3A__hg.nginx.org_nginx-2Dt
>>ests_&d=AAICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=nroUCl0O45S
>>8LSaw43T8uA&m=fBeKEbQYLQxyiQmAudxuu5z5mxY89qENqZ4-Ch9UkpU&s=rFjB9IrZtWmT5b
>>xK-qsXPbqBTF8wLUOxWgUHZRJ_g-A&e= .
>>And the README file in this project will tell you how to run these cases.
>>
>>
>>> If no, how to do something like pre-commit test for nginx?
>>>
>>> Thanks
>>> Steven
>>>
>>> _______________________________________________
>>> nginx-devel mailing list
>>> nginx-devel at nginx.org
>>>
>>>https://urldefense.proofpoint.com/v2/url?u=http-3A__mailman.nginx.org_mai
>>>lman_listinfo_nginx-2Ddevel&d=AAICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihV
>>>MNtXt-uEs&r=nroUCl0O45S8LSaw43T8uA&m=fBeKEbQYLQxyiQmAudxuu5z5mxY89qENqZ4-
>>>Ch9UkpU&s=GhOZNLYqqu4xGr-JnLGUVvY58b07WKh0PhwSzkNAwX8&e=
>>
>>_______________________________________________
>>nginx-devel mailing list
>>nginx-devel at nginx.org
>>https://urldefense.proofpoint.com/v2/url?u=http-3A__mailman.nginx.org_mail
>>man_listinfo_nginx-2Ddevel&d=AAICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMN
>>tXt-uEs&r=nroUCl0O45S8LSaw43T8uA&m=fBeKEbQYLQxyiQmAudxuu5z5mxY89qENqZ4-Ch9
>>UkpU&s=GhOZNLYqqu4xGr-JnLGUVvY58b07WKh0PhwSzkNAwX8&e=
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel



More information about the nginx-devel mailing list