summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2024-01-11 15:51:25 +0100
committerLinus Färnstrand <linus@mullvad.net>2024-01-11 15:51:25 +0100
commitcd6fb1edeaac50452a788ee6b160b3184874b99d (patch)
tree06bb446623e4d359d4878d3a6a5be0fc67463a81 /test
parent27ed9a273d106fcd75da855bfade7d04812dd042 (diff)
downloadmullvadvpn-cd6fb1edeaac50452a788ee6b160b3184874b99d.tar.xz
mullvadvpn-cd6fb1edeaac50452a788ee6b160b3184874b99d.zip
Add package metadata to crates in testing framework
Such as authors, repository, licence etc. And have all crates inherit from the workspace
Diffstat (limited to 'test')
-rw-r--r--test/Cargo.toml6
-rw-r--r--test/test-manager/Cargo.toml6
-rw-r--r--test/test-manager/test_macro/Cargo.toml10
-rw-r--r--test/test-rpc/Cargo.toml6
-rw-r--r--test/test-runner/Cargo.toml6
5 files changed, 27 insertions, 7 deletions
diff --git a/test/Cargo.toml b/test/Cargo.toml
index 3f8e2d056e..f0fcf85123 100644
--- a/test/Cargo.toml
+++ b/test/Cargo.toml
@@ -1,3 +1,9 @@
+[workspace.package]
+authors = ["Mullvad VPN"]
+repository = "https://github.com/mullvad/mullvadvpn-app/"
+license = "GPL-3.0"
+edition = "2021"
+
[workspace]
resolver = "2"
members = [
diff --git a/test/test-manager/Cargo.toml b/test/test-manager/Cargo.toml
index ffba39bae0..fafad46174 100644
--- a/test/test-manager/Cargo.toml
+++ b/test/test-manager/Cargo.toml
@@ -1,6 +1,10 @@
[package]
name = "test-manager"
-edition = "2021"
+description = "Manager process orchestrating e2e tests of the Mullvad VPN app"
+authors.workspace = true
+repository.workspace = true
+license.workspace = true
+edition.workspace = true
[lints]
workspace = true
diff --git a/test/test-manager/test_macro/Cargo.toml b/test/test-manager/test_macro/Cargo.toml
index 4942a8af48..b38af3c785 100644
--- a/test/test-manager/test_macro/Cargo.toml
+++ b/test/test-manager/test_macro/Cargo.toml
@@ -1,9 +1,13 @@
+[package]
+name = "test_macro"
+authors.workspace = true
+repository.workspace = true
+license.workspace = true
+edition.workspace = true
+
[lib]
proc-macro = true
-[package]
-name = "test_macro"
-edition = "2021"
[dependencies]
syn = "1.0"
diff --git a/test/test-rpc/Cargo.toml b/test/test-rpc/Cargo.toml
index 9599585942..14cd2b4cca 100644
--- a/test/test-rpc/Cargo.toml
+++ b/test/test-rpc/Cargo.toml
@@ -1,8 +1,10 @@
[package]
name = "test-rpc"
-version = "0.1.0"
-edition = "2021"
description = "Supports IPC between test-runner and test-manager"
+authors.workspace = true
+repository.workspace = true
+license.workspace = true
+edition.workspace = true
[lints]
workspace = true
diff --git a/test/test-runner/Cargo.toml b/test/test-runner/Cargo.toml
index cb92a35513..ab8c65fdf0 100644
--- a/test/test-runner/Cargo.toml
+++ b/test/test-runner/Cargo.toml
@@ -1,6 +1,10 @@
[package]
name = "test-runner"
-edition = "2021"
+description = "Runs inside the VM where the Mullvad VPN app is being tested"
+authors.workspace = true
+repository.workspace = true
+license.workspace = true
+edition.workspace = true
[lints]
workspace = true