Handling both mstest args and runsettings options after --
This commit is contained in:
parent
8d86e14d44
commit
245727183c
4 changed files with 42 additions and 28 deletions
|
@ -167,7 +167,7 @@ namespace Microsoft.DotNet.Cli.Test.Tests
|
|||
// Call test with logger enable
|
||||
CommandResult result = new DotnetTestCommand()
|
||||
.WithWorkingDirectory(testProjectDirectory)
|
||||
.ExecuteWithCapturedOutput(" --logger \"trx;logfilename=custom.trx\" -- RunConfiguration.ResultsDirectory=" + trxLoggerDirectory);
|
||||
.ExecuteWithCapturedOutput("--logger \"trx;logfilename=custom.trx\" -- RunConfiguration.ResultsDirectory=" + trxLoggerDirectory);
|
||||
|
||||
// Verify
|
||||
String[] trxFiles = Directory.GetFiles(trxLoggerDirectory, "*.trx");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue