tests: support running tests with py.test
rename test files as test_*.py, this is how tests are collected by py.test
take into account that test runner might disable log level and patch sys.stdout already
The changes were merged into master. The source branch has been removed.
Because pytest test runner improve productivity in development phase ( supports invoking pdb on failures, easier to read error output, selecting tests to run, profiling, coverage etc) and this is still compatible with our current
python setup.py test"official" way of running tests.
I'm not at all suggesting to switch to pytest as a test framework, but just to make this test suite also compatible with pytest runner for those who like it.
Note that I'm not 100% sure tests are all correct on pytest (
test_slapgridseem to have failures - but not when running individual tests - I suspect pytest just reveal some test isolation or race condition problem ) and that I'm still waiting for tests results on our test infrastructure to confirm it does not introduce problems.
( edit grammar mistake )
No objects, pytest is nice, +1 to use it
yes pytest is cool, let's merge this
mergedToggle commit list