Class Pytest

java.lang.Object
io.micronaut.starter.feature.test.Pytest
All Implemented Interfaces:
io.micronaut.core.naming.Described, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, DefaultFeature, Feature, TestFeature

@Requires(property="micronaut.starter.feature.pytest.enabled", value="true", defaultValue="true") @Singleton public class Pytest extends Object implements TestFeature
  • Constructor Details

    • Pytest

      public Pytest()
  • Method Details

    • getName

      @NonNull public @NonNull String getName()
      Description copied from interface: Feature
      The name of the feature. It must be unique.
      Specified by:
      getName in interface Feature
      Specified by:
      getName in interface io.micronaut.core.naming.Named
      Returns:
      the name of the feature
    • doApply

      public void doApply(GeneratorContext generatorContext)
      Specified by:
      doApply in interface TestFeature
    • supports

      public boolean supports(Language language)
      Specified by:
      supports in interface Feature
      Parameters:
      language - Language
      Returns:
      Whether the feature supports the programming language
    • getTestFramework

      public TestFramework getTestFramework()
      Specified by:
      getTestFramework in interface TestFeature