There's no way to specify --show-missing in the .coveragerc file

Ned Batchelder avatarNed Batchelder created an issue

I wonder why?

Comments (8)

  1. Michael Palumbo

    Is that really fixed because I am having the same problem. Setting show_missing = True in the .coveragerc file has no effect...

    I run coverage using nosetests and nose-cove: nosetests --with-doctest --with-cov --cov-config .coveragerc

  2. Ned Batchelder

    Michael Palumbo Unfortunately, nose-cov provides its own value for show-missing, based on the command-line arguments, so it always overrides the value in the .coveragerc. One solution is to avoid nose-cov, and use coverage to run nosetests directly.

  3. Michael Palumbo

    All right thank you. I tried using only coverage but I could not make it work right with nosetests and I want to use nosetests. Any advice to use only nosetests and coverage?

  4. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.