Skip to content

Add instructions to view the test coverage reports locally - #468

Merged
seisman merged 1 commit into
masterfrom
coverage
Jun 1, 2020
Merged

seisman merged 1 commit into
masterfrom
coverage

Conversation

@seisman

@seisman seisman commented May 31, 2020 •

Copy link
Copy Markdown
Member

Description of proposed changes

After tests, run coverage html to generate coverage reports in HTML format.
The coverage reports is located in the htmlcov directory by default.

Fixes #463

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If adding new functionality, add an example to docstrings or tutorials.

After tests, run `coverage html` to generate coverage reports in HTML format.
The coverage reports is located in the `htmlcov` directory by default.
@seisman
seisman requested review from leouieda and weiji14 May 31, 2020 23:07
@seisman seisman added the documentation Improvements or additions to documentation label May 31, 2020
@seisman seisman added this to the 0.2.x milestone May 31, 2020

@weiji14 weiji14 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, I always thought local coverage just means looking at the % covered after running make test. Didn't know you could click and see which lines were missed too (other than on codecov). Looks good!

@seisman

seisman commented Jun 1, 2020

Copy link
Copy Markdown
Member Author

me too, didn't know it until a few days ago.

@seisman
seisman merged commit ee4694e into master Jun 1, 2020
@seisman
seisman deleted the coverage branch June 1, 2020 02:54
@weiji14 weiji14 modified the milestones: 0.2.x, 0.1.x Jun 29, 2020

This branch was previously deployed

1 inactive deployment
Preview — 87a187d6 Deployed May 31, 2020 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add instructions to view the test coverage reports locally

2 participants