Package io.github.cdklabs.projen.cdk8s
Class IntegrationTest.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.cdk8s.IntegrationTest.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntegrationTest>
- Enclosing class:
- IntegrationTest
@Stability(Experimental) public static final class IntegrationTest.Builder extends Object implements software.amazon.jsii.Builder<IntegrationTest>
(experimental) A fluent builder forIntegrationTest.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegrationTestbuild()static IntegrationTest.Buildercreate(Project project)IntegrationTest.Builderentrypoint(String entrypoint)(experimental) A path from the project root directory to a TypeScript file which contains the integration test app.IntegrationTest.Buildername(String name)(experimental) Name of the integration test.IntegrationTest.BuildertsconfigPath(String tsconfigPath)(experimental) The path of the tsconfig.json file to use when running integration test cdk apps.
-
-
-
Method Detail
-
create
@Stability(Experimental) public static IntegrationTest.Builder create(Project project)
- Parameters:
project- This parameter is required.- Returns:
- a new instance of
IntegrationTest.Builder.
-
entrypoint
@Stability(Experimental) public IntegrationTest.Builder entrypoint(String entrypoint)
(experimental) A path from the project root directory to a TypeScript file which contains the integration test app.This is relative to the root directory of the project.
Example:
"test/subdir/foo.integ.ts"
- Parameters:
entrypoint- A path from the project root directory to a TypeScript file which contains the integration test app. This parameter is required.- Returns:
this
-
tsconfigPath
@Stability(Experimental) public IntegrationTest.Builder tsconfigPath(String tsconfigPath)
(experimental) The path of the tsconfig.json file to use when running integration test cdk apps.- Parameters:
tsconfigPath- The path of the tsconfig.json file to use when running integration test cdk apps. This parameter is required.- Returns:
this
-
name
@Stability(Experimental) public IntegrationTest.Builder name(String name)
(experimental) Name of the integration test.Default: - Derived from the entrypoint filename.
- Parameters:
name- Name of the integration test. This parameter is required.- Returns:
this
-
build
@Stability(Experimental) public IntegrationTest build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IntegrationTest>- Returns:
- a newly built instance of
IntegrationTest.
-
-