You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enables support for yarg's config file, replacing the current unused `IntegrationTests.fromFile()` method.
This also fixes a bug where `--list` would ignore test provided as args and via `--from-file` and just list all tests.
----
### All Submissions:
* [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)
### Adding new Unconventional Dependencies:
* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)
### New Features
* [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
desc: 'Load options from a JSON config file. Options provided as CLI arguments take precedent.',
23
+
})
19
24
.option('list',{type: 'boolean',default: false,desc: 'List tests instead of running them'})
20
25
.option('clean',{type: 'boolean',default: true,desc: 'Skips stack clean up after test is completed (use --no-clean to negate)'})
21
26
.option('verbose',{type: 'boolean',default: false,alias: 'v',count: true,desc: 'Verbose logs and metrics on integration tests durations (specify multiple times to increase verbosity)'})
@@ -35,61 +40,87 @@ export async function main(args: string[]) {
logger.warning('You are attempting to run %s tests in parallel, but only have %s workers. Not all of your profiles+regions will be utilized',argv.profiles*argv['parallel-regions'],argv['max-workers']);
logger.warning('You are attempting to run %s tests in parallel, but only have %s workers. Not all of your profiles+regions will be utilized',numTests,maxWorkers);
0 commit comments