Class JUnitDescriptionProvider


  • @Component("tapirJUnitDescriptionProvider")
    public class JUnitDescriptionProvider
    extends java.lang.Object
    Maps tapir's ExecutionModelElement to JUnit's Description. This is useful in order to fulfill the external JUnit APIs. Building descriptions offers the possibility to report to JUnit run listeners like Eclipse, Surefire or Jenkins.
    Since:
    2.0.0
    Author:
    Oliver Libutzki <[email protected]>
    • Constructor Detail

      • JUnitDescriptionProvider

        public JUnitDescriptionProvider()
    • Method Detail

      • _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)