I'd like to run "nosetests --with-coverage" using Ned Batchelder's coverage module, but passing the coverage module the --timid flag. Is there a way (e.g. setting an environment variable) to make coverage run with --timid?
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
You've got two options:
Use a .coveragerc file to provide options to coverage.py
Instead of running coverage inside nose, run nose inside coverage:
(sorry for the Windows syntax if you aren't on Windows)