Closed cooperlees closed 3 years ago
ptr
Expected --print-cov to show me the coverage even if the setup.* files do no have ``.
--print-cov
Fix the code to print coverage if the argument is true
If we have no required_coverage --print-cov is not taken into account.
required_coverage
ptr_params = { "entry_point_module": "ansible_shed/main", "test_suite": "ansible_shed.tests.base", "test_suite_timeout": 300, # "required_coverage": { # "aioexabgp/announcer/__init__.py": 50, # }, "run_flake8": True, "run_black": True, "run_mypy": True, }
Comment out required_coverage and try getting coverage to print.
How is
ptr
not doing what you expect?Expected
--print-cov
to show me the coverage even if the setup.* files do no have ``.What is your suggestion to make this better?
Fix the code to print coverage if the argument is true
Code/Bug example?
If we have no
required_coverage
--print-cov
is not taken into account.How can a developer reproduce this?
Comment out
required_coverage
and try getting coverage to print.