summaryrefslogtreecommitdiffhomepage
path: root/test/test-runner
AgeCommit message (Collapse)AuthorFilesLines
2024-02-27Fix `clippy` lint 'suspicious_open_options'Markus Pettersson1-0/+2
2024-02-27Replace err_derive with thiserrorJoakim Hulthe2-3/+3
`err_derive` is unmaintained and will probably stop working with rust edition 2024. `thiserror` is almost a drop-in replacement. This commit simply replaces all occurences of `derive(err_derive::Error)` with `derive(thiserror::Error)` and fixes the attributes, but the Error and Display impls should be identical.
2024-02-07Add RPCs for running TCP forwarder on test runnerDavid Lönnhager2-0/+146
2024-02-01Set serial baud rate to zero on macOSLinus Färnstrand1-1/+6
2024-01-16Add rust-version to all Cargo.tomlLinus Färnstrand1-0/+1
2024-01-11Add package metadata to crates in testing frameworkLinus Färnstrand1-1/+5
Such as authors, repository, licence etc. And have all crates inherit from the workspace
2024-01-09Remove version and publish cargo metadataLinus Färnstrand1-1/+0
Since Rust 1.75.0 the `version` field is optional. The version defaults to "0.0.0" if it's not specified, and `publish` defaults to false if no version has been given. So by not specifying a version we get both `version = "0.0.0" and `publish = false` "for free"
2024-01-08Add 'target_os' attribute to test macroDavid Lönnhager1-5/+0
2024-01-04Fix code not following new linting rules in testing frameworkLinus Färnstrand1-2/+2
2024-01-04Add workspace level linting to test workspaceLinus Färnstrand1-0/+3
2023-12-15[Clippy] Fix unused `async`Markus Pettersson3-3/+4
2023-12-12Fix `stop_app` RPC for macosMarkus Pettersson1-1/+1
2023-12-06Remove superseded RPC for restarting the Mullvad system serviceMarkus Pettersson2-60/+24
The function `set_mullvad_daemon_service_state(on: bool) -> Result<(), test_rpc::Error>`, which would conditionally start or stop the Mullvad daemon in the test runner, has been superseded by two separate functions which accomplish the same thing: `start_mullvad_daemon` & `stop_mullvad_daemon`.
2023-12-06Implement RPC for reading & writing to app cache fileMarkus Pettersson5-52/+159
- Implement RPC for writing to a file in a test runner / guest VM. - Implement RPC for getting app cache directory - Implement RPC for restarting the app in a test runner / guest vm - Implement RPC for starting the app in a test runner / guest vm - Implement RPC for stopping the app in a test runner / guest vm - Implement `find_cache_traces` on Window & macOS
2023-11-22Obtain tunnel interface from management interface in testsDavid Lönnhager2-123/+57
2023-10-24Truncate log files in tests and ignore old logsDavid Lönnhager1-5/+32
2023-10-21Remove references to talpid-windows-net in e2e testsDavid Lönnhager2-7/+7
2023-10-20Add desktop end-to-end testsDavid Lönnhager7-0/+1898
Co-authored-by: Jonathan <jonathan@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>