Page MenuHomePhabricator

coverage with unittest only covers 33% of code
Closed, InvalidPublicBUG REPORT

Description

List of steps to reproduce:
coverage run -m unittest discover -vv -p \"*_tests.py\";

What happens?:
coverage with unittest only covers 33% of code whereas pytest covers 75%

Software version:

  • pytest 6.1.1, 7.0.1, 7.1.1
  • coverage 5.5, 6.2, 6.3.2