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<org.junit.runners.ParentRunner<?>>
    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

      • setScheduler

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

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

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