Skip to main content

UNKNOWN

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pytest_marks-0.3-py2.7.egg (3.2 kB view details)

Uploaded Source

File details

Details for the file pytest_marks-0.3-py2.7.egg.

File metadata

File hashes

Hashes for pytest_marks-0.3-py2.7.egg
Algorithm Hash digest
SHA256 ca01768cac42b86cc281266cac41422b9510a9463415269e90e32cf3cccabd70
MD5 d315847cdeba51b936afddddcb9db562
BLAKE2b-256 38c38f3eda08b270e22ef030f01c2e7587890e283f36f43dfc5d3436168d3a13

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page