Class AnnotationsHandlerRunner

java.lang.Object
com.github.mjeanroy.junit.servers.engine.AnnotationsHandlerRunner
All Implemented Interfaces:
TestRunner

public class AnnotationsHandlerRunner extends Object
An engine that will handle various annotations defined by Junit-Servers:
  • Constructor Details

  • Method Details

    • beforeEach

      public void beforeEach(Object target)
      Description copied from interface: TestRunner
      Method called before running unit test.
      Specified by:
      beforeEach in interface TestRunner
      Parameters:
      target - The test class instance.
    • afterEach

      public void afterEach(Object target)
      Description copied from interface: TestRunner
      Method called after running unit test.
      Specified by:
      afterEach in interface TestRunner
      Parameters:
      target - The test class instance.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • beforeAll

      public void beforeAll()
      Description copied from interface: TestRunner
      Method called before instantiating the test class and any test instance.
      Specified by:
      beforeAll in interface TestRunner
    • afterAll

      public void afterAll()
      Description copied from interface: TestRunner
      Method called after all tests have been run.
      Specified by:
      afterAll in interface TestRunner