Nice! Looks a lot simpler to maintain too. [+1] for pytest
Thanks Ant! On Sun, Apr 23, 2017 at 7:32 PM, anthony shaw <[email protected]> wrote: > Hi, > > I've just raised a PR to exchange unittest2 runner for PyTest in TOX. > Reasons why are mainly after making so many changes to the base code and > having to fight through unittest2 output reports. > https://github.com/apache/libcloud/pull/1041 > > Improvements would include: > > The test output is so much easier to read, > https://travis-ci.org/apache/libcloud/jobs/225048562 > > You can do things like > py.test --lr > > to re-run only the test that failed last time > > py.test -l --full-trace > > to give entire tracebacks on failed tests > > The test patterns are better, you can use parameterized tests, fixture > loading. > > Ant >
