public class TapirJUnitBootstrapper
extends org.junit.runner.Runner
implements org.junit.runner.manipulation.Filterable
TapirJUnitBootstrapper
is the main entry point for initializing a tapir test run using JUnit. It should be used
with JUnit's RunWith
annotation. Additionally the TapirJUnitBootstrapper
expects the definition of the Spring
context by using the TapirContextConfiguration
annotation. TapirJUnitBootstrapper
delegates to the TapirExecutor
who is responsible for providing and executing the
execution plan.RunWith
,
TapirContextConfiguration
,
TapirExecutor
Constructor and Description |
---|
TapirJUnitBootstrapper(Class<?> testClass)
Constructs a
TapirJUnitBootstrapper instance based on the given testClass. |
Modifier and Type | Method and Description |
---|---|
void |
filter(org.junit.runner.manipulation.Filter filter) |
org.junit.runner.Description |
getDescription() |
void |
run(org.junit.runner.notification.RunNotifier runNotifier) |
public TapirJUnitBootstrapper(Class<?> testClass)
TapirJUnitBootstrapper
instance based on the given testClass.testClass
- The testClass to executepublic org.junit.runner.Description getDescription()
getDescription
in interface org.junit.runner.Describable
getDescription
in class org.junit.runner.Runner
public void run(org.junit.runner.notification.RunNotifier runNotifier)
run
in class org.junit.runner.Runner
public void filter(org.junit.runner.manipulation.Filter filter) throws org.junit.runner.manipulation.NoTestsRemainException
filter
in interface org.junit.runner.manipulation.Filterable
org.junit.runner.manipulation.NoTestsRemainException
Copyright © 2018–2021 b+m Informatik AG. All rights reserved.