pytest-notimplemented
A pytest plugin providing a marker for not implemented features and tests.
@mark.notimplemented
The notimplemented marker is designed to be used for tests which should fail because
the feature is not yet implemented.
As tests on not implemented features should fail, it is just syntatic sugar for a
standard xfail marker with a "Not implemented" message.
from pytest import mark
@mark.notimplemented
def test_foo(foo):
assert foo.baz()
@mark.xfail("Not implemented")
def test_bar(bar):
assert bar.baz()
@mark.notwritten
The notwritten marker is is designed to be used for tests which are declared but not
defined. Those kind of tests are just placeholders to help the developer remember that
the behavior must be tested. And that marker helps on it.
As not written tests (or tests not finished to write) are impredictable, they must be
skipped. That marker is just syntatic sugar for a standard skip marker with a
"Not written" message.
from pytest import mark
@mark.notwritten
def test_foo(foo):
pass
@mark.skip("Not written")
def test_bar(bar):
pass
Release files for pytest-notimplemented 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest-notimplemented-1.0.0.tar.gz | 14.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_notimplemented-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.6 kB
Release files / pytest-notimplemented-1.0.0.tar.gz
| Download URL | pytest-notimplemented-1.0.0.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
303d7390bcee50b291af6f16bbae8e42a7116fcd09eca3ef7ae1c13045955693
|
|
BLAKE2b-256 checksum How to use checksums |
c4d4b37d24eea42f48311842e2068e80a11ffb12f86e71940763400897af1be5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.7.4 Linux/5.2.0-arch2-1-ARCH
|
Release files / pytest_notimplemented-1.0.0-py3-none-any.whl
| Download URL | pytest_notimplemented-1.0.0-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e2103d597c8966e05e11b492bdeed841dd2bfbed7b7f7629f0e63036f396fb2e
|
|
BLAKE2b-256 checksum How to use checksums |
3031c5a976a8c930aa4356ad497372cec82238ff88a0c01c7bd5723d192bfc98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.7.4 Linux/5.2.0-arch2-1-ARCH
|