C# Class MSTestAllureAdapter.TRXParser

MSTest TRX parser.
Inheritance: ITestResultProvider
Mostrar archivo Open project: allure-framework/allure-mstest-adapter

Public Methods

Method Description
GetTestResults ( string filePath ) : IEnumerable

Parses the test results from the supplied trx file.

Private Methods

Method Description
CreateMSTestResult ( System.Xml.Linq.XElement unitTest, System.Xml.Linq.XElement unitTestResult ) : MSTestResult
CreateMSTestResultInternal ( UnitTestData unitTestData, System.Xml.Linq.XElement unitTestResult ) : MSTestResult
GetDescription ( System.Xml.Linq.XElement unitTestElement ) : string
GetOwner ( System.Xml.Linq.XElement unitTestElement ) : string
ParseErrorInfo ( System.Xml.Linq.XElement errorInfoXmlElement ) : ErrorInfo
ParseInnerTestResults ( UnitTestData unitTestData, System.Xml.Linq.XElement unitTestResult ) : IEnumerable

Method Details

GetTestResults() public method

Parses the test results from the supplied trx file.
public GetTestResults ( string filePath ) : IEnumerable
filePath string File path to the trx file.
return IEnumerable