fromTestMethodFailure

Creates a new TestFailure instance representing a failure occurring during the execution of a test method.

Return

the new instance

Since

9.7.0

Parameters

failure

the failure