Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-01-15 | Tests: pathlib used where appropriate | Andrei Zeliankou | 1 | -1/+1 | |
Also fixed various pylint errors and style issues. | |||||
2023-11-08 | Tests: 8XXX used as default port range. | Andrei Zeliankou | 1 | -1/+1 | |
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 | -3/+3 | |
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-02-21 | Tests: switched to using f-strings. | Andrei Zeliankou | 1 | -17/+15 | |
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-12 | Tests: pretty output. | Andrei Zeliankou | 1 | -2/+4 | |
Hide expected alerts by default. Silence succesfull "go build" information. | |||||
2022-06-30 | Tests: minor improvements. | Andrei Zeliankou | 1 | -0/+5 | |
Added "go" availability check before trying to build an application. update_action() method used were possible and fixed bug with the relative path determination in test_static_chroot.py. Templates optimization and style fixes. | |||||
2022-04-11 | Tests: style. | Andrei Zeliankou | 1 | -3/+4 | |
2022-01-10 | Tests: using modules in Go. | Max Romanov | 1 | -11/+32 | |
2021-11-15 | Tests: refactored working with processes. | Andrei Zeliankou | 1 | -3/+2 | |
2021-05-25 | Go: fixing tests for Go 1.16. | Max Romanov | 1 | -0/+1 | |
In Go 1.16, the module-aware mode is enabled by default; to fall back to previous behavior, the GO111MODULE environment variable should be set to 'auto'. Details: https://golang.org/doc/go1.16 | |||||
2020-12-21 | Tests: introduced a separate cache directory for Go builds. | Tiago Natel de Moura | 1 | -0/+1 | |
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-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-11-16 | Tests: fixing tests interrupt in terminal. | Max Romanov | 1 | -0/+6 | |
KeyboardInterrupt re-raised. | |||||
2020-10-19 | Tests: fixed unit.log print. | Andrei Zeliankou | 1 | -5/+5 | |
2020-10-07 | Tests: minor fixes. | Andrei Zeliankou | 1 | -1/+1 | |
2020-10-01 | Tests: minor fixes. | Andrei Zeliankou | 1 | -15/+1 | |
Fixed temporary dir removing. Fixed printing path to log. Module checks moved to the separate file. | |||||
2020-09-16 | Tests: migrated to the pytest. | Andrei Zeliankou | 1 | -11/+12 | |
2020-05-28 | Tests: Added rootfs tests. | Tiago Natel de Moura | 1 | -29/+46 | |
2020-05-15 | Tests: style. | Andrei Zeliankou | 1 | -0/+1 | |
2020-03-10 | Tests: redirect tests output to the stdout. | Andrei Zeliankou | 1 | -2/+3 | |
2019-12-24 | Go: installing go module for tests into build directory. | Max Romanov | 1 | -1/+1 | |
2019-11-11 | Tests: added support for testing "user" and "group". | Tiago Natel | 1 | -2/+3 | |
2019-09-25 | Tests: fixed hanging of Go tests. | Andrey Zelenkov | 1 | -12/+18 | |
This closes #319 issue on GitHub. | |||||
2019-09-14 | Tests: refactored prerequisites model. | Andrey Zelenkov | 1 | -0/+13 | |
2019-09-16 | Tests: prepare_env() introduced. | Andrey Zelenkov | 1 | -8/+13 | |
2019-04-26 | Tests: check application configuration loading. | Andrey Zelenkov | 1 | -1/+1 | |
2019-04-22 | Tests: using "pass" option instead of deprecated "application". | Valentin Bartenev | 1 | -1/+1 | |
2019-03-28 | Tests: unit module refactoring. | Andrey Zelenkov | 1 | -0/+40 | |