Class JUnitDescriptionProvider
- java.lang.Object
-
- de.bmiag.tapir.junitexecution.bootstrap.JUnitDescriptionProvider
-
@Component("tapirJUnitDescriptionProvider") public class JUnitDescriptionProvider extends java.lang.Object
Maps tapir'sExecutionModelElement
to JUnit'sDescription
. This is useful in order to fulfill the external JUnit APIs. Building descriptions offers the possibility to report to JUnitrun listeners
like Eclipse, Surefire or Jenkins.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
-
-
Constructor Summary
Constructors Constructor Description JUnitDescriptionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.junit.runner.Description
_getJUnitDescriptionInternal(ExecutionPlan executionPlan)
protected org.junit.runner.Description
_getJUnitDescriptionInternal(TestClass testClass)
protected org.junit.runner.Description
_getJUnitDescriptionInternal(TestStep testStep)
protected org.junit.runner.Description
_getJUnitDescriptionInternal(TestSuite testSuite)
org.junit.runner.Description
getJUnitDescription(ExecutionModelElement executionModelElement)
Provides aDescription
for the givenExecutionModelElement
.protected org.junit.runner.Description
getJUnitDescriptionInternal(java.lang.Object executionPlan)
protected java.lang.String
getStepLabel(TestStep testStep)
-
-
-
Method Detail
-
getJUnitDescription
public org.junit.runner.Description getJUnitDescription(ExecutionModelElement executionModelElement)
Provides aDescription
for the givenExecutionModelElement
.- Parameters:
executionModelElement
- theExecutionModelElement
- Returns:
- JUnit description
- Since:
- 2.0.0
-
_getJUnitDescriptionInternal
protected org.junit.runner.Description _getJUnitDescriptionInternal(ExecutionPlan executionPlan)
-
_getJUnitDescriptionInternal
protected org.junit.runner.Description _getJUnitDescriptionInternal(TestSuite testSuite)
-
_getJUnitDescriptionInternal
protected org.junit.runner.Description _getJUnitDescriptionInternal(TestClass testClass)
-
_getJUnitDescriptionInternal
protected org.junit.runner.Description _getJUnitDescriptionInternal(TestStep testStep)
-
getStepLabel
protected java.lang.String getStepLabel(TestStep testStep)
-
getJUnitDescriptionInternal
protected org.junit.runner.Description getJUnitDescriptionInternal(java.lang.Object executionPlan)
-
-