Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-01-15 | Tests: pathlib used where appropriate | Andrei Zeliankou | 1 | -3/+3 | |
Also fixed various pylint errors and style issues. | |||||
2023-11-08 | Tests: 8XXX used as default port range. | Andrei Zeliankou | 1 | -3/+3 | |
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 | -154/+153 | |
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 | -42/+32 | |
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-25 | Tests: assertion related fixes. | Andrei Zeliankou | 1 | -15/+13 | |
2023-05-25 | Tests: removed unused variables. | Andrei Zeliankou | 1 | -2/+2 | |
2023-02-21 | Tests: switched to using f-strings. | Andrei Zeliankou | 1 | -7/+7 | |
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-14 | Tests: added tests for "path" option in isolation/cgroup. | Andrei Zeliankou | 1 | -0/+123 | |
2022-12-09 | Tests: fixed tests to run as privileged user. | Andrei Zeliankou | 1 | -6/+7 | |
2022-04-11 | Tests: style. | Andrei Zeliankou | 1 | -5/+2 | |
2021-10-18 | Tests: style. | Andrei Zeliankou | 1 | -1/+0 | |
2021-04-05 | Tests: style. | Andrei Zeliankou | 1 | -12/+6 | |
2021-01-13 | Tests: added test for "procfs" option. | Andrei Zeliankou | 1 | -0/+23 | |
2021-01-13 | Tests: "language_deps" option checked more carefully. | Andrei Zeliankou | 1 | -20/+12 | |
2021-01-13 | Tests: style. | Andrei Zeliankou | 1 | -2/+0 | |
2020-12-09 | Tests: isolation check moved to the pytest_sessionstart(). | Andrei Zeliankou | 1 | -17/+0 | |
This change eliminates the need for some classes to run Unit one more time before running tests. | |||||
2020-12-06 | Tests: options moved to the separate class. | Andrei Zeliankou | 1 | -1/+1 | |
This change is necessary to separate the logic and prevent possible circular dependency. | |||||
2020-10-29 | Isolation: mounting of procfs by default when using "rootfs". | Tiago Natel de Moura | 1 | -20/+32 | |
2020-10-19 | Tests: fixed unit.log print. | Andrei Zeliankou | 1 | -12/+21 | |
2020-10-07 | Tests: minor fixes. | Andrei Zeliankou | 1 | -1/+0 | |
2020-09-09 | PHP: fixed "rootfs" isolation dependency on system mounts. | Tiago Natel de Moura | 1 | -0/+30 | |
2020-09-16 | Tests: migrated to the pytest. | Andrei Zeliankou | 1 | -44/+32 | |
2020-05-28 | Tests: Added rootfs tests. | Tiago Natel de Moura | 1 | -0/+79 | |