C# Class Xunit.AssertException

A specialized Sdk.AssertException which filters out all unnecessary StackTrace information from the original exception. This is done in order to strip the StackTrace parts from the message which shows methods inside the BDDExtensions class.
Inheritance: Xunit.Sdk.AssertException
Afficher le fichier Open project: BjRo/xunitbddextensions

Méthodes publiques

Méthode Description
AssertException ( Sdk original ) : System.IO

Creates an instance of AssertException.

Private Methods

Méthode Description
Filter ( string stackTrace ) : string

Removes all lines that occur inside BDDExtensions class and which do not start with a should.

Method Details

AssertException() public méthode

Creates an instance of AssertException.
public AssertException ( Sdk original ) : System.IO
original Sdk /// The exception thrown by the xUnit core. ///
Résultat System.IO