Skip to content

Collecting Setup or Teardown Output

Tom Longhurst edited this page May 2, 2020 · 2 revisions

If you want specific setup or teardown output for each test to be included in your reports, you'll need to extend from one of the BDTestBase classes mentioned in this wiki, and use the methods below:

[SetUp]
public void Setup()
{
    WriteStartupOutput("Some relevant test setup information!");
}

[TearDown]
public void Teardown()
{
    WriteTearDownOutput("Some relevant test teardown information!");
}
Clone this wiki locally