parent
325b849858
commit
a0060ac321
1 changed files with 6 additions and 0 deletions
|
@ -130,6 +130,12 @@ namespace Microsoft.DotNet.Cli.Test.Tests
|
||||||
String[] trxFiles = Directory.GetFiles(trxLoggerDirectory, "*.trx");
|
String[] trxFiles = Directory.GetFiles(trxLoggerDirectory, "*.trx");
|
||||||
Assert.Equal(1, trxFiles.Length);
|
Assert.Equal(1, trxFiles.Length);
|
||||||
result.StdOut.Should().Contain(trxFiles[0]);
|
result.StdOut.Should().Contain(trxFiles[0]);
|
||||||
|
|
||||||
|
// Cleanup trxLoggerDirectory if it exist
|
||||||
|
if(Directory.Exists(trxLoggerDirectory))
|
||||||
|
{
|
||||||
|
Directory.Delete(trxLoggerDirectory, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue