projen 0.52.18 → 0.52.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/.jsii +934 -178
  2. package/README.md +19 -19
  3. package/changelog.md +1 -1
  4. package/docs/README.md +2 -0
  5. package/docs/api/API.md +397 -10
  6. package/docs/cdk8s.md +39 -0
  7. package/docs/github.md +1 -1
  8. package/lib/awscdk/auto-discover.d.ts +63 -13
  9. package/lib/awscdk/auto-discover.js +62 -24
  10. package/lib/awscdk/awscdk-app-java.js +1 -1
  11. package/lib/awscdk/awscdk-app-ts.d.ts +7 -0
  12. package/lib/awscdk/awscdk-app-ts.js +12 -13
  13. package/lib/awscdk/awscdk-construct.d.ts +7 -0
  14. package/lib/awscdk/awscdk-construct.js +13 -14
  15. package/lib/awscdk/awscdk-deps-java.js +1 -1
  16. package/lib/awscdk/awscdk-deps-js.js +1 -1
  17. package/lib/awscdk/awscdk-deps.js +1 -1
  18. package/lib/awscdk/cdk-config.js +1 -1
  19. package/lib/awscdk/cdk-tasks.js +1 -1
  20. package/lib/awscdk/integration-test.d.ts +4 -46
  21. package/lib/awscdk/integration-test.js +27 -65
  22. package/lib/awscdk/internal.d.ts +0 -4
  23. package/lib/awscdk/internal.js +2 -6
  24. package/lib/awscdk/lambda-function.js +2 -2
  25. package/lib/build/build-workflow.js +1 -1
  26. package/lib/cdk/auto-discover-base.d.ts +68 -0
  27. package/lib/cdk/auto-discover-base.js +49 -0
  28. package/lib/cdk/construct-lib.js +1 -1
  29. package/lib/cdk/index.d.ts +2 -0
  30. package/lib/cdk/index.js +3 -1
  31. package/lib/cdk/integration-test-base.d.ts +79 -0
  32. package/lib/cdk/integration-test-base.js +55 -0
  33. package/lib/cdk/internal.d.ts +4 -0
  34. package/lib/cdk/internal.js +8 -0
  35. package/lib/cdk/jsii-docgen.js +1 -1
  36. package/lib/cdk/jsii-project.js +1 -1
  37. package/lib/cdk8s/auto-discover.d.ts +50 -0
  38. package/lib/cdk8s/auto-discover.js +51 -0
  39. package/lib/cdk8s/cdk8s-app-ts.d.ts +7 -0
  40. package/lib/cdk8s/cdk8s-app-ts.js +9 -3
  41. package/lib/cdk8s/cdk8s-construct.d.ts +7 -0
  42. package/lib/cdk8s/cdk8s-construct.js +9 -3
  43. package/lib/cdk8s/index.d.ts +2 -0
  44. package/lib/cdk8s/index.js +3 -1
  45. package/lib/cdk8s/integration-test.d.ts +20 -0
  46. package/lib/cdk8s/integration-test.js +47 -0
  47. package/lib/cdktf/cdktf-construct.js +1 -1
  48. package/lib/component.js +1 -1
  49. package/lib/dependencies.js +1 -1
  50. package/lib/dev-env.js +1 -1
  51. package/lib/docker-compose.js +2 -2
  52. package/lib/file.js +1 -1
  53. package/lib/gitattributes.js +1 -1
  54. package/lib/github/auto-approve.js +1 -1
  55. package/lib/github/auto-merge.js +1 -1
  56. package/lib/github/dependabot.js +1 -1
  57. package/lib/github/github-project.js +1 -1
  58. package/lib/github/github.js +1 -1
  59. package/lib/github/mergify.js +1 -1
  60. package/lib/github/pr-template.js +1 -1
  61. package/lib/github/pull-request-lint.js +1 -1
  62. package/lib/github/stale.js +1 -1
  63. package/lib/github/task-workflow.js +1 -1
  64. package/lib/github/workflows.js +1 -1
  65. package/lib/gitlab/configuration.js +1 -1
  66. package/lib/gitlab/gitlab-configuration.js +1 -1
  67. package/lib/gitlab/nested-configuration.js +1 -1
  68. package/lib/gitpod.js +1 -1
  69. package/lib/ignore-file.js +1 -1
  70. package/lib/ini.js +1 -1
  71. package/lib/inventory.js +2 -2
  72. package/lib/java/java-project.js +1 -1
  73. package/lib/java/junit.js +1 -1
  74. package/lib/java/maven-compile.js +1 -1
  75. package/lib/java/maven-packaging.js +1 -1
  76. package/lib/java/maven-sample.js +1 -1
  77. package/lib/java/pom.js +1 -1
  78. package/lib/java/projenrc.js +1 -1
  79. package/lib/javascript/bundler.js +1 -1
  80. package/lib/javascript/eslint.js +1 -1
  81. package/lib/javascript/jest.js +1 -1
  82. package/lib/javascript/node-package.js +1 -1
  83. package/lib/javascript/node-project.js +1 -1
  84. package/lib/javascript/npm-config.js +1 -1
  85. package/lib/javascript/prettier.js +1 -1
  86. package/lib/javascript/projenrc.js +1 -1
  87. package/lib/javascript/typescript-config.js +1 -1
  88. package/lib/javascript/upgrade-dependencies.js +2 -2
  89. package/lib/json.js +1 -1
  90. package/lib/license.js +1 -1
  91. package/lib/logger.js +1 -1
  92. package/lib/makefile.js +1 -1
  93. package/lib/object-file.js +1 -1
  94. package/lib/project-build.js +1 -1
  95. package/lib/project.js +1 -1
  96. package/lib/projects.js +1 -1
  97. package/lib/projenrc-json.js +1 -1
  98. package/lib/python/pip.js +1 -1
  99. package/lib/python/poetry.js +2 -2
  100. package/lib/python/projenrc.js +1 -1
  101. package/lib/python/pytest.js +1 -1
  102. package/lib/python/python-project.js +1 -1
  103. package/lib/python/python-sample.js +1 -1
  104. package/lib/python/requirements-file.js +1 -1
  105. package/lib/python/setuppy.js +1 -1
  106. package/lib/python/setuptools.js +1 -1
  107. package/lib/python/venv.js +1 -1
  108. package/lib/readme.js +1 -1
  109. package/lib/release/publisher.js +1 -1
  110. package/lib/release/release-trigger.js +1 -1
  111. package/lib/release/release.js +1 -1
  112. package/lib/run-task.js +1 -1820
  113. package/lib/sample-file.js +2 -2
  114. package/lib/semver.js +1 -1
  115. package/lib/source-code.js +1 -1
  116. package/lib/task-runtime.js +1 -1
  117. package/lib/task.js +1 -1
  118. package/lib/tasks.js +1 -1
  119. package/lib/testing.js +1 -1
  120. package/lib/textfile.js +1 -1
  121. package/lib/toml.js +1 -1
  122. package/lib/typescript/projenrc.js +1 -1
  123. package/lib/typescript/typescript-typedoc.js +1 -1
  124. package/lib/typescript/typescript.js +3 -3
  125. package/lib/version.js +1 -1
  126. package/lib/vscode/devcontainer.js +1 -1
  127. package/lib/vscode/launch-config.js +1 -1
  128. package/lib/vscode/vscode.js +1 -1
  129. package/lib/web/next.js +3 -3
  130. package/lib/web/postcss.js +1 -1
  131. package/lib/web/react.js +4 -4
  132. package/lib/web/tailwind.js +1 -1
  133. package/lib/xmlfile.js +1 -1
  134. package/lib/yaml.js +1 -1
  135. package/node_modules/xmlbuilder2/node_modules/@types/node/README.md +1 -1
  136. package/node_modules/xmlbuilder2/node_modules/@types/node/buffer.d.ts +1 -1
  137. package/node_modules/xmlbuilder2/node_modules/@types/node/package.json +2 -2
  138. package/package.json +3 -3
  139. package/releasetag.txt +1 -1
  140. package/version.txt +1 -1
package/docs/api/API.md CHANGED
@@ -37,7 +37,7 @@ Name|Description
37
37
  [Version](#projen-version)|*No description*
38
38
  [XmlFile](#projen-xmlfile)|Represents an XML file.
39
39
  [YamlFile](#projen-yamlfile)|Represents a YAML file.
40
- [awscdk.AutoDiscover](#projen-awscdk-autodiscover)|Automatically creates a `LambdaFunction` for all `.lambda.ts` files under the source directory of the project.
40
+ [awscdk.AutoDiscover](#projen-awscdk-autodiscover)|Discovers and creates integration tests and lambdas from code in the project's source and test trees.
41
41
  [awscdk.AwsCdkConstructLibrary](#projen-awscdk-awscdkconstructlibrary)|AWS CDK construct library project.
42
42
  [awscdk.AwsCdkDeps](#projen-awscdk-awscdkdeps)|Manages dependencies on the AWS CDK.
43
43
  [awscdk.AwsCdkDepsJava](#projen-awscdk-awscdkdepsjava)|Manages dependencies on the AWS CDK for Java projects.
@@ -48,14 +48,22 @@ Name|Description
48
48
  [awscdk.CdkTasks](#projen-awscdk-cdktasks)|Adds standard AWS CDK tasks to your project.
49
49
  [awscdk.ConstructLibraryAws](#projen-awscdk-constructlibraryaws)|*No description*
50
50
  [awscdk.IntegrationTest](#projen-awscdk-integrationtest)|Cloud integration tests.
51
+ [awscdk.IntegrationTestAutoDiscover](#projen-awscdk-integrationtestautodiscover)|Creates integration tests from entry points discovered in the test tree.
52
+ [awscdk.LambdaAutoDiscover](#projen-awscdk-lambdaautodiscover)|Creates lambdas from entry points discovered in the project's source tree.
51
53
  [awscdk.LambdaFunction](#projen-awscdk-lambdafunction)|Generates a pre-bundled AWS Lambda function construct from handler code.
52
54
  [awscdk.LambdaRuntime](#projen-awscdk-lambdaruntime)|The runtime for the AWS Lambda function.
53
55
  [build.BuildWorkflow](#projen-build-buildworkflow)|*No description*
56
+ [cdk.AutoDiscoverBase](#projen-cdk-autodiscoverbase)|Base class for auto-discovering and creating project subcomponents.
54
57
  [cdk.ConstructLibrary](#projen-cdk-constructlibrary)|A multi-language library for CDK constructs.
58
+ [cdk.IntegrationTestAutoDiscoverBase](#projen-cdk-integrationtestautodiscoverbase)|Base class for locating integration tests in the project's test tree.
59
+ [cdk.IntegrationTestBase](#projen-cdk-integrationtestbase)|*No description*
55
60
  [cdk.JsiiDocgen](#projen-cdk-jsiidocgen)|Creates a markdown file based on the jsii manifest: - Adds a `docgen` script to package.json - Runs `jsii-docgen` after compilation - Enforces that markdown file is checked in.
56
61
  [cdk.JsiiProject](#projen-cdk-jsiiproject)|Multi-language jsii library project.
62
+ [cdk8s.AutoDiscover](#projen-cdk8s-autodiscover)|Automatically discovers and creates `IntegrationTest`s from entry points found in the test tree.
57
63
  [cdk8s.Cdk8sTypeScriptApp](#projen-cdk8s-cdk8stypescriptapp)|CDK8s app in TypeScript.
58
64
  [cdk8s.ConstructLibraryCdk8s](#projen-cdk8s-constructlibrarycdk8s)|CDK8s construct library project.
65
+ [cdk8s.IntegrationTest](#projen-cdk8s-integrationtest)|CDK8S integration test.
66
+ [cdk8s.IntegrationTestAutoDiscover](#projen-cdk8s-integrationtestautodiscover)|Discovers and creates integration tests from files in the test root.
59
67
  [cdktf.ConstructLibraryCdktf](#projen-cdktf-constructlibrarycdktf)|CDKTF construct library project.
60
68
  [github.AutoApprove](#projen-github-autoapprove)|Auto approve pull requests that meet a criteria.
61
69
  [github.AutoMerge](#projen-github-automerge)|Sets up mergify to merging approved pull requests.
@@ -169,6 +177,7 @@ Name|Description
169
177
  [VersionOptions](#projen-versionoptions)|Options for `Version`.
170
178
  [XmlFileOptions](#projen-xmlfileoptions)|Options for `XmlFile`.
171
179
  [YamlFileOptions](#projen-yamlfileoptions)|Options for `JsonFile`.
180
+ [awscdk.AutoDiscoverCommonOptions](#projen-awscdk-autodiscovercommonoptions)|Common options for auto discovering project subcomponents.
172
181
  [awscdk.AutoDiscoverOptions](#projen-awscdk-autodiscoveroptions)|Options for `AutoDiscover`.
173
182
  [awscdk.AwsCdkConstructLibraryOptions](#projen-awscdk-awscdkconstructlibraryoptions)|Options for `AwsCdkConstructLibrary`.
174
183
  [awscdk.AwsCdkDepsCommonOptions](#projen-awscdk-awscdkdepscommonoptions)|Options for `AwsCdkDeps`.
@@ -179,23 +188,31 @@ Name|Description
179
188
  [awscdk.CdkConfigCommonOptions](#projen-awscdk-cdkconfigcommonoptions)|Common options for `cdk.json`.
180
189
  [awscdk.CdkConfigOptions](#projen-awscdk-cdkconfigoptions)|Options for `CdkJson`.
181
190
  [awscdk.ConstructLibraryAwsOptions](#projen-awscdk-constructlibraryawsoptions)|*No description*
191
+ [awscdk.IntegrationTestAutoDiscoverOptions](#projen-awscdk-integrationtestautodiscoveroptions)|Options for `IntegrationTestAutoDiscover`.
182
192
  [awscdk.IntegrationTestCommonOptions](#projen-awscdk-integrationtestcommonoptions)|*No description*
183
193
  [awscdk.IntegrationTestOptions](#projen-awscdk-integrationtestoptions)|Options for `IntegrationTest`.
194
+ [awscdk.LambdaAutoDiscoverOptions](#projen-awscdk-lambdaautodiscoveroptions)|Options for `LambdaAutoDiscover`.
184
195
  [awscdk.LambdaFunctionCommonOptions](#projen-awscdk-lambdafunctioncommonoptions)|Common options for `LambdaFunction`.
185
196
  [awscdk.LambdaFunctionOptions](#projen-awscdk-lambdafunctionoptions)|Options for `Function`.
186
197
  [build.AddPostBuildJobCommandsOptions](#projen-build-addpostbuildjobcommandsoptions)|Options for `BuildWorkflow.addPostBuildJobCommands`.
187
198
  [build.AddPostBuildJobTaskOptions](#projen-build-addpostbuildjobtaskoptions)|Options for `BuildWorkflow.addPostBuildJobTask`.
188
199
  [build.BuildWorkflowOptions](#projen-build-buildworkflowoptions)|*No description*
200
+ [cdk.AutoDiscoverBaseOptions](#projen-cdk-autodiscoverbaseoptions)|Options for `AutoDiscoverBase`.
189
201
  [cdk.Catalog](#projen-cdk-catalog)|*No description*
190
202
  [cdk.ConstructLibraryOptions](#projen-cdk-constructlibraryoptions)|*No description*
203
+ [cdk.IntegrationTestAutoDiscoverBaseOptions](#projen-cdk-integrationtestautodiscoverbaseoptions)|Options for `IntegrationTestAutoDiscoverBase`.
204
+ [cdk.IntegrationTestBaseOptions](#projen-cdk-integrationtestbaseoptions)|Options for IntegrationTest.
191
205
  [cdk.JsiiDocgenOptions](#projen-cdk-jsiidocgenoptions)|Options for `JsiiDocgen`.
192
206
  [cdk.JsiiDotNetTarget](#projen-cdk-jsiidotnettarget)|*No description*
193
207
  [cdk.JsiiGoTarget](#projen-cdk-jsiigotarget)|Go target configuration.
194
208
  [cdk.JsiiJavaTarget](#projen-cdk-jsiijavatarget)|*No description*
195
209
  [cdk.JsiiProjectOptions](#projen-cdk-jsiiprojectoptions)|*No description*
196
210
  [cdk.JsiiPythonTarget](#projen-cdk-jsiipythontarget)|*No description*
211
+ [cdk8s.AutoDiscoverOptions](#projen-cdk8s-autodiscoveroptions)|Options for `AutoDiscover`.
197
212
  [cdk8s.Cdk8sTypeScriptAppOptions](#projen-cdk8s-cdk8stypescriptappoptions)|*No description*
198
213
  [cdk8s.ConstructLibraryCdk8sOptions](#projen-cdk8s-constructlibrarycdk8soptions)|*No description*
214
+ [cdk8s.IntegrationTestAutoDiscoverOptions](#projen-cdk8s-integrationtestautodiscoveroptions)|*No description*
215
+ [cdk8s.IntegrationTestOptions](#projen-cdk8s-integrationtestoptions)|Options for IntegrationTest.
199
216
  [cdktf.ConstructLibraryCdktfOptions](#projen-cdktf-constructlibrarycdktfoptions)|*No description*
200
217
  [github.AutoApproveOptions](#projen-github-autoapproveoptions)|Options for 'AutoApprove'.
201
218
  [github.AutoMergeOptions](#projen-github-automergeoptions)|*No description*
@@ -2936,7 +2953,7 @@ __Returns__:
2936
2953
 
2937
2954
  ## class AutoDiscover 🔹 <a id="projen-awscdk-autodiscover"></a>
2938
2955
 
2939
- Automatically creates a `LambdaFunction` for all `.lambda.ts` files under the source directory of the project.
2956
+ Discovers and creates integration tests and lambdas from code in the project's source and test trees.
2940
2957
 
2941
2958
  __Submodule__: awscdk
2942
2959
 
@@ -2954,10 +2971,12 @@ new awscdk.AutoDiscover(project: Project, options: AutoDiscoverOptions)
2954
2971
  * **project** (<code>[Project](#projen-project)</code>) *No description*
2955
2972
  * **options** (<code>[awscdk.AutoDiscoverOptions](#projen-awscdk-autodiscoveroptions)</code>) *No description*
2956
2973
  * **cdkDeps** (<code>[awscdk.AwsCdkDeps](#projen-awscdk-awscdkdeps)</code>) AWS CDK dependency manager.
2957
- * **srcdir** (<code>string</code>) Project source tree (relative to project output directory).
2958
- * **testdir** (<code>string</code>) Test source tree.
2959
2974
  * **tsconfigPath** (<code>string</code>) Path to the tsconfig file to use for integration tests.
2975
+ * **srcdir** (<code>string</code>) Project source tree (relative to project output directory).
2960
2976
  * **lambdaOptions** (<code>[awscdk.LambdaFunctionCommonOptions](#projen-awscdk-lambdafunctioncommonoptions)</code>) Options for auto-discovery of AWS Lambda functions. __*Optional*__
2977
+ * **testdir** (<code>string</code>) Test source tree.
2978
+ * **integrationTestAutoDiscover** (<code>boolean</code>) Auto-discover integration tests. __*Default*__: true
2979
+ * **lambdaAutoDiscover** (<code>boolean</code>) Auto-discover lambda functions. __*Default*__: true
2961
2980
 
2962
2981
 
2963
2982
 
@@ -3136,6 +3155,7 @@ new awscdk.AwsCdkConstructLibrary(options: AwsCdkConstructLibraryOptions)
3136
3155
  * **cdkTestDependencies** (<code>Array<string></code>) AWS CDK modules required for testing. __*Optional*__
3137
3156
  * **cdkVersionPinning** (<code>boolean</code>) Use pinned version instead of caret version for CDK. __*Optional*__
3138
3157
  * **constructsVersion** (<code>string</code>) Minimum version of the `constructs` library to depend on. __*Default*__: for CDK 1.x the default is "3.2.27", for CDK 2.x the default is "10.0.5".
3158
+ * **integrationTestAutoDiscover** (<code>boolean</code>) Automatically discovers and creates integration tests for each `.integ.ts` file in under your test directory. __*Default*__: true
3139
3159
  * **lambdaAutoDiscover** (<code>boolean</code>) Automatically adds an `aws_lambda.Function` for each `.lambda.ts` handler in your source tree. If this is disabled, you either need to explicitly call `aws_lambda.Function.autoDiscover()` or define a `new aws_lambda.Function()` for each handler. __*Default*__: true
3140
3160
  * **lambdaOptions** (<code>[awscdk.LambdaFunctionCommonOptions](#projen-awscdk-lambdafunctioncommonoptions)</code>) Common options for all AWS Lambda functions. __*Default*__: default options
3141
3161
 
@@ -3639,6 +3659,7 @@ new awscdk.AwsCdkTypeScriptApp(options: AwsCdkTypeScriptAppOptions)
3639
3659
  * **cdkVersionPinning** (<code>boolean</code>) Use pinned version instead of caret version for CDK. __*Optional*__
3640
3660
  * **constructsVersion** (<code>string</code>) Minimum version of the `constructs` library to depend on. __*Default*__: for CDK 1.x the default is "3.2.27", for CDK 2.x the default is "10.0.5".
3641
3661
  * **appEntrypoint** (<code>string</code>) The CDK app's entrypoint (relative to the source directory, which is "src" by default). __*Default*__: "main.ts"
3662
+ * **integrationTestAutoDiscover** (<code>boolean</code>) Automatically discovers and creates integration tests for each `.integ.ts` file in under your test directory. __*Default*__: true
3642
3663
  * **lambdaAutoDiscover** (<code>boolean</code>) Automatically adds an `awscdk.LambdaFunction` for each `.lambda.ts` handler in your source tree. If this is disabled, you can manually add an `awscdk.AutoDiscover` component to your project. __*Default*__: true
3643
3664
  * **lambdaOptions** (<code>[awscdk.LambdaFunctionCommonOptions](#projen-awscdk-lambdafunctioncommonoptions)</code>) Common options for all AWS Lambda functions. __*Default*__: default options
3644
3665
 
@@ -3918,6 +3939,7 @@ new awscdk.ConstructLibraryAws(options: AwsCdkConstructLibraryOptions)
3918
3939
  * **cdkTestDependencies** (<code>Array<string></code>) AWS CDK modules required for testing. __*Optional*__
3919
3940
  * **cdkVersionPinning** (<code>boolean</code>) Use pinned version instead of caret version for CDK. __*Optional*__
3920
3941
  * **constructsVersion** (<code>string</code>) Minimum version of the `constructs` library to depend on. __*Default*__: for CDK 1.x the default is "3.2.27", for CDK 2.x the default is "10.0.5".
3942
+ * **integrationTestAutoDiscover** (<code>boolean</code>) Automatically discovers and creates integration tests for each `.integ.ts` file in under your test directory. __*Default*__: true
3921
3943
  * **lambdaAutoDiscover** (<code>boolean</code>) Automatically adds an `aws_lambda.Function` for each `.lambda.ts` handler in your source tree. If this is disabled, you either need to explicitly call `aws_lambda.Function.autoDiscover()` or define a `new aws_lambda.Function()` for each handler. __*Default*__: true
3922
3944
  * **lambdaOptions** (<code>[awscdk.LambdaFunctionCommonOptions](#projen-awscdk-lambdafunctioncommonoptions)</code>) Common options for all AWS Lambda functions. __*Default*__: default options
3923
3945
 
@@ -3930,7 +3952,7 @@ Cloud integration tests.
3930
3952
 
3931
3953
  __Submodule__: awscdk
3932
3954
 
3933
- __Extends__: [Component](#projen-component)
3955
+ __Extends__: [cdk.IntegrationTestBase](#projen-cdk-integrationtestbase)
3934
3956
 
3935
3957
  ### Initializer
3936
3958
 
@@ -3944,10 +3966,10 @@ new awscdk.IntegrationTest(project: Project, options: IntegrationTestOptions)
3944
3966
  * **project** (<code>[Project](#projen-project)</code>) *No description*
3945
3967
  * **options** (<code>[awscdk.IntegrationTestOptions](#projen-awscdk-integrationtestoptions)</code>) *No description*
3946
3968
  * **destroyAfterDeploy** (<code>boolean</code>) Destroy the test app after a successful deployment. __*Default*__: true
3947
- * **cdkDeps** (<code>[awscdk.AwsCdkDeps](#projen-awscdk-awscdkdeps)</code>) AWS CDK dependency manager.
3948
3969
  * **entrypoint** (<code>string</code>) A path from the project root directory to a TypeScript file which contains the integration test app.
3949
3970
  * **tsconfigPath** (<code>string</code>) The path of the tsconfig.json file to use when running integration test cdk apps.
3950
3971
  * **name** (<code>string</code>) Name of the integration test. __*Default*__: Derived from the entrypoint filename.
3972
+ * **cdkDeps** (<code>[awscdk.AwsCdkDeps](#projen-awscdk-awscdkdeps)</code>) AWS CDK dependency manager.
3951
3973
  * **stacks** (<code>Array<string></code>) A list of stacks within the integration test to deploy/destroy. __*Default*__: ["**"]
3952
3974
 
3953
3975
 
@@ -3957,14 +3979,64 @@ new awscdk.IntegrationTest(project: Project, options: IntegrationTestOptions)
3957
3979
 
3958
3980
  Name | Type | Description
3959
3981
  -----|------|-------------
3960
- **assertTask**🔹 | <code>[Task](#projen-task)</code> | Synthesizes the integration test and compares against a local copy (runs during build).
3961
- **deployTask**🔹 | <code>[Task](#projen-task)</code> | Deploy the integration test and update the snapshot upon success.
3962
- **destroyTask**🔹 | <code>[Task](#projen-task)</code> | Destroys a deployed stack.
3963
- **snapshotTask**🔹 | <code>[Task](#projen-task)</code> | Just update snapshot (without deployment).
3982
+ **destroyTask**🔹 | <code>[Task](#projen-task)</code> | Destroy the integration test resources.
3964
3983
  **watchTask**🔹 | <code>[Task](#projen-task)</code> | The watch task.
3965
3984
 
3966
3985
 
3967
3986
 
3987
+ ## class IntegrationTestAutoDiscover 🔹 <a id="projen-awscdk-integrationtestautodiscover"></a>
3988
+
3989
+ Creates integration tests from entry points discovered in the test tree.
3990
+
3991
+ __Submodule__: awscdk
3992
+
3993
+ __Extends__: [cdk.IntegrationTestAutoDiscoverBase](#projen-cdk-integrationtestautodiscoverbase)
3994
+
3995
+ ### Initializer
3996
+
3997
+
3998
+
3999
+
4000
+ ```ts
4001
+ new awscdk.IntegrationTestAutoDiscover(project: Project, options: IntegrationTestAutoDiscoverOptions)
4002
+ ```
4003
+
4004
+ * **project** (<code>[Project](#projen-project)</code>) *No description*
4005
+ * **options** (<code>[awscdk.IntegrationTestAutoDiscoverOptions](#projen-awscdk-integrationtestautodiscoveroptions)</code>) *No description*
4006
+ * **cdkDeps** (<code>[awscdk.AwsCdkDeps](#projen-awscdk-awscdkdeps)</code>) AWS CDK dependency manager.
4007
+ * **tsconfigPath** (<code>string</code>) Path to the tsconfig file to use for integration tests.
4008
+ * **testdir** (<code>string</code>) Test source tree.
4009
+
4010
+
4011
+
4012
+
4013
+ ## class LambdaAutoDiscover 🔹 <a id="projen-awscdk-lambdaautodiscover"></a>
4014
+
4015
+ Creates lambdas from entry points discovered in the project's source tree.
4016
+
4017
+ __Submodule__: awscdk
4018
+
4019
+ __Extends__: [cdk.AutoDiscoverBase](#projen-cdk-autodiscoverbase)
4020
+
4021
+ ### Initializer
4022
+
4023
+
4024
+
4025
+
4026
+ ```ts
4027
+ new awscdk.LambdaAutoDiscover(project: Project, options: LambdaAutoDiscoverOptions)
4028
+ ```
4029
+
4030
+ * **project** (<code>[Project](#projen-project)</code>) *No description*
4031
+ * **options** (<code>[awscdk.LambdaAutoDiscoverOptions](#projen-awscdk-lambdaautodiscoveroptions)</code>) *No description*
4032
+ * **cdkDeps** (<code>[awscdk.AwsCdkDeps](#projen-awscdk-awscdkdeps)</code>) AWS CDK dependency manager.
4033
+ * **tsconfigPath** (<code>string</code>) Path to the tsconfig file to use for integration tests.
4034
+ * **srcdir** (<code>string</code>) Project source tree (relative to project output directory).
4035
+ * **lambdaOptions** (<code>[awscdk.LambdaFunctionCommonOptions](#projen-awscdk-lambdafunctioncommonoptions)</code>) Options for auto-discovery of AWS Lambda functions. __*Optional*__
4036
+
4037
+
4038
+
4039
+
3968
4040
  ## class LambdaFunction 🔹 <a id="projen-awscdk-lambdafunction"></a>
3969
4041
 
3970
4042
  Generates a pre-bundled AWS Lambda function construct from handler code.
@@ -4174,6 +4246,40 @@ addPostBuildSteps(...steps: JobStep[]): void
4174
4246
 
4175
4247
 
4176
4248
 
4249
+ ## class AutoDiscoverBase 🔹 <a id="projen-cdk-autodiscoverbase"></a>
4250
+
4251
+ Base class for auto-discovering and creating project subcomponents.
4252
+
4253
+ __Submodule__: cdk
4254
+
4255
+ __Extends__: [Component](#projen-component)
4256
+ __Implemented by__: [awscdk.IntegrationTestAutoDiscover](#projen-awscdk-integrationtestautodiscover), [awscdk.LambdaAutoDiscover](#projen-awscdk-lambdaautodiscover), [cdk.IntegrationTestAutoDiscoverBase](#projen-cdk-integrationtestautodiscoverbase), [cdk8s.IntegrationTestAutoDiscover](#projen-cdk8s-integrationtestautodiscover)
4257
+
4258
+ ### Initializer
4259
+
4260
+
4261
+
4262
+
4263
+ ```ts
4264
+ new cdk.AutoDiscoverBase(project: Project, options: AutoDiscoverBaseOptions)
4265
+ ```
4266
+
4267
+ * **project** (<code>[Project](#projen-project)</code>) *No description*
4268
+ * **options** (<code>[cdk.AutoDiscoverBaseOptions](#projen-cdk-autodiscoverbaseoptions)</code>) *No description*
4269
+ * **extension** (<code>string</code>) Locate files with the given extension.
4270
+ * **projectdir** (<code>string</code>) Locate entrypoints in the given project directory.
4271
+
4272
+
4273
+
4274
+ ### Properties
4275
+
4276
+
4277
+ Name | Type | Description
4278
+ -----|------|-------------
4279
+ **entrypoints**🔹 | <code>Array<string></code> | Auto-discovered entry points with paths relative to the project directory.
4280
+
4281
+
4282
+
4177
4283
  ## class ConstructLibrary 🔹 <a id="projen-cdk-constructlibrary"></a>
4178
4284
 
4179
4285
  A multi-language library for CDK constructs.
@@ -4341,6 +4447,70 @@ new cdk.ConstructLibrary(options: ConstructLibraryOptions)
4341
4447
 
4342
4448
 
4343
4449
 
4450
+ ## class IntegrationTestAutoDiscoverBase 🔹 <a id="projen-cdk-integrationtestautodiscoverbase"></a>
4451
+
4452
+ Base class for locating integration tests in the project's test tree.
4453
+
4454
+ __Submodule__: cdk
4455
+
4456
+ __Extends__: [cdk.AutoDiscoverBase](#projen-cdk-autodiscoverbase)
4457
+
4458
+ ### Initializer
4459
+
4460
+
4461
+
4462
+
4463
+ ```ts
4464
+ new cdk.IntegrationTestAutoDiscoverBase(project: Project, options: IntegrationTestAutoDiscoverBaseOptions)
4465
+ ```
4466
+
4467
+ * **project** (<code>[Project](#projen-project)</code>) *No description*
4468
+ * **options** (<code>[cdk.IntegrationTestAutoDiscoverBaseOptions](#projen-cdk-integrationtestautodiscoverbaseoptions)</code>) *No description*
4469
+ * **testdir** (<code>string</code>) Test source tree.
4470
+
4471
+
4472
+
4473
+
4474
+ ## class IntegrationTestBase 🔹 <a id="projen-cdk-integrationtestbase"></a>
4475
+
4476
+
4477
+
4478
+ __Submodule__: cdk
4479
+
4480
+ __Extends__: [Component](#projen-component)
4481
+ __Implemented by__: [awscdk.IntegrationTest](#projen-awscdk-integrationtest), [cdk8s.IntegrationTest](#projen-cdk8s-integrationtest)
4482
+
4483
+ ### Initializer
4484
+
4485
+
4486
+
4487
+
4488
+ ```ts
4489
+ new cdk.IntegrationTestBase(project: Project, options: IntegrationTestBaseOptions)
4490
+ ```
4491
+
4492
+ * **project** (<code>[Project](#projen-project)</code>) *No description*
4493
+ * **options** (<code>[cdk.IntegrationTestBaseOptions](#projen-cdk-integrationtestbaseoptions)</code>) *No description*
4494
+ * **entrypoint** (<code>string</code>) A path from the project root directory to a TypeScript file which contains the integration test app.
4495
+ * **tsconfigPath** (<code>string</code>) The path of the tsconfig.json file to use when running integration test cdk apps.
4496
+ * **name** (<code>string</code>) Name of the integration test. __*Default*__: Derived from the entrypoint filename.
4497
+
4498
+
4499
+
4500
+ ### Properties
4501
+
4502
+
4503
+ Name | Type | Description
4504
+ -----|------|-------------
4505
+ **assertTask**🔹 | <code>[Task](#projen-task)</code> | Synthesizes the integration test and compares against a local copy (runs during build).
4506
+ **deployTask**🔹 | <code>[Task](#projen-task)</code> | Deploy the integration test and update the snapshot upon success.
4507
+ **name**🔹 | <code>string</code> | Integration test name.
4508
+ **snapshotDir**🔹 | <code>string</code> | Snapshot output directory.
4509
+ **snapshotTask**🔹 | <code>[Task](#projen-task)</code> | Just update snapshot (without deployment).
4510
+ **tmpDir**🔹 | <code>string</code> | Temporary directory for each integration test.
4511
+
4512
+
4513
+
4344
4514
  ## class JsiiDocgen 🔹 <a id="projen-cdk-jsiidocgen"></a>
4345
4515
 
4346
4516
  Creates a markdown file based on the jsii manifest: - Adds a `docgen` script to package.json - Runs `jsii-docgen` after compilation - Enforces that markdown file is checked in.
@@ -4537,6 +4707,32 @@ Name | Type | Description
4537
4707
 
4538
4708
 
4539
4709
 
4710
+ ## class AutoDiscover 🔹 <a id="projen-cdk8s-autodiscover"></a>
4711
+
4712
+ Automatically discovers and creates `IntegrationTest`s from entry points found in the test tree.
4713
+
4714
+ __Submodule__: cdk8s
4715
+
4716
+ __Extends__: [Component](#projen-component)
4717
+
4718
+ ### Initializer
4719
+
4720
+
4721
+
4722
+
4723
+ ```ts
4724
+ new cdk8s.AutoDiscover(project: Project, options: AutoDiscoverOptions)
4725
+ ```
4726
+
4727
+ * **project** (<code>[Project](#projen-project)</code>) *No description*
4728
+ * **options** (<code>[cdk8s.AutoDiscoverOptions](#projen-cdk8s-autodiscoveroptions)</code>) *No description*
4729
+ * **testdir** (<code>string</code>) Test source tree.
4730
+ * **tsconfigPath** (<code>string</code>) Path to the tsconfig file to use for integration tests.
4731
+ * **integrationTestAutoDiscover** (<code>boolean</code>) Automatically discover integration tests. __*Default*__: true
4732
+
4733
+
4734
+
4735
+
4540
4736
  ## class Cdk8sTypeScriptApp 🔹 <a id="projen-cdk8s-cdk8stypescriptapp"></a>
4541
4737
 
4542
4738
  CDK8s app in TypeScript.
@@ -4693,6 +4889,7 @@ new cdk8s.Cdk8sTypeScriptApp(options: Cdk8sTypeScriptAppOptions)
4693
4889
  * **cdk8sVersionPinning** (<code>boolean</code>) Use pinned version instead of caret version for CDK8s. __*Default*__: false
4694
4890
  * **constructsVersion** (<code>string</code>) constructs verion. __*Default*__: "3.2.34"
4695
4891
  * **constructsVersionPinning** (<code>boolean</code>) Use pinned version instead of caret version for constructs. __*Default*__: false
4892
+ * **integrationTestAutoDiscover** (<code>boolean</code>) Automatically adds an `cdk8s.IntegrationTest` for each `.integ.ts` app in your test directory. If this is disabled, you can manually add an `cdk8s.AutoDiscover` component to your project. __*Default*__: true
4696
4893
  * **k8sSpecVersion** (<code>string</code>) Import a specific Kubernetes spec version. __*Default*__: Use the cdk8s default
4697
4894
 
4698
4895
 
@@ -4880,6 +5077,7 @@ new cdk8s.ConstructLibraryCdk8s(options: ConstructLibraryCdk8sOptions)
4880
5077
  * **cdk8sVersionPinning** (<code>boolean</code>) Use pinned version instead of caret version for CDK8s. __*Default*__: false
4881
5078
  * **constructsVersion** (<code>string</code>) constructs verion. __*Default*__: "3.3.196"
4882
5079
  * **constructsVersionPinning** (<code>boolean</code>) Use pinned version instead of caret version for constructs. __*Default*__: false
5080
+ * **integrationTestAutoDiscover** (<code>boolean</code>) Automatically adds an `cdk8s.IntegrationTest` for each `.integ.ts` app in your test directory. If this is disabled, you can manually add an `cdk8s.AutoDiscover` component to your project. __*Default*__: true
4883
5081
 
4884
5082
 
4885
5083
 
@@ -4893,6 +5091,57 @@ Name | Type | Description
4893
5091
 
4894
5092
 
4895
5093
 
5094
+ ## class IntegrationTest 🔹 <a id="projen-cdk8s-integrationtest"></a>
5095
+
5096
+ CDK8S integration test.
5097
+
5098
+ __Submodule__: cdk8s
5099
+
5100
+ __Extends__: [cdk.IntegrationTestBase](#projen-cdk-integrationtestbase)
5101
+
5102
+ ### Initializer
5103
+
5104
+
5105
+
5106
+
5107
+ ```ts
5108
+ new cdk8s.IntegrationTest(project: Project, options: IntegrationTestOptions)
5109
+ ```
5110
+
5111
+ * **project** (<code>[Project](#projen-project)</code>) *No description*
5112
+ * **options** (<code>[cdk8s.IntegrationTestOptions](#projen-cdk8s-integrationtestoptions)</code>) *No description*
5113
+ * **entrypoint** (<code>string</code>) A path from the project root directory to a TypeScript file which contains the integration test app.
5114
+ * **tsconfigPath** (<code>string</code>) The path of the tsconfig.json file to use when running integration test cdk apps.
5115
+ * **name** (<code>string</code>) Name of the integration test. __*Default*__: Derived from the entrypoint filename.
5116
+
5117
+
5118
+
5119
+
5120
+ ## class IntegrationTestAutoDiscover 🔹 <a id="projen-cdk8s-integrationtestautodiscover"></a>
5121
+
5122
+ Discovers and creates integration tests from files in the test root.
5123
+
5124
+ __Submodule__: cdk8s
5125
+
5126
+ __Extends__: [cdk.IntegrationTestAutoDiscoverBase](#projen-cdk-integrationtestautodiscoverbase)
5127
+
5128
+ ### Initializer
5129
+
5130
+
5131
+
5132
+
5133
+ ```ts
5134
+ new cdk8s.IntegrationTestAutoDiscover(project: Project, options: IntegrationTestAutoDiscoverOptions)
5135
+ ```
5136
+
5137
+ * **project** (<code>[Project](#projen-project)</code>) *No description*
5138
+ * **options** (<code>[cdk8s.IntegrationTestAutoDiscoverOptions](#projen-cdk8s-integrationtestautodiscoveroptions)</code>) *No description*
5139
+ * **testdir** (<code>string</code>) Test source tree.
5140
+ * **tsconfigPath** (<code>string</code>) Path to the tsconfig file to use for integration tests.
5141
+
5142
+
5143
+
5144
+
4896
5145
  ## class ConstructLibraryCdktf 🔹 <a id="projen-cdktf-constructlibrarycdktf"></a>
4897
5146
 
4898
5147
  CDKTF construct library project.
@@ -11070,6 +11319,20 @@ Name | Type | Description
11070
11319
 
11071
11320
 
11072
11321
 
11322
+ ## struct AutoDiscoverCommonOptions 🔹 <a id="projen-awscdk-autodiscovercommonoptions"></a>
11323
+
11324
+
11325
+ Common options for auto discovering project subcomponents.
11326
+
11327
+
11328
+
11329
+ Name | Type | Description
11330
+ -----|------|-------------
11331
+ **cdkDeps**🔹 | <code>[awscdk.AwsCdkDeps](#projen-awscdk-awscdkdeps)</code> | AWS CDK dependency manager.
11332
+ **tsconfigPath**🔹 | <code>string</code> | Path to the tsconfig file to use for integration tests.
11333
+
11334
+
11335
+
11073
11336
  ## struct AutoDiscoverOptions 🔹 <a id="projen-awscdk-autodiscoveroptions"></a>
11074
11337
 
11075
11338
 
@@ -11083,6 +11346,8 @@ Name | Type | Description
11083
11346
  **srcdir**🔹 | <code>string</code> | Project source tree (relative to project output directory).
11084
11347
  **testdir**🔹 | <code>string</code> | Test source tree.
11085
11348
  **tsconfigPath**🔹 | <code>string</code> | Path to the tsconfig file to use for integration tests.
11349
+ **integrationTestAutoDiscover**?🔹 | <code>boolean</code> | Auto-discover integration tests.<br/>__*Default*__: true
11350
+ **lambdaAutoDiscover**?🔹 | <code>boolean</code> | Auto-discover lambda functions.<br/>__*Default*__: true
11086
11351
  **lambdaOptions**?🔹 | <code>[awscdk.LambdaFunctionCommonOptions](#projen-awscdk-lambdafunctioncommonoptions)</code> | Options for auto-discovery of AWS Lambda functions.<br/>__*Optional*__
11087
11352
 
11088
11353
 
@@ -11159,6 +11424,7 @@ Name | Type | Description
11159
11424
  **gitignore**?🔹 | <code>Array<string></code> | Additional entries to .gitignore.<br/>__*Optional*__
11160
11425
  **gitpod**?🔹 | <code>boolean</code> | Add a Gitpod development environment.<br/>__*Default*__: false
11161
11426
  **homepage**?🔹 | <code>string</code> | Package's Homepage / Website.<br/>__*Optional*__
11427
+ **integrationTestAutoDiscover**?🔹 | <code>boolean</code> | Automatically discovers and creates integration tests for each `.integ.ts` file in under your test directory.<br/>__*Default*__: true
11162
11428
  **jest**?🔹 | <code>boolean</code> | Setup jest unit tests.<br/>__*Default*__: true
11163
11429
  **jestOptions**?🔹 | <code>[javascript.JestOptions](#projen-javascript-jestoptions)</code> | Jest options.<br/>__*Default*__: default options
11164
11430
  **jsiiReleaseVersion**?🔹 | <code>string</code> | Version requirement of `jsii-release` which is used to publish modules to npm.<br/>__*Default*__: "latest"
@@ -11447,6 +11713,7 @@ Name | Type | Description
11447
11713
  **gitignore**?🔹 | <code>Array<string></code> | Additional entries to .gitignore.<br/>__*Optional*__
11448
11714
  **gitpod**?🔹 | <code>boolean</code> | Add a Gitpod development environment.<br/>__*Default*__: false
11449
11715
  **homepage**?🔹 | <code>string</code> | Package's Homepage / Website.<br/>__*Optional*__
11716
+ **integrationTestAutoDiscover**?🔹 | <code>boolean</code> | Automatically discovers and creates integration tests for each `.integ.ts` file in under your test directory.<br/>__*Default*__: true
11450
11717
  **jest**?🔹 | <code>boolean</code> | Setup jest unit tests.<br/>__*Default*__: true
11451
11718
  **jestOptions**?🔹 | <code>[javascript.JestOptions](#projen-javascript-jestoptions)</code> | Jest options.<br/>__*Default*__: default options
11452
11719
  **jsiiReleaseVersion**?🔹 | <code>string</code> | Version requirement of `jsii-release` which is used to publish modules to npm.<br/>__*Default*__: "latest"
@@ -11649,6 +11916,7 @@ Name | Type | Description
11649
11916
  **gitignore**?⚠️ | <code>Array<string></code> | Additional entries to .gitignore.<br/>__*Optional*__
11650
11917
  **gitpod**?⚠️ | <code>boolean</code> | Add a Gitpod development environment.<br/>__*Default*__: false
11651
11918
  **homepage**?⚠️ | <code>string</code> | Package's Homepage / Website.<br/>__*Optional*__
11919
+ **integrationTestAutoDiscover**?⚠️ | <code>boolean</code> | Automatically discovers and creates integration tests for each `.integ.ts` file in under your test directory.<br/>__*Default*__: true
11652
11920
  **jest**?⚠️ | <code>boolean</code> | Setup jest unit tests.<br/>__*Default*__: true
11653
11921
  **jestOptions**?⚠️ | <code>[javascript.JestOptions](#projen-javascript-jestoptions)</code> | Jest options.<br/>__*Default*__: default options
11654
11922
  **jsiiReleaseVersion**?⚠️ | <code>string</code> | Version requirement of `jsii-release` which is used to publish modules to npm.<br/>__*Default*__: "latest"
@@ -11743,6 +12011,21 @@ Name | Type | Description
11743
12011
 
11744
12012
 
11745
12013
 
12014
+ ## struct IntegrationTestAutoDiscoverOptions 🔹 <a id="projen-awscdk-integrationtestautodiscoveroptions"></a>
12015
+
12016
+
12017
+ Options for `IntegrationTestAutoDiscover`.
12018
+
12019
+
12020
+
12021
+ Name | Type | Description
12022
+ -----|------|-------------
12023
+ **cdkDeps**🔹 | <code>[awscdk.AwsCdkDeps](#projen-awscdk-awscdkdeps)</code> | AWS CDK dependency manager.
12024
+ **testdir**🔹 | <code>string</code> | Test source tree.
12025
+ **tsconfigPath**🔹 | <code>string</code> | Path to the tsconfig file to use for integration tests.
12026
+
12027
+
12028
+
11746
12029
  ## struct IntegrationTestCommonOptions 🔹 <a id="projen-awscdk-integrationtestcommonoptions"></a>
11747
12030
 
11748
12031
 
@@ -11774,6 +12057,22 @@ Name | Type | Description
11774
12057
 
11775
12058
 
11776
12059
 
12060
+ ## struct LambdaAutoDiscoverOptions 🔹 <a id="projen-awscdk-lambdaautodiscoveroptions"></a>
12061
+
12062
+
12063
+ Options for `LambdaAutoDiscover`.
12064
+
12065
+
12066
+
12067
+ Name | Type | Description
12068
+ -----|------|-------------
12069
+ **cdkDeps**🔹 | <code>[awscdk.AwsCdkDeps](#projen-awscdk-awscdkdeps)</code> | AWS CDK dependency manager.
12070
+ **srcdir**🔹 | <code>string</code> | Project source tree (relative to project output directory).
12071
+ **tsconfigPath**🔹 | <code>string</code> | Path to the tsconfig file to use for integration tests.
12072
+ **lambdaOptions**?🔹 | <code>[awscdk.LambdaFunctionCommonOptions](#projen-awscdk-lambdafunctioncommonoptions)</code> | Options for auto-discovery of AWS Lambda functions.<br/>__*Optional*__
12073
+
12074
+
12075
+
11777
12076
  ## struct LambdaFunctionCommonOptions 🔹 <a id="projen-awscdk-lambdafunctioncommonoptions"></a>
11778
12077
 
11779
12078
 
@@ -11863,6 +12162,20 @@ Name | Type | Description
11863
12162
 
11864
12163
 
11865
12164
 
12165
+ ## struct AutoDiscoverBaseOptions 🔹 <a id="projen-cdk-autodiscoverbaseoptions"></a>
12166
+
12167
+
12168
+ Options for `AutoDiscoverBase`.
12169
+
12170
+
12171
+
12172
+ Name | Type | Description
12173
+ -----|------|-------------
12174
+ **extension**🔹 | <code>string</code> | Locate files with the given extension.
12175
+ **projectdir**🔹 | <code>string</code> | Locate entrypoints in the given project directory.
12176
+
12177
+
12178
+
11866
12179
  ## struct Catalog 🔹 <a id="projen-cdk-catalog"></a>
11867
12180
 
11868
12181
 
@@ -12033,6 +12346,34 @@ Name | Type | Description
12033
12346
 
12034
12347
 
12035
12348
 
12349
+ ## struct IntegrationTestAutoDiscoverBaseOptions 🔹 <a id="projen-cdk-integrationtestautodiscoverbaseoptions"></a>
12350
+
12351
+
12352
+ Options for `IntegrationTestAutoDiscoverBase`.
12353
+
12354
+
12355
+
12356
+ Name | Type | Description
12357
+ -----|------|-------------
12358
+ **testdir**🔹 | <code>string</code> | Test source tree.
12359
+
12360
+
12361
+
12362
+ ## struct IntegrationTestBaseOptions 🔹 <a id="projen-cdk-integrationtestbaseoptions"></a>
12363
+
12364
+
12365
+ Options for IntegrationTest.
12366
+
12367
+
12368
+
12369
+ Name | Type | Description
12370
+ -----|------|-------------
12371
+ **entrypoint**🔹 | <code>string</code> | A path from the project root directory to a TypeScript file which contains the integration test app.
12372
+ **tsconfigPath**🔹 | <code>string</code> | The path of the tsconfig.json file to use when running integration test cdk apps.
12373
+ **name**?🔹 | <code>string</code> | Name of the integration test.<br/>__*Default*__: Derived from the entrypoint filename.
12374
+
12375
+
12376
+
12036
12377
  ## struct JsiiDocgenOptions 🔹 <a id="projen-cdk-jsiidocgenoptions"></a>
12037
12378
 
12038
12379
 
@@ -12283,6 +12624,21 @@ Name | Type | Description
12283
12624
 
12284
12625
 
12285
12626
 
12627
+ ## struct AutoDiscoverOptions 🔹 <a id="projen-cdk8s-autodiscoveroptions"></a>
12628
+
12629
+
12630
+ Options for `AutoDiscover`.
12631
+
12632
+
12633
+
12634
+ Name | Type | Description
12635
+ -----|------|-------------
12636
+ **testdir**🔹 | <code>string</code> | Test source tree.
12637
+ **tsconfigPath**🔹 | <code>string</code> | Path to the tsconfig file to use for integration tests.
12638
+ **integrationTestAutoDiscover**?🔹 | <code>boolean</code> | Automatically discover integration tests.<br/>__*Default*__: true
12639
+
12640
+
12641
+
12286
12642
  ## struct Cdk8sTypeScriptAppOptions 🔹 <a id="projen-cdk8s-cdk8stypescriptappoptions"></a>
12287
12643
 
12288
12644
 
@@ -12347,6 +12703,7 @@ Name | Type | Description
12347
12703
  **gitignore**?🔹 | <code>Array<string></code> | Additional entries to .gitignore.<br/>__*Optional*__
12348
12704
  **gitpod**?🔹 | <code>boolean</code> | Add a Gitpod development environment.<br/>__*Default*__: false
12349
12705
  **homepage**?🔹 | <code>string</code> | Package's Homepage / Website.<br/>__*Optional*__
12706
+ **integrationTestAutoDiscover**?🔹 | <code>boolean</code> | Automatically adds an `cdk8s.IntegrationTest` for each `.integ.ts` app in your test directory. If this is disabled, you can manually add an `cdk8s.AutoDiscover` component to your project.<br/>__*Default*__: true
12350
12707
  **jest**?🔹 | <code>boolean</code> | Setup jest unit tests.<br/>__*Default*__: true
12351
12708
  **jestOptions**?🔹 | <code>[javascript.JestOptions](#projen-javascript-jestoptions)</code> | Jest options.<br/>__*Default*__: default options
12352
12709
  **jsiiReleaseVersion**?🔹 | <code>string</code> | Version requirement of `jsii-release` which is used to publish modules to npm.<br/>__*Default*__: "latest"
@@ -12503,6 +12860,7 @@ Name | Type | Description
12503
12860
  **gitignore**?🔹 | <code>Array<string></code> | Additional entries to .gitignore.<br/>__*Optional*__
12504
12861
  **gitpod**?🔹 | <code>boolean</code> | Add a Gitpod development environment.<br/>__*Default*__: false
12505
12862
  **homepage**?🔹 | <code>string</code> | Package's Homepage / Website.<br/>__*Optional*__
12863
+ **integrationTestAutoDiscover**?🔹 | <code>boolean</code> | Automatically adds an `cdk8s.IntegrationTest` for each `.integ.ts` app in your test directory. If this is disabled, you can manually add an `cdk8s.AutoDiscover` component to your project.<br/>__*Default*__: true
12506
12864
  **jest**?🔹 | <code>boolean</code> | Setup jest unit tests.<br/>__*Default*__: true
12507
12865
  **jestOptions**?🔹 | <code>[javascript.JestOptions](#projen-javascript-jestoptions)</code> | Jest options.<br/>__*Default*__: default options
12508
12866
  **jsiiReleaseVersion**?🔹 | <code>string</code> | Version requirement of `jsii-release` which is used to publish modules to npm.<br/>__*Default*__: "latest"
@@ -12595,6 +12953,35 @@ Name | Type | Description
12595
12953
 
12596
12954
 
12597
12955
 
12956
+ ## struct IntegrationTestAutoDiscoverOptions 🔹 <a id="projen-cdk8s-integrationtestautodiscoveroptions"></a>
12957
+
12958
+
12959
+
12960
+
12961
+
12962
+
12963
+ Name | Type | Description
12964
+ -----|------|-------------
12965
+ **testdir**🔹 | <code>string</code> | Test source tree.
12966
+ **tsconfigPath**🔹 | <code>string</code> | Path to the tsconfig file to use for integration tests.
12967
+
12968
+
12969
+
12970
+ ## struct IntegrationTestOptions 🔹 <a id="projen-cdk8s-integrationtestoptions"></a>
12971
+
12972
+
12973
+ Options for IntegrationTest.
12974
+
12975
+
12976
+
12977
+ Name | Type | Description
12978
+ -----|------|-------------
12979
+ **entrypoint**🔹 | <code>string</code> | A path from the project root directory to a TypeScript file which contains the integration test app.
12980
+ **tsconfigPath**🔹 | <code>string</code> | The path of the tsconfig.json file to use when running integration test cdk apps.
12981
+ **name**?🔹 | <code>string</code> | Name of the integration test.<br/>__*Default*__: Derived from the entrypoint filename.
12982
+
12983
+
12984
+
12598
12985
  ## struct ConstructLibraryCdktfOptions 🔹 <a id="projen-cdktf-constructlibrarycdktfoptions"></a>
12599
12986
 
12600
12987