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 details)

Uploaded Source

File details

Details for the file pytest-nose-attrib-0.1.1.tar.gz.

File metadata

  • Download URL: pytest-nose-attrib-0.1.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for pytest-nose-attrib-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cefc9279951525138c4c01c17cde299e0a57f5de9e01c57965b432f20bca6995
MD5 8734c774ff0d621356344c2337fd26f4
BLAKE2b-256 e481778ebfe57f89de2ec24208fef0dd549b588c1bdd521165c41a5fb7304170

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