From e4732646031e12a7ab98c67dae2d0286bc4c0ec0 Mon Sep 17 00:00:00 2001 From: Matt Kotsenas Date: Thu, 6 Jun 2024 14:16:52 -0700 Subject: [PATCH 1/4] Move test packages to build slice --- Directory.Packages.props | 6 +----- build/targets/tests/Packages.props | 9 +++++++++ 2 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 build/targets/tests/Packages.props diff --git a/Directory.Packages.props b/Directory.Packages.props index 9bf954a54..369bcdd29 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -4,16 +4,12 @@ true + - - - - - \ No newline at end of file diff --git a/build/targets/tests/Packages.props b/build/targets/tests/Packages.props new file mode 100644 index 000000000..296889330 --- /dev/null +++ b/build/targets/tests/Packages.props @@ -0,0 +1,9 @@ + + + + + + + + + From 8da0592948c5dee28412aeb05284ffd9bd5c52c8 Mon Sep 17 00:00:00 2001 From: Matt Kotsenas Date: Thu, 6 Jun 2024 14:18:59 -0700 Subject: [PATCH 2/4] Update testing packages to latest versions --- build/targets/tests/Packages.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/targets/tests/Packages.props b/build/targets/tests/Packages.props index 296889330..fb93716fd 100644 --- a/build/targets/tests/Packages.props +++ b/build/targets/tests/Packages.props @@ -1,8 +1,8 @@ - + - + From 9e556093a3bddb0f26874597a96f33bcde01e7de Mon Sep 17 00:00:00 2001 From: Matt Kotsenas Date: Thu, 6 Jun 2024 14:37:59 -0700 Subject: [PATCH 3/4] Move default package references to build slice --- Source/Moq.Analyzers.Test/Moq.Analyzers.Test.csproj | 11 ++--------- build/targets/tests/Tests.props | 10 ++++++++++ 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/Source/Moq.Analyzers.Test/Moq.Analyzers.Test.csproj b/Source/Moq.Analyzers.Test/Moq.Analyzers.Test.csproj index 8469f2748..f23cac3e0 100644 --- a/Source/Moq.Analyzers.Test/Moq.Analyzers.Test.csproj +++ b/Source/Moq.Analyzers.Test/Moq.Analyzers.Test.csproj @@ -2,7 +2,8 @@ net8.0 - false + false + true @@ -18,16 +19,8 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - diff --git a/build/targets/tests/Tests.props b/build/targets/tests/Tests.props index 8c119d541..48fef5b37 100644 --- a/build/targets/tests/Tests.props +++ b/build/targets/tests/Tests.props @@ -1,2 +1,12 @@ + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + From 97ac2380f18e0acf97d6ab76117832f32c30048c Mon Sep 17 00:00:00 2001 From: Matt Kotsenas Date: Thu, 6 Jun 2024 14:40:46 -0700 Subject: [PATCH 4/4] Add parallel xUnit tests --- build/targets/tests/Packages.props | 1 + build/targets/tests/Tests.props | 1 + 2 files changed, 2 insertions(+) diff --git a/build/targets/tests/Packages.props b/build/targets/tests/Packages.props index fb93716fd..a05dbacbe 100644 --- a/build/targets/tests/Packages.props +++ b/build/targets/tests/Packages.props @@ -5,5 +5,6 @@ + diff --git a/build/targets/tests/Tests.props b/build/targets/tests/Tests.props index 48fef5b37..7583b1f54 100644 --- a/build/targets/tests/Tests.props +++ b/build/targets/tests/Tests.props @@ -1,5 +1,6 @@ +