FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add include option to add additional coverage to the report by jesseditson · Pull Request #79 · ember-cli-code-coverage/ember-cli-code-coverage · GitHub

Add include option to add additional coverage to the report - #79

Open
jesseditson wants to merge 1 commit into
ember-cli-code-coverage:masterfrom
jesseditson:include-coverage
Open

Add include option to add additional coverage to the report#79
jesseditson wants to merge 1 commit into
ember-cli-code-coverage:masterfrom
jesseditson:include-coverage

Conversation

Copy link
Copy Markdown
Contributor

This PR adds an include option to the config hash that will allow users to include additional coverage to the output.

My current setup is as follows:

  • I have application server code that lives in server
  • I have a suite of tests for app server code that lives in test
  • I run server tests on rebuild using an in-repo addon
  • The server tests output to coverage-server, which I'd like to include in the coverage report

This option allows me to specify the coverage-server/coverage-final.json (generated via nyc), and get accurate coverage on my entire app, instead of having 2 different coverage reports.

Copy link
Copy Markdown
Contributor Author

Relates to: ember-cli/rfcs#81 - with that RFC and this PR, tests & coverage would work across both the app and the server code

Copy link
Copy Markdown
Collaborator

This seems okay to me. @rwjblue @kategengler @kellyselden thoughts? I would definitely like to see some tests added here, but I am not opposed to the idea of this feature.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL