Skip to content

Commit

Permalink
InRule#76. Cleaning TestInRuleFromFolderConvention from Inconclusive …
Browse files Browse the repository at this point in the history
…assertion duplication
  • Loading branch information
matei-tm committed Feb 21, 2021
1 parent a47a7f2 commit 83c7a1c
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,8 @@ public void TestInRuleTestSuiteFromCsvDataSource()
public void TestInRuleFromFolderConvention(string ruleApp, string testSuite, string ruleAppFilePath, string testSuiteFilePath)
{
TestContext.WriteLine($"{ruleApp} - {testSuite}");
if (string.IsNullOrEmpty(testSuite))
{
Assert.Inconclusive($"TestSuite does not exist for {ruleApp}");
}
else
{
ExecuteInRuleTestSuite(ruleAppFilePath, testSuiteFilePath);
}

ExecuteInRuleTestSuite(ruleAppFilePath, testSuiteFilePath);
}
}
}

0 comments on commit 83c7a1c

Please sign in to comment.