Updated the version of microsoft.testplatform.cli package

This commit is contained in:
Faizan Ahmad 2016-11-02 18:11:36 +05:30
parent 9b92fe2336
commit 4af8d52a23
3 changed files with 5 additions and 5 deletions

View file

@ -97,7 +97,7 @@
<!-- Workaround for https://github.com/dotnet/sdk/issues/115 --> <!-- Workaround for https://github.com/dotnet/sdk/issues/115 -->
<ItemGroup> <ItemGroup>
<HackFilesToCopy Include="$(NuGetPackagesDir)\microsoft.build.runtime\15.1.0-preview-000370-00\contentFiles\any\netcoreapp1.0\**;$(NuGetPackagesDir)\microsoft.codeanalysis.build.tasks\2.0.0-beta6-60922-08\contentFiles\any\any\**;$(NuGetPackagesDir)\microsoft.testplatform.cli\15.0.0-preview-20161101-02\contentFiles\any\any\**" /> <HackFilesToCopy Include="$(NuGetPackagesDir)\microsoft.build.runtime\15.1.0-preview-000370-00\contentFiles\any\netcoreapp1.0\**;$(NuGetPackagesDir)\microsoft.codeanalysis.build.tasks\2.0.0-beta6-60922-08\contentFiles\any\any\**;$(NuGetPackagesDir)\microsoft.testplatform.cli\15.0.0-preview-20161102-02\contentFiles\any\any\**" />
</ItemGroup> </ItemGroup>
<Copy SourceFiles="@(HackFilesToCopy)" <Copy SourceFiles="@(HackFilesToCopy)"
DestinationFiles="@(HackFilesToCopy->'$(SdkOutputDirectory)/%(RecursiveDir)%(Filename)%(Extension)')" /> DestinationFiles="@(HackFilesToCopy->'$(SdkOutputDirectory)/%(RecursiveDir)%(Filename)%(Extension)')" />

View file

@ -33,7 +33,7 @@
<Version>4.0.0-rc-2037</Version> <Version>4.0.0-rc-2037</Version>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.TestPlatform.CLI"> <PackageReference Include="Microsoft.TestPlatform.CLI">
<Version>15.0.0-preview-20161101-02</Version> <Version>15.0.0-preview-20161102-02</Version>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.TestPlatform.Build"> <PackageReference Include="Microsoft.TestPlatform.Build">
<Version>15.0.0-preview-20161028-03</Version> <Version>15.0.0-preview-20161028-03</Version>

View file

@ -90,7 +90,7 @@ namespace Microsoft.DotNet.Cli.Test.Tests
// Call test // Call test
CommandResult result = new DotnetTestCommand() CommandResult result = new DotnetTestCommand()
.WithWorkingDirectory(testProjectDirectory) .WithWorkingDirectory(testProjectDirectory)
.ExecuteWithCapturedOutput(); .ExecuteWithCapturedOutput("--diag LogFile2.txt");
try try
{ {
@ -111,8 +111,8 @@ namespace Microsoft.DotNet.Cli.Test.Tests
Console.WriteLine("*********************************Xunit StdErr****************************************************************"); Console.WriteLine("*********************************Xunit StdErr****************************************************************");
Console.WriteLine(result.StdErr.ToString()); Console.WriteLine(result.StdErr.ToString());
string logfile1 = Path.Combine(testProjectDirectory, "LogFile.txt"); string logfile1 = Path.Combine(testProjectDirectory, "LogFile2.txt");
string[] logfile2 = Directory.GetFiles(testProjectDirectory, "LogFile.host.*"); string[] logfile2 = Directory.GetFiles(testProjectDirectory, "LogFile2.host.*");
Console.WriteLine("**********************************Xunit Vstest.console Log****************************************************************"); Console.WriteLine("**********************************Xunit Vstest.console Log****************************************************************");
Console.WriteLine(File.ReadAllText(logfile1)); Console.WriteLine(File.ReadAllText(logfile1));