Class LocalstackTestRunner

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

    public class LocalstackTestRunner
    extends org.junit.runners.BlockJUnit4ClassRunner
    Simple JUnit test runner that automatically downloads, installs, starts, and stops the LocalStack local cloud infrastructure components. Should work cross-OS, however has been only tested under Unix (Linux/MacOS).
    Author:
    Waldemar Hummer, Patrick Allain
    • Constructor Summary

      Constructors 
      Constructor Description
      LocalstackTestRunner​(java.lang.Class<?> klass)  
    • Method Summary

      Modifier and Type Method Description
      void run​(org.junit.runner.notification.RunNotifier notifier)  
      • Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner

        collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
      • Methods inherited from class org.junit.runners.ParentRunner

        childrenInvoker, classBlock, classRules, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses
      • Methods inherited from class org.junit.runner.Runner

        testCount
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LocalstackTestRunner

        public LocalstackTestRunner​(java.lang.Class<?> klass)
                             throws org.junit.runners.model.InitializationError
        Throws:
        org.junit.runners.model.InitializationError
    • Method Detail

      • run

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