Skip to main content

pytest plugin to use nose @attrib marks decorators and pick tests based on attributes and partially uses nose-attrib plugin approach

Project description

pytest-nose-attrib

The pytest-nose-attrib_ plugin serves two purposes. It adds lets to use nose attribites marks with @attrib decorator. And to pick the tests with that attribues. It could be usefull when running nose tests with pytest.

Installation

Install the plugin with:

pip install pytest-nose-attrib

Usage examples

To use the plugin, the -a CLI argument has been provided.

Using pytest-nose-attrib, only tests marked with method='get' can be run using:

$ py.test -a "method=get"

LICENSE

MIT License

This code falls under the MIT License. Please note that some files or content may be copied from other places and have their own licenses. Dependencies that are being used to generate the databases also have their own licenses.

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-nose-attrib-0.1.1.tar.gz (3.3 kB view hashes)

Uploaded Source

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