forked from adamgoucher/pytest-marks
msabramo/pytest-marks
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Pytest-Marks ============ The ability to set 'marks' on py.test test methods is pretty cool. @pytest.mark.red def some_test_method(self): # some check-y stuff But if you have a half dozen marks that you want to put on a method, it gets kinda yucky. @pytest.mark.red @pytest.mark.green @pytest.mark.blue @pytest.mark.black @pytest.mark.orange @pytest.mark.pink def some_test_method(self): # some check-y stuff What would be nice is if you could apply them all in a single decorator. @pytest.marks('red', 'green', 'blue', 'black', 'orange', 'pink') def some_test_method(self): # some check-y stuff Well, now you can. To install, either * pip install pytest-marks * python setup.py install
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%