Skip to content

Story Text Attribute

Tom Longhurst edited this page Apr 27, 2020 · 4 revisions

The [StoryText] attribute is designed for outputting a human readable description of why we have created a group of tests. Who do they benefit and why are they needed?

Annotate your test classes with a [StoryText] attribute

[Story(AsA = "Test User",
    IWant = "To Test",
    SoThat = "Things Work")]
public class MyTests : BDTestBase
{
    ...
}
Clone this wiki locally