Class JUnit5Adapter

java.lang.Object
net.thucydides.model.adapters.junit5.JUnit5Adapter
All Implemented Interfaces:
net.thucydides.model.adapters.TestStrategyAdapter

public class JUnit5Adapter extends Object implements net.thucydides.model.adapters.TestStrategyAdapter
  • Constructor Details

    • JUnit5Adapter

      public JUnit5Adapter()
  • Method Details

    • isTestClass

      public boolean isTestClass(Class<?> testClass)
      Specified by:
      isTestClass in interface net.thucydides.model.adapters.TestStrategyAdapter
    • isTestMethod

      public boolean isTestMethod(Method method)
      Specified by:
      isTestMethod in interface net.thucydides.model.adapters.TestStrategyAdapter
    • isTestSetupMethod

      public boolean isTestSetupMethod(Method method)
      Specified by:
      isTestSetupMethod in interface net.thucydides.model.adapters.TestStrategyAdapter
    • isSerenityTestCase

      public boolean isSerenityTestCase(Class<?> testClass)
      Specified by:
      isSerenityTestCase in interface net.thucydides.model.adapters.TestStrategyAdapter
    • isAssumptionViolatedException

      public boolean isAssumptionViolatedException(Throwable throwable)
      Specified by:
      isAssumptionViolatedException in interface net.thucydides.model.adapters.TestStrategyAdapter
    • isATaggableClass

      public boolean isATaggableClass(Class<?> testClass)
      Specified by:
      isATaggableClass in interface net.thucydides.model.adapters.TestStrategyAdapter
    • isIgnored

      public boolean isIgnored(Method method)
      Specified by:
      isIgnored in interface net.thucydides.model.adapters.TestStrategyAdapter
    • getTitleAnnotation

      public Optional<String> getTitleAnnotation(Method testMethod)
      Specified by:
      getTitleAnnotation in interface net.thucydides.model.adapters.TestStrategyAdapter
    • getTagsFor

      public List<net.thucydides.model.domain.TestTag> getTagsFor(Method testMethod)
      Specified by:
      getTagsFor in interface net.thucydides.model.adapters.TestStrategyAdapter
    • priority

      public Double priority()
      Specified by:
      priority in interface net.thucydides.model.adapters.TestStrategyAdapter