Microservices Classroomnotes 23/Feb/2022

Integration tests for the Catalog Item

Measure Code Coverage

  • For this lets use a package called as pytest-cov
    Preview
  • Refer Here for the documenation
    Preview
  • Refer Here for the changes done
  • We have generated the html code coverage report by executing the following command pytest --cov-config=.coveragerc --cov=. --cov-report html .

Preview
* If you donot need an html report
Preview

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner