ShouldlyExtensions Class
Provides extensions for testing using the Shouldly-style fluent assertions.
public static class ShouldlyExtensions
- Namespace
- Spectre
.Console .Testing
Methods
-
static T And
<T> (T, Action <T> ) - Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.