Path to this page:
./
devel/py-test-relaxed,
Relaxed test discovery/organization for pytest
Branch: pkgsrc-2018Q2,
Version: 1.1.2,
Package name: py27-test-relaxed-1.1.2,
Maintainer: pkgsrc-userspytest-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.
Required to run:[
devel/py-setuptools] [
devel/py-test] [
devel/py-decorator]
Master sites:
SHA1: c36a9704aaf35e36a71d97e36c7ba75bb33b3b72
RMD160: 2dcf2ea9b38ec66eb76dac657a51b30e5320ef54
Filesize: 26.223 KB
Version history: (Expand)
- (2018-07-03) Package added to pkgsrc.se, version py27-test-relaxed-1.1.2 (created)