Class TestOptions


  • public class TestOptions
    extends java.lang.Object
    Optional settings for tests.
    • Constructor Detail

      • TestOptions

        public TestOptions​(java.lang.String projectName,
                           java.lang.String stackName,
                           boolean preview,
                           java.util.List<ResourceTransformation> resourceTransformations)
        Parameters:
        projectName - the test project name to use
        stackName - the test stack name to use
        preview - is the test a preview or a normal execution
        resourceTransformations - the test stack resource transformations
      • TestOptions

        public TestOptions​(java.lang.String projectName,
                           java.lang.String stackName,
                           boolean preview,
                           java.util.List<ResourceTransformation> resourceTransformations,
                           java.lang.String organizationName)
        Parameters:
        projectName - the test project name to use
        stackName - the test stack name to use
        preview - is the test a preview or a normal execution
        resourceTransformations - the test stack resource transformations
        organizationName - the test organization name to use
    • Method Detail

      • organizationName

        public java.lang.String organizationName()
        Returns:
        the test organization name
      • projectName

        public java.lang.String projectName()
        Returns:
        the test project name
      • stackName

        public java.lang.String stackName()
        Returns:
        the test stack name
      • preview

        public boolean preview()
        Whether the test runs in Preview mode. Defaults to true if not specified.