Package cloud.localstack.deprecated
Class LocalstackOutsideDockerTestRunner
java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
cloud.localstack.deprecated.LocalstackOutsideDockerTestRunner
- All Implemented Interfaces:
org.junit.runner.Describable,org.junit.runner.manipulation.Filterable,org.junit.runner.manipulation.Orderable,org.junit.runner.manipulation.Sortable
@Deprecated
public class LocalstackOutsideDockerTestRunner
extends org.junit.runners.BlockJUnit4ClassRunner
Deprecated.
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).
Update 2019-12-07: This test runner has now been deprecated. The main reason is that
it attempts to install various dependencies on the local machine, which frequently
causes issues for users running in different OSs or environments. Please use the
Docker-based test running instead, which is now the default.
- Author:
- Waldemar Hummer, Patrick Allain
-
Constructor Summary
Constructors Constructor Description LocalstackOutsideDockerTestRunner(java.lang.Class<?> klass)Deprecated. -
Method Summary
Modifier and Type Method Description voidrun(org.junit.runner.notification.RunNotifier notifier)Deprecated.Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutMethods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, order, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
-
Constructor Details
-
LocalstackOutsideDockerTestRunner
public LocalstackOutsideDockerTestRunner(java.lang.Class<?> klass) throws org.junit.runners.model.InitializationErrorDeprecated.- Throws:
org.junit.runners.model.InitializationError
-
-
Method Details
-
run
public void run(org.junit.runner.notification.RunNotifier notifier)Deprecated.- Overrides:
runin classorg.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-