Skip to content

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.

@sonarqubecloud
Copy link

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

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