Next | Query returned 12 messages, browsing 11 to 20 | previous

History of commit frequency

CVS Commit History:


   2017-11-26 18:20:35 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-relaxed: updated to 1.1.0

1.1.0:
Add support for collecting/displaying hybrid/legacy test suites -- specifically, \ 
by getting out of pytest's way on collection of test_named_files and stripping \ 
test prefixes/suffixes when displaying tests in verbose mode. This makes it \ 
easier to take an existing test suite and slowly port it to 'relaxed' style.
   2017-11-15 10:23:18 by Adam Ciarcinski | Files touched by this commit (5)
Log message:
py-test-relaxed: added version 1.0.0

pytest-relaxed provides 'relaxed' test discovery for pytest.

Has it ever felt strange to you that we put our tests in tests/, then name the
files test_foo.py, name the test classes TestFoo, and finally name the test
methods test_foo_bar? Especially when almost all of the code inside of tests/
is, well, tests?

This pytest plugin takes a page from the rest of Python, where you don't have
to explicitly note public module/class members, but only need to hint as to
which ones are private. By default, all files and objects pytest is told to
scan will be considered tests; to mark something as not-a-test, simply prefix
it with an underscore.

Next | Query returned 12 messages, browsing 11 to 20 | previous