summaryrefslogtreecommitdiffhomepage
path: root/test/test-manager/src/main.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-08-19Add --skip flag to test-managerJoakim Hulthe1-1/+6
2025-07-10Run `cargo fmt` in test-repoSebastian Holmin1-1/+1
2025-02-25Do not relaunch as root if only formatting test reportsMarkus Pettersson1-28/+21
2025-02-04Add CPU and memory config options to test frameworkDavid Lönnhager1-0/+3
2025-01-22Add `config` subcommand to `test-manager`Sebastian Holmin1-46/+82
Move vm subcommand into config subcommand Also change the `test-manager config vm list` command to just list configured VMs, instead of their configuration contents.
2025-01-22Add location overrides per test to test-manager configMarkus Pettersson1-2/+11
2025-01-08Fix bridge interface IP on macOSSebastian Holmin1-2/+14
The IP of the bridge interface was incorrectly assumed to be constant, but has at some point changed. This broke the algorithm for finding the bridge interface. Replace the algorithm with one based on the guest IP, which is given by `tart`. As the bridge IP is no longer constant, we also expose it through the `TEST_CONFIG`.
2024-12-17Fix TODOs by replacing triple type with a dedicated structMarkus Pettersson1-14/+16
2024-11-22Improve documentationSebastian Holmin1-1/+1
2024-11-18Add flag for overriding API environment in testsDavid Lönnhager1-1/+11
2024-08-16Run tests in the order givenSebastian Holmin1-30/+28
2024-08-16Refactor test cleanup logicSebastian Holmin1-3/+5
Cleanup is now done BEFORE tests are run and takes care of resetting the daemon state more thoroughly. The daemon will now always be installed, logged in and disconnected with all settings reset before the next test. Tests are therefore not able to depend on the previous test leaving the test-runner in a certain state and must instead take care of setting up their own state themselves. `test_upgrade_app` gets special treatment to be able to run before the new app version is automatically installed. Refactor `run_tests.rs`
2024-08-14Add `--test-runner-dir` flagSebastian Holmin1-1/+8
2024-08-12Replace OpenVPN CA certificate using CLI flagMarkus Pettersson1-18/+27
2024-08-09Restructure test scriptsSebastian Holmin1-4/+4
Split functionality `ci-runtest.sh` into multiple scripts. `test-by-version.sh` can be used to test against any version of the app available on the build servers. `test-utils.sh` contains shared logic. Rename `PACKAGES_DIR` env `PACKAGE_DIR`, it's more consistent with the new CLI flag.
2024-08-09Add `--gui-package` flagSebastian Holmin1-1/+9
2024-08-09Change VM config from positional arg to flagSebastian Holmin1-32/+29
2024-07-31Create testing config dir if it does not already existDavid Lönnhager1-6/+1
2024-07-19Rename `--previous-app` to `--app-package-to-upgrade-from`Sebastian Holmin1-7/+11
2024-07-19Rename `--current-app` to `--app-package`Sebastian Holmin1-7/+7
2024-07-19Refactor `get_app_manifes`Sebastian Holmin1-1/+0
Removing the async allowed the code to be greatly simplified, and likely doesn't impact performance anyway.
2024-07-19Replace implicit cache folder with `--package-folder` argSebastian Holmin1-12/+12
2024-07-19Clarify valid arguments for `--curent-app` and `--previous-app`Sebastian Holmin1-2/+11
2024-07-19Make previous app version and gui e2e binaries optionalSebastian Holmin1-9/+3
2024-04-10Add list-tests command to test-managerJoakim Hulthe1-0/+14
2024-04-09Run `cargo +nightly fmt`Sebastian Holmin1-3/+3
2024-02-07Add RPCs for running TCP forwarder on test runnerDavid Lönnhager1-1/+1
2024-02-07Move testing SOCKS server to own crateDavid Lönnhager1-29/+7
2024-02-07Add SOCKS5 server to test-managerDavid Lönnhager1-0/+31
2024-01-08Add 'skipped' status to test summaryDavid Lönnhager1-9/+13
2024-01-08Add 'target_os' attribute to test macroDavid Lönnhager1-0/+1
2023-10-20Add desktop end-to-end testsDavid Lönnhager1-0/+311
Co-authored-by: Jonathan <jonathan@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>