C# 클래스 MSTestAllureAdapter.AllureAdapter

The base class for the Allure adapter.
파일 보기 프로젝트 열기: allure-framework/allure-mstest-adapter

공개 메소드들

메소드 설명
GenerateTestResults ( IEnumerable testResults, string resultsPath ) : void

Generates the test results from the supplied TRX file to be used by the allure framework.

보호된 메소드들

메소드 설명
HandleTestResult ( MSTestResult testResult ) : void
TestFailed ( MSTestResult testResult ) : void
TestFinished ( MSTestResult testResult ) : void
TestStarted ( string suitId, MSTestResult testResult ) : void
TestSuitFinished ( string uid, System.DateTime finished ) : void
TestSuitStarted ( string uid, string name, System.DateTime start ) : void

비공개 메소드들

메소드 설명
AllureAdapter ( ) : System
CreateSuitToTestsMap ( IEnumerable testResults ) : ICollection>.IDictionary
FormatDescription ( MSTestResult testResult ) : string
HandleAllureTestCaseResult ( string suitUid, MSTestResult testResult ) : void

메소드 상세

GenerateTestResults() 공개 메소드

Generates the test results from the supplied TRX file to be used by the allure framework.
public GenerateTestResults ( IEnumerable testResults, string resultsPath ) : void
testResults IEnumerable
resultsPath string Results path where the files shuold be saved.
리턴 void

HandleTestResult() 보호된 메소드

protected HandleTestResult ( MSTestResult testResult ) : void
testResult MSTestResult
리턴 void

TestFailed() 보호된 메소드

protected TestFailed ( MSTestResult testResult ) : void
testResult MSTestResult
리턴 void

TestFinished() 보호된 메소드

protected TestFinished ( MSTestResult testResult ) : void
testResult MSTestResult
리턴 void

TestStarted() 보호된 메소드

protected TestStarted ( string suitId, MSTestResult testResult ) : void
suitId string
testResult MSTestResult
리턴 void

TestSuitFinished() 보호된 메소드

protected TestSuitFinished ( string uid, System.DateTime finished ) : void
uid string
finished System.DateTime
리턴 void

TestSuitStarted() 보호된 메소드

protected TestSuitStarted ( string uid, string name, System.DateTime start ) : void
uid string
name string
start System.DateTime
리턴 void