diff --git a/.config/global.json b/.config/global.json index 2948868..589e777 100644 --- a/.config/global.json +++ b/.config/global.json @@ -1,5 +1,7 @@ { "sdk": { - "version": "6.0.402" + "version": "6.0.402", + "rollForward": "latestMinor", + "allowPrerelease": true } } \ No newline at end of file diff --git a/README.md b/README.md index 547956b..cc0bff2 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ docker run joaoopereira/dotnet-test-rerun [somepathtodll] [OPTIONS] | `--deleteReports` | Delete the generated report files. | | `--collect` | Enables data collector for the test run. Example: --collect "Code Coverage" or --collect "XPlat Code Coverage" | | `--mergeCoverageFormat` | Output coverage format. Possible values: Coverage, Cobertura or Xml. It requires dotnet coverage tool to be installed. | +| `--environment, -e` | Sets the value of an environment variable. Can be set multiple times. | | `--inlineRunSettings` | Allow the configuration of inline run settings. | diff --git a/src/global.json b/src/global.json deleted file mode 100644 index da66b44..0000000 --- a/src/global.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "sdk": { - "version": "6.0.0", - "rollForward": "latestMinor", - "allowPrerelease": true - } -} \ No newline at end of file diff --git a/test/dotnet-test-rerun.IntegrationTests/DotNetTestRerunTests.cs b/test/dotnet-test-rerun.IntegrationTests/DotNetTestRerunTests.cs index aeae2b2..9d9baa4 100644 --- a/test/dotnet-test-rerun.IntegrationTests/DotNetTestRerunTests.cs +++ b/test/dotnet-test-rerun.IntegrationTests/DotNetTestRerunTests.cs @@ -15,13 +15,11 @@ namespace dotnet_test_rerun.IntegrationTests; public class DotNetTestRerunTests { - private readonly ITestOutputHelper TestOutputHelper; private static string _dir = TestUtilities.GetTmpDirectory(); private static readonly IFileSystem FileSystem = new FileSystem(); public DotNetTestRerunTests(ITestOutputHelper testOutputHelper) { - TestOutputHelper = testOutputHelper; TestUtilities.CopyFixture(string.Empty, new DirectoryInfo(_dir)); }