diff --git a/Directory.Packages.props b/Directory.Packages.props
index 20e6903..af4711d 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -10,14 +10,7 @@
-
-
- runtime; build; native; contentfiles; analyzers; buildtransitive
- all
-
-
- runtime; build; native; contentfiles; analyzers; buildtransitive
- all
-
+
+
\ No newline at end of file
diff --git a/global.json b/global.json
new file mode 100644
index 0000000..9009caf
--- /dev/null
+++ b/global.json
@@ -0,0 +1,5 @@
+{
+ "test": {
+ "runner": "Microsoft.Testing.Platform"
+ }
+}
diff --git a/test.sh b/test.sh
index dee3f19..99590de 100755
--- a/test.sh
+++ b/test.sh
@@ -3,10 +3,10 @@
rm TestResults -rf 2> /dev/null
rm coverage-report -rf 2> /dev/null
-dotnet test --results-directory ./TestResults --collect:"XPlat Code Coverage"
+dotnet test --results-directory ./TestResults --coverage --coverage-output-format cobertura
+reportgenerator -reports:"TestResults/**/*.cobertura.xml" -targetdir:coverage-report -reporttypes:Html
-reportgenerator -reports:"TestResults/*/coverage.cobertura.xml" -targetdir:coverage-report -reporttypes:Html
rm TestResults -rf 2> /dev/null
xdg-open coverage-report/index.htm
diff --git a/tests/PerformantReflection.UnitTests/PerformantReflection.UnitTests.csproj b/tests/PerformantReflection.UnitTests/PerformantReflection.UnitTests.csproj
index d0218eb..9c84efc 100644
--- a/tests/PerformantReflection.UnitTests/PerformantReflection.UnitTests.csproj
+++ b/tests/PerformantReflection.UnitTests/PerformantReflection.UnitTests.csproj
@@ -7,14 +7,7 @@
-
- runtime; build; native; contentfiles; analyzers; buildtransitive
- all
-
-
- runtime; build; native; contentfiles; analyzers; buildtransitive
- all
-
+