Add tests for invoking dotnet XX project.json from in

a folder that contains the project.
This commit is contained in:
Eric Erhardt 2016-04-26 17:22:09 -05:00
parent a070976671
commit e2dcb968eb
6 changed files with 87 additions and 0 deletions

View file

@ -43,6 +43,20 @@ namespace Microsoft.DotNet.Tools.Builder.Tests
.Pass();
}
[Fact]
public void It_builds_projects_with_a_local_project_json_path()
{
var testInstance = TestAssetsManager
.CreateTestInstance("TestAppSimple")
.WithLockFiles();
new BuildCommand("project.json")
.WithWorkingDirectory(testInstance.TestRoot)
.ExecuteWithCapturedOutput()
.Should()
.Pass();
}
[Fact]
public void It_builds_projects_with_xmlDoc_and_spaces_in_the_path()
{