Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reporter option for mocha #38

Closed
shuhrat opened this issue Nov 14, 2014 · 10 comments
Closed

Reporter option for mocha #38

shuhrat opened this issue Nov 14, 2014 · 10 comments
Assignees
Milestone

Comments

@shuhrat
Copy link

shuhrat commented Nov 14, 2014

Could you please add an option reporter. Which sets reporter for mocha calls.
For example we need that for reporting testing results to the TeamCity

@rndD
Copy link
Contributor

rndD commented Nov 14, 2014

👍

1 similar comment
@anton-rudeshko
Copy link

+1

@arikon
Copy link
Member

arikon commented Nov 14, 2014

The best way to get it done is to make a pull request ;)

@arikon
Copy link
Member

arikon commented Nov 14, 2014

You could use BEM_TMPL_SPECS_REPORTERS env var to specify one or multiple reporters:

https://github.com/enb-bem/enb-bem-tmpl-specs/blob/master/lib/runner.js#L32

@arikon
Copy link
Member

arikon commented Nov 24, 2014

@shuhrat @rndD @anton-rudeshko Is it enough for you to use BEM_TMPL_SPECS_REPORTERS?

@rndD
Copy link
Contributor

rndD commented Nov 24, 2014

@arikon thank u for suggestion, but how I can see, with BEM_TMPL_SPECS_REPORTERS, I can't use third party reporters.

Certainly export BEM_TMPL_SPECS_REPORTERS="../../../reporter-name" will solve my problem, but it looks ugly.

@arikon
Copy link
Member

arikon commented Nov 24, 2014

@rndD Yes, you are right

@blond blond modified the milestone: 0.6.0 Nov 27, 2014
@blond blond modified the milestone: 0.6.0 Dec 20, 2014
@rndD
Copy link
Contributor

rndD commented Jun 18, 2015

Hi!
Any news here?

@blond blond self-assigned this Jun 20, 2015
@blond blond added in progress and removed backlog labels Jun 20, 2015
@blond
Copy link
Member

blond commented Jun 20, 2015

I created PR with support native mocha reporters by BEM_TMPL_SPECS_REPORTERS#90

@blond blond added review and removed in progress labels Jun 20, 2015
@rndD
Copy link
Contributor

rndD commented Jun 22, 2015

Great! Thank you @blond.

@blond blond closed this as completed in #90 Jun 22, 2015
@blond blond removed the review label Jun 22, 2015
@blond blond added this to the 0.12.0 milestone Jul 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants