Class JustTestLahRunner

  • All Implemented Interfaces:
    org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

    public class JustTestLahRunner
    extends org.junit.runners.ParentRunner<io.cucumber.junit.FeatureRunner>
    Custom JUnit runner to dynamically set cucumber.╠░options. Based on Cucumber.
    • Constructor Detail

      • JustTestLahRunner

        public JustTestLahRunner​(Class<?> clazz)
                          throws org.junit.runners.model.InitializationError,
                                 IOException
        Constructs a new JustTestLahRunner.
        Parameters:
        clazz - test class
        Throws:
        org.junit.runners.model.InitializationError - InitializationError
        IOException - IOException
    • Method Detail

      • getChildren

        public List<io.cucumber.junit.FeatureRunner> getChildren()
      • setScheduler

        public void setScheduler​(org.junit.runners.model.RunnerScheduler scheduler)
        Overrides:
        setScheduler in class org.junit.runners.ParentRunner<io.cucumber.junit.FeatureRunner>
      • getDescription

        public org.junit.runner.Description getDescription()
        Specified by:
        getDescription in interface org.junit.runner.Describable
        Overrides:
        getDescription in class org.junit.runners.ParentRunner<io.cucumber.junit.FeatureRunner>
      • run

        public void run​(org.junit.runner.notification.RunNotifier notifier)
        Overrides:
        run in class org.junit.runners.ParentRunner<io.cucumber.junit.FeatureRunner>