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
Mostra file Open project: BjRo/xunitbddextensions

Public Methods

Method Description
AssertException ( Sdk original ) : System.IO

Creates an instance of AssertException.

Private Methods

Method 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 method

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