Update EndToEnd tests for 5.0 templates
This commit is contained in:
parent
7ddc5746f3
commit
d6516293c0
1 changed files with 2 additions and 7 deletions
|
@ -36,9 +36,7 @@ namespace EndToEnd.Tests
|
||||||
var runCommand = new RunCommand()
|
var runCommand = new RunCommand()
|
||||||
.WithWorkingDirectory(projectDirectory)
|
.WithWorkingDirectory(projectDirectory)
|
||||||
.ExecuteWithCapturedOutput()
|
.ExecuteWithCapturedOutput()
|
||||||
// Templates are still at 3.1 and will not run on 5.0, revert to commented out assertion when 5.0 templates land
|
.Should().Pass().And.HaveStdOutContaining("Hello World!");
|
||||||
//.Should().Pass().And.HaveStdOutContaining("Hello World!");
|
|
||||||
.Should().Fail().And.HaveStdErrContaining("https://aka.ms/dotnet-core-applaunch");
|
|
||||||
|
|
||||||
var binDirectory = new DirectoryInfo(projectDirectory).Sub("bin");
|
var binDirectory = new DirectoryInfo(projectDirectory).Sub("bin");
|
||||||
binDirectory.Should().HaveFilesMatching("*.dll", SearchOption.AllDirectories);
|
binDirectory.Should().HaveFilesMatching("*.dll", SearchOption.AllDirectories);
|
||||||
|
@ -80,10 +78,7 @@ namespace EndToEnd.Tests
|
||||||
var runCommand = new RunCommand()
|
var runCommand = new RunCommand()
|
||||||
.WithWorkingDirectory(projectDirectory)
|
.WithWorkingDirectory(projectDirectory)
|
||||||
.ExecuteWithCapturedOutput()
|
.ExecuteWithCapturedOutput()
|
||||||
// Templates are still at 3.1 and will not run on 5.0, revert to commented out assertion when 5.0 templates land
|
.Should().Pass().And.HaveStdOutContaining("Hello World!");
|
||||||
//.Should().Pass().And.HaveStdOutContaining("Hello World!");
|
|
||||||
.Should().Fail().And.HaveStdErrContaining("https://aka.ms/dotnet-core-applaunch");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[Theory]
|
[Theory]
|
||||||
|
|
Loading…
Reference in a new issue