dotnet-installer/test/EndToEnd/GivenDotnetUsesDotnetTools.cs
William Lee 08f050c012
bundled DotnetTool (#8606)
Extract packages to DotnetTools folder under sdk/{version}

Add new resolver to discover it

Add test to enforce package structure. It will fail when the structure
changed
2018-02-16 13:32:29 -08:00

17 lines
396 B
C#

using FluentAssertions;
using Microsoft.DotNet.Tools.Test.Utilities;
using Xunit;
namespace EndToEnd
{
public class GivenDotnetUsesDotnetTools : TestBase
{
[Fact]
public void ThenOneDotnetToolsCanBeCalled()
{
new DotnetCommand()
.ExecuteWithCapturedOutput("dev-certs --help")
.Should().Pass();
}
}
}