question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't use default reporter in addition to custom reporter

See original GitHub issue

I’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:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
MitkoTschimevcommented, May 13, 2017

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.

0reactions
demonkoryucommented, May 13, 2017

Ok, I’ll make a PR in a few days.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found