public void Jira_cat() { // arrange var testName = TestNameBasedOnCurrentTestMethod; // act Addin.TestStarted(testName); // assert Written .ShouldBeEquivalentTo(new[] { "Related JIRA Issue: CRT-123" }); }
public void Other_cat() { // arrange var testName = TestNameBasedOnCurrentTestMethod; // act Addin.TestStarted(testName); // assert Written .ShouldBeEquivalentTo(new[] { "Test Category: some other stuff" }); }
public void No_categories() { // arrange var testName = TestNameBasedOnCurrentTestMethod; // act Addin.TestStarted(testName); // assert Written .ShouldBeEquivalentTo(new[] { "Test Category: fixture level cat" }); }
public void Single_jira_category() { // arrange var testName = TestNameBasedOnCurrentTestMethod; // act Addin.TestStarted(testName); // assert Written .ShouldBeEquivalentTo(new[] { "Test Category: fixture level cat", "Related JIRA Issue: CRT-123" }); }
public void Suite_leval_cat_written_with_each_test() { // arrange var testName = TestNameBasedOnCurrentTestMethod; // act Addin.TestStarted(testName); Addin.TestStarted(testName); // assert Written .ShouldBeEquivalentTo(new[] { "Related JIRA Issue: CRT-123", "Related JIRA Issue: CRT-123" }); }