summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-11-15 09:23:17 +0000
committeradam <adam@pkgsrc.org>2017-11-15 09:23:17 +0000
commit63a486e5565ae542f823ff6e135c57e71fb8db58 (patch)
treedc7d9b6d46a92a2f8accc0c7170f0c3adffad22e /multimedia
parentdfa96de4263d3ed719204fd3be51cb6bdc301e00 (diff)
downloadpkgsrc-63a486e5565ae542f823ff6e135c57e71fb8db58.tar.gz
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.
Diffstat (limited to 'multimedia')
0 files changed, 0 insertions, 0 deletions