Can't use default reporter in addition to custom reporter
See original GitHub issueI’m trying to use the inbuilt reporter in addition to a mocha reporter, e.g.
codeceptjs run --reporter mocha-junit-reporter --reporter cli
As it seems, the inbuilt reporter is only used as a fallback if no --reporter option is given.
It would be nice to have a special reporter name, e.g. “cli”, “inbuilt”, “default” or whatever for that case.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Error when specifying default reporter · Issue #6536 - GitHub
It is trying to access the first item as an array, when the documentation shows string or array . Possible solutions: update the...
Read more >javascript - Jasmine - Using a Custom Reporter - Stack Overflow
I'm trying to learn how to a) Add my reporter and b) Still use the default reporter. Essentially, I'm trying to figure out...
Read more >Custom Reporter - WebdriverIO
You can write your own custom reporter for the WDIO test runner that is tailored to your needs. And it's easy!
Read more >Reporters | Cypress Documentation
Reporter Options Some reporters accept options that customize their behavior. These can be specified in your Cypress configuration or via command line options. ......
Read more >The 4 stages of flakiness (part 2/3): log failed tests with a Jest ...
1. Adding a custom reporter. Before starting any real work, let's just add something basic and see how it goes. Jest has a...
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
I like the idea to extract it because in our case we need the mocha-junit-reporter and another one which shows the process in the jenkins console.
At the moment we use ‘mocha-multi-reporters’ in combination with the ‘mocha-junit-reporter’ and the ‘mochawesome’.
Maybe this will help you @demonkoryu at the moment 😉
But to have the builtin reporter as a seperated one will be nice than i could replace the mochawesome reporter with the builtin.
Ok, I’ll make a PR in a few days.