Add tests for invoking dotnet XX project.json
from in
a folder that contains the project.
This commit is contained in:
parent
a070976671
commit
e2dcb968eb
6 changed files with 87 additions and 0 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue