Property | Type | Description | |
---|---|---|---|
GetErrorMessage | string | ||
MakeTestCaseFromNUnitTest | TestCase |
Method | Description | |
---|---|---|
ConvertTestCase ( ITest test ) : TestCase |
Converts an NUnit test into a TestCase for Visual Studio, using the best method available according to the exact type passed and caching results for efficiency.
|
|
ConvertTestResult ( NUnit.Core.TestResult result ) : Microsoft.VisualStudio.TestPlatform.ObjectModel.TestResult | ||
GetCachedTestCase ( string key ) : TestCase | ||
ResultStateToTestOutcome ( ResultState resultState ) : TestOutcome | ||
TestConverter ( TestLogger logger, string sourceAssembly ) : System |
Method | Description | |
---|---|---|
GetErrorMessage ( NUnit.Core.TestResult result ) : string | ||
MakeTestCaseFromNUnitTest ( ITest nunitTest ) : TestCase |
Makes a TestCase from an NUnit test, adding navigation data if it can be found.
|
public ConvertTestCase ( ITest test ) : TestCase | ||
test | ITest | |
return | TestCase |
public ConvertTestResult ( NUnit.Core.TestResult result ) : Microsoft.VisualStudio.TestPlatform.ObjectModel.TestResult | ||
result | NUnit.Core.TestResult | |
return | Microsoft.VisualStudio.TestPlatform.ObjectModel.TestResult |
public GetCachedTestCase ( string key ) : TestCase | ||
key | string | |
return | TestCase |
public static ResultStateToTestOutcome ( ResultState resultState ) : TestOutcome | ||
resultState | ResultState | |
return | TestOutcome |
public TestConverter ( TestLogger logger, string sourceAssembly ) : System | ||
logger | TestLogger | |
sourceAssembly | string | |
return | System |