Enable VB dotnet new test cases
This commit is contained in:
parent
c819188efb
commit
3b180f49ba
1 changed files with 4 additions and 7 deletions
|
@ -25,18 +25,15 @@ namespace Microsoft.DotNet.New.Tests
|
|||
[InlineData("F#", "mstest", false)]
|
||||
[InlineData("F#", "xunit", false)]
|
||||
[InlineData("F#", "mvc", true)]
|
||||
[InlineData("VB", "console", false)]
|
||||
[InlineData("VB", "classlib", false)]
|
||||
[InlineData("VB", "mstest", false)]
|
||||
[InlineData("VB", "xunit", false)]
|
||||
public void TemplateRestoresAndBuildsWithoutWarnings(
|
||||
string language,
|
||||
string projectType,
|
||||
bool useNuGetConfigForAspNet)
|
||||
{
|
||||
if (language == "F#" && !EnvironmentInfo.HasSharedFramework("netcoreapp1.0"))
|
||||
{
|
||||
// F# requires netcoreapp1.0 to be present in order to build
|
||||
// https://github.com/dotnet/netcorecli-fsc/issues/76
|
||||
return;
|
||||
}
|
||||
|
||||
string rootPath = TestAssetsManager.CreateTestDirectory(identifier: $"{language}_{projectType}").Path;
|
||||
|
||||
new TestCommand("dotnet") { WorkingDirectory = rootPath }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue