summaryrefslogtreecommitdiffhomepage
path: root/test/test_php_basic.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-11-08Tests: 8XXX used as default port range.Andrei Zeliankou1-11/+11
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-14Tests: get rid of classes in test files.Andrei Zeliankou1-108/+115
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-12Tests: prerequisites checking reworked.Andrei Zeliankou1-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.
2021-01-14Tests: added missing checks for configuration results.Andrei Zeliankou1-11/+15
2020-09-16Tests: migrated to the pytest.Andrei Zeliankou1-93/+57
2020-04-24Tests: introduced module version specification in prerequisites.Andrei Zeliankou1-1/+1
2020-04-14Tests: minor fixes and style.Andrei Zeliankou1-48/+8
2019-09-14Tests: refactored prerequisites model.Andrey Zelenkov1-1/+1
2019-08-14Tests: fixed port reusing to avoid access issues.Andrey Zelenkov1-1/+1
2019-08-14Tests: added tests for deleting listeners and applications objects.Andrey Zelenkov1-0/+26
2019-04-22Tests: using "pass" option instead of deprecated "application".Valentin Bartenev1-9/+9
2019-04-09Tests: simplified module checking.Andrey Zelenkov1-2/+1
2019-03-28Tests: unit module refactoring.Andrey Zelenkov1-5/+4
2019-03-26Tests: style.Andrey Zelenkov1-56/+85
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-22/+22
2018-02-14Tests: removed unused code in unit.py.Andrey Zelenkov1-5/+2
2018-02-05Tests: adjusted check_version()'s.Andrey Zelenkov1-1/+4
2018-01-29Introducing extended app process management.Max Romanov1-9/+9
- Pre-fork 'processes.spare' application processes; - fork more processes to keep 'processes.spare' idle processes; - fork on-demand up to 'processes.max' count; - scale down idle application processes above 'processes.spare' after 'processes.idle_timeout'; - number of concurrently started application processes also limited by 'processes.spare' (or 1, if spare is 0).
2018-01-30Tests: added methods to manage unit configuration.Andrey Zelenkov1-52/+50
2018-01-24Tests: using "expectedFailure" decorator instead of assertTry().Andrey Zelenkov1-84/+62
2018-01-17Tests: using LF line ending for test files.Andrey Zelenkov1-166/+166
2018-01-10Tests: style.Andrey Zelenkov1-5/+2
2017-12-13Tests: removed unused decorators.Andrey Zelenkov1-2/+1
2017-12-06Tests: added basic PHP tests.Andrey Zelenkov1-0/+170