@Retention(value=RUNTIME) @Target(value=TYPE) @Repeatable(value=WithAwsCfTemplateRepeatable.class) @ExtendWith(value=sunstone.core.SunstoneExtension.class) @Inherited public @interface WithAwsCfTemplate
Deployed as a stack in BeforeAllCallback and whole stack is deleted in AfterAllCallback or
once the suite is finished (see perSuite())
| Modifier and Type | Required Element and Description |
|---|---|
String |
template
Template file located in resources
|
| Modifier and Type | Optional Element and Description |
|---|---|
Parameter[] |
parameters
Array of parameters
Values may can be an expression - 'value-${variable:default}' - var is resolved from system properties.
|
boolean |
perSuite
True if resources supposed to be managed at suite level.
|
String |
region
Region that should be used for creating resource group.
|
public abstract String template
public abstract String region
abc-${var:default}-xyz -
var is resolved from system properties.
By default sunstone.aws.region Sunstone Config property is used.
For the list of available regions see Regionpublic abstract Parameter[] parameters
public abstract boolean perSuite
True if resources supposed to be managed at suite level.
The template is deployed only once and undeployed once the suite is done.
Suite is a set of test classes that runs in a bulk not interfering with other suites (sets of test classes).
Suite may be defined as a surefire run or as org.junit.platform.suite.api.Suite
Copyright © 2023. All rights reserved.