Originally reported by Anonymous
A la python -m switch, it'd be helpful to pass a the name of a module to cover, instead of just a file.
The use case here is integration with unittest's test discovery. As of 2.7 can do python -m unittest discover
and it will find your tests. There's no way AFAICT to simulate this correctly - trying to pass '/usr/lib/python2.7/unittest/init.py' as run's argument messes up import paths.
Currently, I wrote a little stub that just calls unittest's main(), but figuring this out how to do this was slightly annoying.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4