Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-01-15 | Tests: pathlib used where appropriate | Andrei Zeliankou | 1 | -0/+1 | |
Also fixed various pylint errors and style issues. | |||||
2023-11-08 | Tests: 8XXX used as default port range. | Andrei Zeliankou | 1 | -4/+4 | |
After the launch of the project, the testing infrastructure was shared with nginx project in some cases. To avoid port overlap, a decision was made to shift the port range for Unit tests. This problem was resolved a long time ago and is no longer relevant, so it is now safe to use port 8XXX range as the default, as it is more appropriate for testing purposes. | |||||
2023-06-14 | Tests: get rid of classes in test files. | Andrei Zeliankou | 1 | -408/+421 | |
Class usage came from the unittest framework and it was always redundant after migration to the pytest. This commit removes classes from files containing tests to make them more readable and understandable. | |||||
2023-06-12 | Tests: prerequisites checking reworked. | Andrei Zeliankou | 1 | -2/+2 | |
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check. | |||||
2023-05-29 | Tests: more fixtures. | Andrei Zeliankou | 1 | -11/+21 | |
Common methods from applications/proto.py converted to the fixtures. sysctl check moved to the specific file where it is using. Some options moved to the constructor to have early access. | |||||
2023-05-25 | Tests: removed unused variables. | Andrei Zeliankou | 1 | -3/+3 | |
2023-05-19 | Tests: added tests for "server_version" option. | Andrei Zeliankou | 1 | -0/+15 | |
2023-03-21 | Tests: added tests for the "log_route" option. | Andrei Zeliankou | 1 | -0/+154 | |
2023-02-21 | Tests: switched to using f-strings. | Andrei Zeliankou | 1 | -8/+5 | |
Previously, it was necessary to support older versions of Python for compatibility. F-strings were released in Python 3.6. Python 3.5 was marked as unsupported by the end of 2020, so now it's possible to start using f-strings safely for better readability and performance. | |||||
2022-12-13 | Tests: added tests for the large header buffer settings. | Andrei Zeliankou | 1 | -0/+60 | |
Added tests for the "large_header_buffer_size" and "large_header_buffers" configuration options. | |||||
2022-10-11 | Tests: don't try to return response when "no_recv" is True. | Andrei Zeliankou | 1 | -5/+3 | |
2022-04-11 | Tests: style. | Andrei Zeliankou | 1 | -15/+5 | |
2021-10-18 | Tests: style. | Andrei Zeliankou | 1 | -1/+0 | |
2021-05-24 | Tests: added additional check in tests with timeouts. | Andrei Zeliankou | 1 | -76/+119 | |
2021-05-24 | Tests: test_settings_send_timeout improved. | Andrei Zeliankou | 1 | -8/+17 | |
Data length adjusts depending on socket buffer size when it's possible. | |||||
2021-04-05 | Tests: style. | Andrei Zeliankou | 1 | -0/+1 | |
2021-01-13 | Tests: style. | Andrei Zeliankou | 1 | -2/+0 | |
2020-11-12 | Tests: added a test for "body_buffer_size" option. | Andrei Zeliankou | 1 | -0/+38 | |
2020-10-19 | Tests: fixed unit.log print. | Andrei Zeliankou | 1 | -2/+2 | |
2020-10-07 | Tests: minor fixes. | Andrei Zeliankou | 1 | -2/+3 | |
2020-09-27 | Tests: tuned delay in test_settings_idle_timeout_2. | Andrei Zeliankou | 1 | -1/+1 | |
2020-09-21 | Tests: added test for "idle_timeout" with empty payload. | Andrei Zeliankou | 1 | -0/+18 | |
2020-09-16 | Tests: migrated to the pytest. | Andrei Zeliankou | 1 | -36/+25 | |
2020-05-15 | Tests: style. | Andrei Zeliankou | 1 | -1/+2 | |
2020-04-24 | Tests: introduced module version specification in prerequisites. | Andrei Zeliankou | 1 | -1/+1 | |
2020-02-20 | Tests: more tests with "max_body_size". | Andrei Zeliankou | 1 | -0/+25 | |
2019-09-14 | Tests: refactored prerequisites model. | Andrey Zelenkov | 1 | -1/+1 | |
2019-05-30 | Tests: adjusted skipping tests. | Andrey Zelenkov | 1 | -1/+1 | |
2019-04-09 | Tests: speed up tests. | Andrey Zelenkov | 1 | -2/+2 | |
2019-04-09 | Tests: simplified module checking. | Andrey Zelenkov | 1 | -2/+1 | |
2019-03-28 | Tests: unit module refactoring. | Andrey Zelenkov | 1 | -4/+4 | |
2019-03-26 | Tests: style. | Andrey Zelenkov | 1 | -44/+99 | |
2019-02-27 | Tests: read_timeout option introduced. | Andrey Zelenkov | 1 | -9/+11 | |
Also, increased default select() timeout from 1s to 5s. | |||||
2019-02-27 | Tests: added "Host" and "Connetion" headers where necessary. | Andrey Zelenkov | 1 | -4/+5 | |
Also minor header organizing. | |||||
2019-02-14 | Tests: minor fixes. | Andrey Zelenkov | 1 | -2/+0 | |
2018-11-15 | Tests: added command line arguments parsing in tests. | Andrey Zelenkov | 1 | -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-17 | Tests: test_settings_header_read_timeout_update adjusted. | Andrey Zelenkov | 1 | -4/+9 | |
2018-09-06 | Tests: used relative path for configuration. | Andrey Zelenkov | 1 | -10/+9 | |
2018-09-04 | Tests: fixed test_settings_header_read_timeout_update. | Andrey Zelenkov | 1 | -4/+7 | |
2018-08-21 | Tests: more timeout tests. | Andrey Zelenkov | 1 | -0/+51 | |
2018-08-21 | Tests: typo. | Andrey Zelenkov | 1 | -1/+1 | |
2018-07-30 | Tests: expectedFailure removed from test_settings_idle_timeout. | Andrey Zelenkov | 1 | -1/+0 | |
Fix committed in f04b28aa6e02. | |||||
2018-07-30 | Tests: fixed test_settings_idle_timeout. | Andrey Zelenkov | 1 | -2/+2 | |
2018-07-30 | Tests: fixed header value char tests. | Andrey Zelenkov | 1 | -1/+1 | |
Use byte strings to avoid problems with encoding. | |||||
2018-07-13 | Tests: HTTP settings. | Andrey Zelenkov | 1 | -0/+116 | |