Namespace BunsenBurner
Namespaces
Classes
- ArrangeActAssert
Static class to support ArrangeActAssertSyntax keywords
- GivenWhenThen
Static class to support GivenWhenThenSyntax keywords
- TestBuilder<TSyntax>
A TestBuilder<TSyntax> defines a blueprint for an executable test.
When complete, can have up to 2 generic parameters,
- Data - the `data` required before acting
- Result - the `result` of acting to assert against
This construct can represent any single test, and provides the foundation for building tests as data.
TestBuilder<TSyntax> will also manage disposal of all `data` and `result` values that are used as long as they implement IDisposable or IAsyncDisposable.
- TestBuilder<TSyntax>.Acted<TData, TResult>
A TestBuilder<TSyntax> that has been arranged and acted on ready for assertions
- TestBuilder<TSyntax>.Arranged<TData>
A TestBuilder<TSyntax> that has been arranged and is ready to act on
- TestBuilder<TSyntax>.Asserted<TData, TResult>
A TestBuilder<TSyntax> that has been arranged and acted and asserted against. This is a complete test and can be run
Structs
- ArrangeActAssertSyntax
Arrange, act, assert style syntax
- GivenWhenThenSyntax
Given, when, then style tests used in Behaviour Driven Development
Interfaces
- ISyntax<TThis>
Supported syntax for the TestBuilder<TSyntax>