Run all tests without custom markers
Project description
Pytest-nocustom
============
Allows you to run all tests marked without custom markers
Requirements
============
A recent version of pytest is required (>= 2.3.4).
Running all test without custom markers
------------------------------------
In the pytest.ini file, each marker's description should start with 'custom'
[pytest]
markers =
leak: custom - leak tests
manual: custom - tests that should be run manually
inprogress: custom - tests that are yet to be finished
long_running: custom - long running or heavy hitters
Then just run py.test with the ``--nocustom`` option to enable.
This will allow you to skip tests that you've marked, but not tests that use
markers that pytest has provided (such as django_db or tryfirst, trylast, etc.)
============
Allows you to run all tests marked without custom markers
Requirements
============
A recent version of pytest is required (>= 2.3.4).
Running all test without custom markers
------------------------------------
In the pytest.ini file, each marker's description should start with 'custom'
[pytest]
markers =
leak: custom - leak tests
manual: custom - tests that should be run manually
inprogress: custom - tests that are yet to be finished
long_running: custom - long running or heavy hitters
Then just run py.test with the ``--nocustom`` option to enable.
This will allow you to skip tests that you've marked, but not tests that use
markers that pytest has provided (such as django_db or tryfirst, trylast, etc.)