Class AllException
Exception thrown when an All assertion has one or more items fail an assertion.
Namespace: Xunit.Sdk
Assembly: xunit.assert.dll
Syntax
public class AllException : XunitException
Constructors
| Improve this Doc View SourceAllException(Int32, Tuple<Int32, Object, Exception>[])
Creates a new instance of the AllException class.
Declaration
public AllException(int totalItems, Tuple<int, object, Exception>[] errors)
Parameters
Type | Name | Description |
---|---|---|
Int32 | totalItems | The total number of items that were in the collection. |
Tuple<Int32, Object, Exception>[] | errors | The list of errors that occurred during the test pass. |
Properties
| Improve this Doc View SourceFailures
The errors that occurred during execution of the test.
Declaration
public IReadOnlyList<Exception> Failures { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<Exception> |
Message
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
String |