summaryrefslogtreecommitdiffhomepage
path: root/test/test-manager/test_macro/src
AgeCommit message (Collapse)AuthorFilesLines
2025-09-30Handle skip test_macro attribute as pathDavid Lönnhager1-24/+27
2025-09-30Add `skip` attribute to `test_function` macroMarkus Pettersson1-19/+30
2025-07-10Run `cargo fmt` in test-repoSebastian Holmin1-1/+1
2025-06-09Add ifconfig alias e2e testJoakim Hulthe1-1/+1
Co-Authored-By: David Lönnhager <david.l@mullvad.net>
2025-01-22Remove mullvad client version from macroSebastian Holmin1-95/+9
Replace `MullvadClientArgument` with `Option` Small refactor
2025-01-22Add location overrides per test to test-manager configMarkus Pettersson1-0/+1
2024-11-22Remove the `command` field of `TestMetadata`Sebastian Holmin1-1/+0
2024-08-16Remove `always_run` test macro parameterSebastian Holmin1-20/+3
2024-08-16Remove `must_succede` test macro parameterSebastian Holmin1-15/+2
This simplifes handling of test results.
2024-08-16Remove `cleanup` test macro parameterSebastian Holmin1-16/+2
2024-07-29Fix lints for Rust verson 1.80 in e2e testsSebastian Holmin1-23/+17
* Lower priority for lint group * doc list item missing indentation
2024-04-12Get rid of type casting for test function argumentMarkus Pettersson1-12/+8
Replace the `Box<dyn Any>` type for the third test function argument 'mullvad client' - replace it with a dedicated enum type `MullvadClientArgument`. This change got rid of the type casting from `Box<dyn Any>` to `MullvadProxyClient` done in the `test_function` macro.
2024-04-09Run `cargo +nightly fmt`Sebastian Holmin1-1/+1
2024-03-20Test leaking TCP/UDP/ICMP packets in split tunnelJoakim Hulthe1-16/+20
2024-03-20Refactor test_macro error handling without panicsJoakim Hulthe1-88/+105
2024-03-20Make e2e tests accept anyhow errorsJoakim Hulthe1-4/+4
2024-03-12Update test-manager dep `inventory`Joakim Hulthe1-5/+8
2024-01-15Use type safe Mullvad protobuf client over generated ditoMarkus Pettersson1-10/+10
Re-write some code in the test framework to prefer the type safe wrapper around the Mullvad app gRPC client instead of its auto-generated dito. `ManagementServiceClient` is automatically generated from the protobuf definitions found in `management_interface.proto`, and contains some very crude types. The `MullvadProxyClient` is a type-safe wrapper around `ManagementServiceClient` which performs conversions & validation of the data types from the gRPC server (the daemon) to their respective mappings in the `talpid-*` and `mullvad-*` crates. These types are more ergonomic to work with, and since we already have the conversions in place we should prefer those.
2024-01-08Add 'target_os' attribute to test macroDavid Lönnhager1-4/+27
2023-10-20Add desktop end-to-end testsDavid Lönnhager1-0/+278
Co-authored-by: Jonathan <jonathan@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>