Class TestBuilder<TSyntax>.Asserted<TData, TResult>
- Namespace
- BunsenBurner
- Assembly
- BunsenBurner.dll
A TestBuilder<TSyntax> that has been arranged and acted and asserted against. This is a complete test and can be run
public sealed record TestBuilder<TSyntax>.Asserted<TData, TResult> : TestBuilder<TSyntax>, IEquatable<TestBuilder<TSyntax>>, IEquatable<TestBuilder<TSyntax>.Asserted<TData, TResult>>
Type Parameters
TData
type of
data
required to act on the TestBuilder<TSyntax>TResult
result
of acting
- Inheritance
-
TestBuilder<TSyntax>TestBuilder<TSyntax>.Asserted<TData, TResult>
- Implements
-
IEquatable<TestBuilder<TSyntax>>
- Inherited Members
- Extension Methods
Properties
- ActStep
Act step
- ArrangeStep
Arrange step
- AssertSequentially
Ensures that the assertions are run sequentially
- AssertStep
Assert step
- AutoDispose
Flag to indicate if the TestBuilder<TSyntax> should auto-dispose captured disposables
Methods
- And(Action<TData, TResult>)
Allows for additional asserting of test data
- And(Action<TResult>)
Allows for additional asserting of test data
- And(Func<TData, TResult, Task>)
Allows for additional asserting of test data
- And(Func<TResult, Task>)
Allows for additional asserting of test data
- And(Expression<Func<TData, TResult, bool>>)
Allows for additional asserting of test data
- And(Expression<Func<TResult, bool>>)
Allows for additional asserting of test data
- GetAwaiter()
Awaiter for a test so it can be run
- NoDisposal()
Disables auto disposal of captured disposables
- Run()
Runs the TestBuilder<TSyntax> definition of a test
- Sequential()
Ensures that the assertions are run sequentially, by default they are run in parallel
Operators
- implicit operator Task(Asserted<TData, TResult>)
Implicit conversion to a task so a test can be run