summaryrefslogtreecommitdiffhomepage
path: root/test/test_php_application.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-07-17Tests: added PHP tests with "script" and "index" options.Andrey Zelenkov1-0/+39
2019-07-08Tests: added PATH_INFO variable test.Andrey Zelenkov1-1/+3
2019-07-05PHP: improved response status code handling.Valentin Bartenev1-0/+40
There's no reason to parse "http_status_line"; the PHP interpreter already does this. If the line contains a valid status code, it's assigned to "http_response_code". This also fixes invalid status line handling, where the nxt_int_parse() function returned -1; it was cast to unsigned, yielding response code 65535.
2019-05-30Tests: adjusted skipping tests.Andrey Zelenkov1-2/+1
2019-04-09Tests: speed up tests.Andrey Zelenkov1-0/+3
2019-04-09Tests: simplified module checking.Andrey Zelenkov1-2/+1
2019-03-28Tests: unit module refactoring.Andrey Zelenkov1-6/+5
2019-03-26Tests: style.Andrey Zelenkov1-121/+209
2019-03-01Tests: made tests compatible with PHP 5.3.Andrey Zelenkov1-3/+3
2019-02-28Tests: fixed PHP "disable_functions" and "disable_classes" tests.Andrey Zelenkov1-64/+54
2019-02-27Tests: added "Host" and "Connetion" headers where necessary.Andrey Zelenkov1-5/+7
Also minor header organizing.
2018-12-24Tests: more QUERY_STRING tests.Andrey Zelenkov1-0/+27
2018-11-28Tests: PHP directives "disable_classes" and "disable_functions".Andrey Zelenkov1-0/+110
2018-11-15Tests: added command line arguments parsing in tests.Andrey Zelenkov1-1/+1
Added the following command line arguments: -d, --detailed: Show detailed output for tests Usage examples: ./test/run.py --detailed python3 test/test_access_log.py --detailed python3 test/test_access_log.py -d TestUnitAccessLog.test_access_log_ipv6 -l, --log: Save unit.log after the test execution Usage examples: ./test/run.py -l python3 test/test_access_log.py -l python3 test/test_access_log.py --log TestUnitAccessLog.test_access_log_ipv6
2018-09-06Tests: used relative path for configuration.Andrey Zelenkov1-9/+9
2018-07-11Tests: more php.ini options tests.Andrey Zelenkov1-0/+74
2018-06-07Tests: added tests for "precision" option in php.ini.Andrey Zelenkov1-0/+12
2018-05-22Tests: initial PHP application tests.Andrey Zelenkov1-0/+122