ZplAssertionException
public sealed class ZplAssertionException : ExceptionThrown when a label assertion fails. Works with every test framework (any exception fails a test); see ZplAssertSettings.ExceptionFactory and ZplTestFrameworks to throw the framework's own assertion exception instead. ZplAssertionException.Failures holds the structured results.
Constructors
| Signature | Description |
|---|---|
# ZplAssertionException(IReadOnlyList<ZplAssertionFailure> failures) | Creates the exception for one or more failures. |
Properties
| Property | Type | Description |
|---|---|---|
Failures { get; } | IReadOnlyList<ZplAssertionFailure> | Every failure (more than one inside a ZplAssertionScope). |

