summaryrefslogtreecommitdiffhomepage
path: root/test/conftest.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-10-18Tests: style.Andrei Zeliankou1-1/+0
2021-08-11Tests: initialising log params before first _print_log().Max Romanov1-2/+3
2021-08-11Tests: retrying directory remove if resource is busy.Max Romanov1-1/+8
2021-07-06Tests: print_log_on_assert() decorator introduced.Andrei Zeliankou1-73/+82
2021-06-28Tests: renamed share to static.Andrei Zeliankou1-1/+1
Also minor style changes.
2021-05-17Tests: fixed incorrect "--restart" mode performing.Andrei Zeliankou1-4/+6
2021-05-11Tests: temporary dir removed after tests execution.Andrei Zeliankou1-0/+6
2021-05-05Tests: added tests for openat2() features.Andrei Zeliankou1-0/+2
2021-04-14Tests: fixed "skip" descriptors check flag for controller.Andrei Zeliankou1-1/+1
2021-04-08Tests: preserving unit.log when run without restart.Max Romanov1-27/+12
Introducing "unit.log.Log" class for "unit.log" file management. Moving "findall()" function into TestApplicationProto. Using "os.kill()" to send signals.
2021-04-05Tests: style.Andrei Zeliankou1-15/+23
2021-03-31Tests: added file descriptor leak detection.Andrei Zeliankou1-0/+128
2021-02-23Tests: fixed tests to work without openssl support.Andrei Zeliankou1-0/+3
2021-02-18Tests: added regex check.Andrei Zeliankou1-0/+2
2021-02-15Tests: clear certificates after each test.Andrei Zeliankou1-8/+29
2021-02-08Tests: added "--restart" option.Andrei Zeliankou1-19/+94
Now Unit do not restart after each test by default.
2021-01-13Tests: style.Andrei Zeliankou1-3/+1
2021-01-08Tests: fixed test_respawn.py to act upon test processes.Tiago Natel de Moura1-0/+4
Running `test_respawn_` test cases on a machine with Unit daemon in background would fail tests because `ps ax` was used without filtering out other unit instances. This patch also prevents from tests killing other Unit processes not related to tests.
2020-12-23Tests: ability to run unitd with specified "--user" option.Andrei Belov1-19/+27
2020-12-21Tests: introduced a separate cache directory for Go builds.Tiago Natel de Moura1-0/+4
The Go compiler can't detect changes to C header files when compiling CGO applications, and then this leads to Go test samples being linked with wrong libunit. This patch creates a new cache directory reused throughout the test suite.
2020-12-12Tests: hyphen sign used unstead of underscore as more common.Andrei Zeliankou1-2/+2
2020-12-09Tests: TestUnit class removed.Andrei Zeliankou1-0/+34
Prerequisite checks moved to the fixture in conftest.py.
2020-12-09Tests: isolation check moved to the pytest_sessionstart().Andrei Zeliankou1-0/+4
This change eliminates the need for some classes to run Unit one more time before running tests.
2020-12-08Tests: skip_alert() converted to the fixture.Andrei Zeliankou1-5/+9
2020-12-08Tests: utils module introduced.Andrei Zeliankou1-49/+2
2020-12-06Tests: options moved to the separate class.Andrei Zeliankou1-4/+9
This change is necessary to separate the logic and prevent possible circular dependency.
2020-11-16Tests: fixing tests interrupt in terminal.Max Romanov1-1/+10
KeyboardInterrupt re-raised.
2020-11-16Tests: making available versions unique.Max Romanov1-4/+3
2020-10-28Tests: improving get_application_type() and fixing its name.Max Romanov1-1/+3
This patch also enables multiversion tests running for Java.
2020-10-19Tests: fixed unit.log print.Andrei Zeliankou1-20/+117
2020-10-07Tests: minor fixes.Andrei Zeliankou1-2/+3
2020-10-05Tests: pretty versions output for multi-version tests.Max Romanov1-3/+3
2020-10-01Tests: minor fixes.Andrei Zeliankou1-6/+27
Fixed temporary dir removing. Fixed printing path to log. Module checks moved to the separate file.
2020-09-24Tests: prerequisites check improved by using callable.Max Romanov1-15/+23
This is required for more flexible Python version check since ASGI works for Python 3.5+. Version check via 'startswith()' function removed as not consistent.
2020-09-16Tests: migrated to the pytest.Andrei Zeliankou1-0/+299