Add command to get list of tests in json format#2774
Add command to get list of tests in json format#2774Ameterezu wants to merge 8 commits intocodeceptjs:3.xfrom
Conversation
Add reporting support for run-workers. Can be used to generate junit reports. Example command: npx codeceptjs run-workers 2 --reporter mocha-junit-reporter
…rkers Add reporting support for run-workers
9dc0e48 to
c435f51
Compare
|
Thanks for the PR! Not an issue with the code itself. But when it is used to solve some very specific issue I prefer to not pull this change into the main codebase. Anyway, this is good to have it as a different command |
|
@DavertMik Thanks for your detailed feedback, but I still don't understand why json format can't be a part of the main package. |
Motivation
Added the ability to get a list of tests in json format.
Filtering of tests through grep and fgrep is supported.
Export of the list to a file is supported.
New functionality will allow to control the launch of tests remotely by it's name.
Command:
npx codeceptjs list-of-tests --grep "My test name" --fileType of change
Checklist:
npm run docs)npm run lint)npm test)