Package org.citrusframework
Class AbstractTestBoundaryContainerBuilder<T extends AbstractTestBoundaryActionContainer,S extends AbstractTestBoundaryContainerBuilder<T,S>>
java.lang.Object
org.citrusframework.AbstractTestActionBuilder<T,S>
org.citrusframework.AbstractTestContainerBuilder<T,S>
org.citrusframework.AbstractTestBoundaryContainerBuilder<T,S>
- All Implemented Interfaces:
ReferenceResolverAware,TestActionBuilder<T>,TestActionContainerBuilder<T,S>
- Direct Known Subclasses:
SequenceAfterTest.Builder,SequenceBeforeTest.Builder
public abstract class AbstractTestBoundaryContainerBuilder<T extends AbstractTestBoundaryActionContainer,S extends AbstractTestBoundaryContainerBuilder<T,S>>
extends AbstractTestContainerBuilder<T,S>
Abstract container builder takes care on calling the container runner when actions are placed in the container.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.citrusframework.TestActionBuilder
TestActionBuilder.DelegatingTestActionBuilder<T extends TestAction> -
Field Summary
Fields inherited from class org.citrusframework.AbstractTestContainerBuilder
actions, referenceResolverFields inherited from class org.citrusframework.AbstractTestActionBuilder
selfFields inherited from interface org.citrusframework.TestActionBuilder
logger, RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Condition on package names.onTestGroup(String... testGroups) Condition on test group name.onTestGroups(List<String> testGroups) Condition on test group names.Condition on test names.Condition on environment variable with value.Condition on environment variables.whenSystemProperties(Map<String, String> systemProperties) Condition on system properties.whenSystemProperty(String name, String value) Condition on system property with value.Methods inherited from class org.citrusframework.AbstractTestContainerBuilder
actions, actions, container, doBuild, getActions, setReferenceResolverMethods inherited from class org.citrusframework.AbstractTestActionBuilder
actor, description, getActor, getDescription, getName, name
-
Constructor Details
-
AbstractTestBoundaryContainerBuilder
public AbstractTestBoundaryContainerBuilder()
-
-
Method Details
-
onTests
Condition on test names. The before test logic will only run when this condition matches.- Parameters:
namePattern-
-
onTestGroup
Condition on test group name. The before test logic will only run when this condition matches.- Parameters:
testGroups-
-
onTestGroups
Condition on test group names. The before test logic will only run when this condition matches.- Parameters:
testGroups-
-
onPackage
Condition on package names. The before test logic will only run when this condition matches.- Parameters:
packageNamePattern-
-
whenSystemProperty
Condition on system property with value. The before test logic will only run when this condition matches.- Parameters:
name-value-
-
whenSystemProperties
Condition on system properties. The before test logic will only run when this condition matches.- Parameters:
systemProperties-
-
whenEnv
Condition on environment variable with value. The before test logic will only run when this condition matches.- Parameters:
name-value-
-
whenEnv
Condition on environment variables. The before test logic will only run when this condition matches.- Parameters:
envs-
-
build
- Specified by:
buildin interfaceTestActionBuilder<T extends AbstractTestBoundaryActionContainer>- Overrides:
buildin classAbstractTestContainerBuilder<T extends AbstractTestBoundaryActionContainer,S extends AbstractTestBoundaryContainerBuilder<T, S>>
-