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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pytest-nose-attrib-0.1.0.tar.gz
.
File metadata
- Download URL: pytest-nose-attrib-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46ca81254e6a882faa6b4496f789d49f2d2fe083eb1f79023804a0d0499f4745 |
|
MD5 | 6cb976cdccbb7219187f6899f7c30daa |
|
BLAKE2b-256 | 60d7021361fe8604369a359d996ad8eb8fcd413f75d4e349c4ddd1f11af8b433 |