summaryrefslogtreecommitdiffhomepage
path: root/test/unit.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-03-28Tests: unit module refactoring.Andrey Zelenkov1-841/+0
2019-03-26Tests: style.Andrey Zelenkov1-203/+281
2019-02-28Tests: specify ssl_version option.Andrey Zelenkov1-1/+13
TLS is explicitly selected to prevent using of SSL protocol in ssl.get_server_certificate() call for Python 3.4 and older.
2019-02-28Introducing Java Servlet Container beta.Max Romanov1-0/+66
2019-02-27Tests: read_timeout option introduced.Andrey Zelenkov1-3/+4
Also, increased default select() timeout from 1s to 5s.
2019-02-20Tests: skip sendmsg()/recvmsg() alerts for all tests.Andrey Zelenkov1-1/+2
Currently, these alerts may appear in the log when any application exits.
2019-02-20Tests: JSON array allowed.Andrey Zelenkov1-1/+1
2019-02-14Tests: headers with equal header fields allowed.Andrey Zelenkov1-1/+6
2019-02-14Tests: minor fixes.Andrey Zelenkov1-3/+3
2019-01-28Tests: removed blocking mode customization for sockets.Andrey Zelenkov1-5/+2
This customization was added in 0e12b17e512d and left unused. Also, set blocking mode by default for all sockets.
2018-12-25Tests: set TCP_NODELAY option by default.Andrey Zelenkov1-0/+3
2018-10-25Tests: Node.js application tests.Sergey Kandaurov1-0/+35
2018-11-15Tests: class prefix made optional.Andrey Zelenkov1-2/+6
2018-11-15Tests: added command line arguments parsing in tests.Andrey Zelenkov1-3/+41
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-11-13Tests: print path to unit.log file when it was saved.Andrey Zelenkov1-3/+14
2018-11-13Tests: leave unit.log in case of error or failure.Andrey Zelenkov1-1/+21
2018-10-09Renamed "go" application type to "external".Valentin Bartenev1-1/+1
There's nothing specific to Go language. This type of application object can be used to run any external application that utilizes libunit API.
2018-09-20Tests: TLS tests.Andrey Zelenkov1-4/+88
2018-09-06Tests: used relative path for configuration.Andrey Zelenkov1-6/+6
2018-09-04Tests: "no_recv" option introduced.Andrey Zelenkov1-2/+5
2018-09-04Tests: "/config" prefix used.Andrey Zelenkov1-3/+12
2018-08-06Tests: remove unused function.Andrey Zelenkov1-6/+0
This function was accidentally added in e0f0cd7d244a.
2018-08-06Unit application library.Max Romanov1-1/+7
Library now used in all language modules. Old 'nxt_app_*' code removed. See src/test/nxt_unit_app_test.c for usage sample.
2018-07-30Tests: fixed header value char tests.Andrey Zelenkov1-2/+3
Use byte strings to avoid problems with encoding.
2018-07-13Tests: HTTP settings.Andrey Zelenkov1-3/+8
2018-06-08Tests: Go application tests.Andrey Zelenkov1-5/+53
2018-06-07Tests: added tests for "precision" option in php.ini.Andrey Zelenkov1-0/+1
2018-05-22Tests: initial PHP application tests.Andrey Zelenkov1-0/+18
2018-04-26Tests: response handling improved.Andrey Zelenkov1-4/+8
2018-04-23Tests: removed alert skips after b6ca49c1da1b.Andrey Zelenkov1-3/+0
2018-04-18Tests: re-opening access log file.Andrey Zelenkov1-4/+4
2018-04-18Tests: graceful shutdown.Andrey Zelenkov1-1/+1
2018-04-04Tests: fixed unwanted comment in a11b80dedc6b.Andrey Zelenkov1-2/+2
2018-04-02Tests: more Python tests.Andrey Zelenkov1-2/+3
2018-04-02Tests: use "%Z" directive while parsing Date header.Andrey Zelenkov1-1/+1
2018-03-21Tests: Ruby module.Andrey Zelenkov1-3/+40
2018-03-06Tests: detect alerts and Sanitizer errors.Andrey Zelenkov1-0/+37
2018-02-26Tests: more configuration tests.Andrey Zelenkov1-1/+1
2018-02-26Tests: more perl tests.Andrey Zelenkov1-1/+7
2018-02-20Tests: handle ConnectionRefusedError in TestUnitHTTP.http().Andrey Zelenkov1-4/+6
2018-02-20Tests: reworked python tests with application.Andrey Zelenkov1-11/+26
2018-02-14Tests: removed unused code in unit.py.Andrey Zelenkov1-17/+3
2018-02-12Tests: perl module.Andrey Zelenkov1-0/+22
2018-02-05Tests: added "Connection: close" header for default requests.Andrey Zelenkov1-1/+6
2018-01-30Tests: reworked TestUnitHTTP.Andrey Zelenkov1-64/+109
2018-01-30Tests: added methods to manage unit configuration.Andrey Zelenkov1-3/+15
2018-01-24Tests: using "expectedFailure" decorator instead of assertTry().Andrey Zelenkov1-4/+0
2018-01-17Tests: using LF line ending for test files.Andrey Zelenkov1-236/+236
2018-01-15Tests: use "data" parameter in Request() to send body.Andrey Zelenkov1-6/+4
2018-01-15Tests: style.Andrey Zelenkov1-13/+6