Class StoryAttribute
Marks test fixture as a story tests.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class StoryAttribute : FixtureAttribute, IFixtureBuilder2, IFixtureBuilder
- Inheritance
-
StoryAttribute
- Implements
-
IFixtureBuilder2IFixtureBuilder
- Inherited Members
Constructors
StoryAttribute()
public StoryAttribute()
Properties
AsA
Gets or sets an 'As a...' description.
public string AsA { get; set; }
Property Value
- string
The 'As a...' description.
IWant
Gets or sets an 'I want...' description.
public string IWant { get; set; }
Property Value
- string
The 'I want..' description.
Id
Gets or sets an id of the story.
public string Id { get; set; }
Property Value
- string
The id of the story.
Properties
Gets the properties.
protected override IDictionary<string, object> Properties { get; }
Property Value
- IDictionary<string, object>
The properties.
SoThat
Gets or sets an 'So that...' description.
public string SoThat { get; set; }
Property Value
- string
The 'So that...' description.
Summary
Gets or sets a summary of a story.
public string Summary { get; set; }
Property Value
- string
A summary of a story.
TestName
Gets the name of the test.
protected override string TestName { get; }
Property Value
- string
The name of the test.