-
-
Notifications
You must be signed in to change notification settings - Fork 360
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
coverage.json #518
Comments
Is |
@JaKXz yes json-summary is valid. Json and json-summary were producing some json files, however neither matched the format of coverage.json. On the other hand, I just realised that the random hashed json in the generated .nyc_output is the coverage.json that I'm looking for. Is there a way to configure this to fall in the "report-dir" folder? |
One thing I've noticed is that you're using the nyc mocha --compilers js:babel-register app/**/*.js because Not sure if that'll get you what you want in |
@yangli1990 to change the location of the output folder, you should be able to set the command line flag The files output in What is your goal? perhaps there's a report we're missing., or perhaps an additional command line option that prints the combined output of |
@bcoe thanks for responding. |
Adding some notes since they haven't come up yet:
|
@yangli1990 it seems like it might be a nice enhancement to add a command to nyc that lets you combine coverage output into a single file; would definitely consider adding this in the future. Great first contribution if someone wants to give it a shot 👍 |
closing this issue as a duplicate, @yangli1990 will flag you in the new issue. |
thank you @bcoe |
@bcoe link to new issue number? |
Lucky for us @shellscape, there's only one other issue that matches a search for |
@seanpoulter solid search-fu, I was not aware of the |
Expected Behavior
Expect a coverage.json file in the coverage folder
Observed Behavior
No coverage.json
Bonus Points! Code (or Repository) that Reproduces Issue
The text was updated successfully, but these errors were encountered: