Open
Description
Feature Request
Define coverage goal: an expected threshold of Coverage for Process and Sub Process
Inbuilt verification tool for checking if the coverage Goal has been achieved and fail the pytest in case its not
Verify Total Coverage:
--verify-cov TOTAL:95
# defines a goal to check if the total coverage is 95%
Define Each file Coverage Goal:
--verify-cov FILE:95
# defines a goal to check if each file has a coverage of 95%
Define File Specific Coverage Goal:
--verify-cov TOTAL:95,FILE:98,myproject/nasty_code.py:60
# defines a goal where the total coverage should be 95%,
# myproject/nasty_code.py coverage threshold of 60%
# and all file except myproject/nasty_code.py should be 98% covered