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
This commit is contained in:
parent
f86ea50075
commit
08f050c012
16 changed files with 393 additions and 12 deletions
17
test/EndToEnd/GivenDotnetUsesDotnetTools.cs
Normal file
17
test/EndToEnd/GivenDotnetUsesDotnetTools.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
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();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue