./devel/py-test-relaxed, Relaxed test discovery/organization for pytest

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2019Q1, Version: 1.1.4, Package name: py27-test-relaxed-1.1.4, Maintainer: pkgsrc-users

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.


Required to run:
[lang/py-six] [lang/python27] [devel/py-setuptools]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: c27014e709a83c5b4e087023b9573f30d8aec3e1
RMD160: 6d310eba8aec1c1d101c3d9b8401f7648ba077b2
Filesize: 26.225 KB

Version history: (Expand)