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

Add local coverage calculation #324

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Add local coverage calculation #324

wants to merge 8 commits into from

Conversation

jspaaks
Copy link
Member

@jspaaks jspaaks commented Mar 12, 2021

List of related issues or pull requests

Refs: -

Describe the changes made in this pull request

Added local coverage calculation

Instructions to review the pull request

in activated venv,

pytest
  • should run the unit tests, then print an overview of locally calculated coverage
  • coverage/.coverage should appear
  • coverage/coverage.xml should appear
  • coverage/htmlcov/ should appear
  • coverage/xunit-result.xml should appear
  • firefox coverage/htmlcov/index.html should open Firefox with html formatted report on coverage

@jspaaks jspaaks marked this pull request as ready for review March 12, 2021 12:04
Copy link
Member

@sverhoeven sverhoeven left a comment

Choose a reason for hiding this comment

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

Also adjust coverage path at

sonar.python.coverage.reportPaths=coverage.xml
otherwise SonarCloud will not find it.

@sonarcloud
Copy link

sonarcloud bot commented Mar 16, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

.coveragerc Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants