Method FromException
- Namespace
- Xunit.Runner.Common
- Assembly
- xunit.v3.runner.common.dll
FromException(Exception, string, string)
Creates a new ITestCollectionCleanupFailure constructed from an Exception object.
public static ITestCollectionCleanupFailure FromException(Exception ex, string assemblyUniqueID, string testCollectionUniqueID)
Parameters
ex
ExceptionThe exception to use
assemblyUniqueID
stringThe unique ID of the assembly
testCollectionUniqueID
stringThe unique ID of the test collectioon