matthewmueller / matthewmueller/component-test
Feature Request: Support Folders for Test Scripts
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 97
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
I've got a component with it's functionality distributed throughout lib. As such, my test directory has the same tree defined, where each test file matches 1-1 with lib.
Currently, the glob pattern is test/*.js, which of course doesn't traverse all my test files. Could we either change the glob pattern to be test/**/*.js? (or at least allow some way to configure that glob pattern externally?)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating where the test runner applies the test/*.js glob, then inspect how test files under the lib-matching directory tree are discovered. Update discovery to support nested test folders or an externally configurable glob, and verify that files such as test/**/*.js are included.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100