Package dev.aherscu.qa.jgiven.commons
Class AbstractWireMockTest<T extends AnyScenarioType,GIVEN extends GenericFixtures<T,?> & ScenarioType<T>,WHEN extends GenericActions<T,?> & ScenarioType<T>,THEN extends GenericVerifications<T,?> & ScenarioType<T>>
- java.lang.Object
-
- com.tngtech.jgiven.base.ScenarioTestBase<GIVEN,WHEN,THEN>
-
- dev.aherscu.qa.jgiven.commons.utils.ScenarioTestEx<GIVEN,WHEN,THEN>
-
- dev.aherscu.qa.jgiven.commons.model.TypedScenarioTest<T,GIVEN,WHEN,THEN>
-
- dev.aherscu.qa.jgiven.commons.utils.ConfigurableScenarioTest<dev.aherscu.qa.testing.utils.config.BaseConfiguration,T,GIVEN,WHEN,THEN>
-
- dev.aherscu.qa.jgiven.commons.AbstractWireMockTest<T,GIVEN,WHEN,THEN>
-
- Type Parameters:
T
- type of scenarioGIVEN
- type of fixturesWHEN
- type of actionsTHEN
- type of verifications
public abstract class AbstractWireMockTest<T extends AnyScenarioType,GIVEN extends GenericFixtures<T,?> & ScenarioType<T>,WHEN extends GenericActions<T,?> & ScenarioType<T>,THEN extends GenericVerifications<T,?> & ScenarioType<T>> extends ConfigurableScenarioTest<dev.aherscu.qa.testing.utils.config.BaseConfiguration,T,GIVEN,WHEN,THEN>
Contains REST sample tests just to ensure that the testing infrastructure works as required.- Author:
- aherscu
-
-
Field Summary
Fields Modifier and Type Field Description protected com.github.tomakehurst.wiremock.WireMockServer
wireMockServer
-
Fields inherited from class dev.aherscu.qa.jgiven.commons.utils.ConfigurableScenarioTest
concurrency, configurationType, INTERNAL_DATA_PROVIDER, issuedRandomIds, randomId, startTime, USE_FIRST_PARAM
-
Fields inherited from class dev.aherscu.qa.jgiven.commons.model.TypedScenarioTest
EPOCH_MILLI_64
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractWireMockTest()
Initializes withBaseConfiguration
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
startMockRestServer()
protected void
stopMockRestServer()
-
Methods inherited from class dev.aherscu.qa.jgiven.commons.utils.ConfigurableScenarioTest
afterMethodKeepJenkinsAlive, beforeClassInitializeSession, beforeMethodInitializeSession, configuration, generateRandomId, randomId
-
Methods inherited from class dev.aherscu.qa.jgiven.commons.utils.ScenarioTestEx
getScenario
-
-