-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(integ-runner): support custom --test-regex
to match integ test files
#22786
feat(integ-runner): support custom --test-regex
to match integ test files
#22786
Conversation
e1a1801
to
685b1de
Compare
68f6cea
to
3b36ce8
Compare
… files Co-authored-by: karakter98 <37190268+karakter98@users.noreply.github.com>
3b36ce8
to
fd350bb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one minor suggestion, feel free to remove the do-not-merge label.
Co-authored-by: Cory Hall <43035978+corymhall@users.noreply.github.com>
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Follow-up to #22761. To support other languages than JavaScript (see #22521) we need to be able to detect test files with any patterns. With this PR, users can specify a number of custom
--test-regex
patterns that will bed used to discover integration test files. Together with--app
this can already be used to run integ tests in arbitrary languages.Example usage:
integ-runner --app="python3 {filePath}" --test-regex="^integ_.*\.py$"
Also contains a minor refactor to make
--app
available viaIntegrationTests.fromFile()
. This is in preparation of an upcoming change to reestablish support for an integration test config file.All Submissions:
Adding new Unconventional Dependencies:
New Features
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