ampproject / ampproject/amphtml
Do not allow test files to import files that have their own test cases
Open
P3: When Possible
Stale
Type: Testing
WG: infra
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
When parallelizing test runs based on file names, some test cases execute in multiple shards because they get imported by other files. This issue tracks the effort to disallow the import of test cases from other test cases (example of such a situation in the first mention of this issue)
Contributor guide
Research direction
Start with the example in the first mention of this issue and trace how test files import one another and how file-name-based sharding discovers tests. Identify the test-runner or validation entry point involved; done means imports of test cases from other test files are rejected so cases are not duplicated across shards.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100