Only test winforms/wpf templates on Windows
This commit is contained in:
parent
7d3fd28fc4
commit
32627d01d2
1 changed files with 13 additions and 2 deletions
|
@ -63,13 +63,24 @@ namespace EndToEnd.Tests
|
|||
[Theory]
|
||||
[InlineData("console")]
|
||||
[InlineData("classlib")]
|
||||
[InlineData("wpf")]
|
||||
[InlineData("winforms")]
|
||||
[InlineData("mstest")]
|
||||
[InlineData("nunit")]
|
||||
[InlineData("web")]
|
||||
[InlineData("mvc")]
|
||||
public void ItCanBuildTemplates(string templateName)
|
||||
{
|
||||
TestTemplateBuild(templateName);
|
||||
}
|
||||
|
||||
[WindowsOnlyTheory]
|
||||
[InlineData("wpf")]
|
||||
[InlineData("winforms")]
|
||||
public void ItCanBuildDesktopTemplates(string templateName)
|
||||
{
|
||||
TestTemplateBuild(templateName);
|
||||
}
|
||||
|
||||
private void TestTemplateBuild(string templateName)
|
||||
{
|
||||
var directory = TestAssets.CreateTestDirectory(identifier: templateName);
|
||||
string projectDirectory = directory.FullName;
|
||||
|
|
Loading…
Reference in a new issue