Skip to main content


Project description


The ability to set 'marks' on py.test test methods is pretty cool.
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.
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 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 Distribution

pytest-marks-0.4.tar.gz (2.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page