Added method GetSemiColonEscapedArgs
This commit is contained in:
parent
245727183c
commit
19d919a640
2 changed files with 23 additions and 3 deletions
|
@ -101,7 +101,7 @@ namespace Microsoft.DotNet.Cli.Test.Tests
|
|||
|
||||
[Fact]
|
||||
public void TestWillCreateTrxLogger()
|
||||
{
|
||||
{
|
||||
// Copy VSTestDotNetCore project in output directory of project dotnet-vstest.Tests
|
||||
string testAppName = "VSTestDotNetCore";
|
||||
TestInstance testInstance = TestAssetsManager.CreateTestInstance(testAppName);
|
||||
|
@ -170,7 +170,7 @@ namespace Microsoft.DotNet.Cli.Test.Tests
|
|||
.ExecuteWithCapturedOutput("--logger \"trx;logfilename=custom.trx\" -- RunConfiguration.ResultsDirectory=" + trxLoggerDirectory);
|
||||
|
||||
// Verify
|
||||
String[] trxFiles = Directory.GetFiles(trxLoggerDirectory, "*.trx");
|
||||
String[] trxFiles = Directory.GetFiles(trxLoggerDirectory, "custom.trx");
|
||||
Assert.Equal(1, trxFiles.Length);
|
||||
result.StdOut.Should().Contain(trxFiles[0]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue