Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas-Dorfer committed Jan 6, 2024
1 parent e119785 commit e907fa3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/AD.FsCheck.MSTest.Tests/CommandLineTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ protected async Task<string> Run(string testName, Fetch fetch)
static string CreateTestFileName() => Path.ChangeExtension(Path.GetTempFileName(), ".trx");

async Task RunCommandLineTest(string testName) =>
await Process.Start("dotnet", $@"test ..\..\..\. --no-build --environment {EnvironmentVariable}=true --logger ""trx;LogFileName={fileName}"" --filter ""FullyQualifiedName=AD.FsCheck.MSTest.Tests.{className}.{testName}""").WaitForExitAsync();
await Process.Start("dotnet", @"test ..\..\..\." +
#if RELEASE
" --configuration Release" +
#endif
$@" --no-build --environment {EnvironmentVariable}=true --logger ""trx;LogFileName={fileName}"" --filter ""FullyQualifiedName=AD.FsCheck.MSTest.Tests.{className}.{testName}""").WaitForExitAsync();

async Task<string> FetchTestOutput(Fetch fetch)
{
Expand Down

0 comments on commit e907fa3

Please sign in to comment.