--spec flag should accept array of files or glob pattern
See original GitHub issueCurrently the --spec
argument accepts only a single spec file to run, and this could be upgraded to accept an array of files and/or a glob pattern.
Related to #64
Issue Analytics
- State:
- Created 7 years ago
- Reactions:13
- Comments:21 (12 by maintainers)
Top Results From Across the Web
glob - Manual - PHP
GLOB_NOSORT - Return files as they appear in the directory (no sorting). When this flag is not used, the pathnames are sorted alphabetically;...
Read more >glob - npm
"Globs" are the patterns you type when you do stuff like ls *.js on the command line, or put build/* in a .gitignore...
Read more >Configuration - Cypress Documentation
A String or Array of glob patterns used to ignore spec files that would otherwise be shown in your list of specs.
Read more >Ignoring Code - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >Configuring Jest
An array of glob patterns indicating a set of files for which coverage information should be collected. If a file matches the specified...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In case anyone is interested in running your specs in isolation - it is fairly trivial to do this now with the module API.
Here is an example of looping through each of your specs and then iteratively running them…
Released in
3.0.0
.