Struggling with unittest discovery - how to structure my project test suite

Paul Moore p.f.moore at gmail.com
Fri Dec 20 16:02:57 EST 2013


On Friday, 20 December 2013 17:41:40 UTC, Serhiy Storchaka  wrote:
> 20.12.13 16:47, Paul Moore написав(ла):
>
> > 1. I can run all the tests easily on demand.
> > 2. I can run just the functional or unit tests when needed.
> 
> python -m unittest discover -s tests/functional
> python -m unittest discover tests/functional

Hmm, I could have sworn I'd tried that. But you're absolutely right.

Thanks, and sorry for the waste of bandwidth...
Paul



More information about the Python-list mailing list