You can mark a test as slow using: @pytest.mark.slow def test_something(): ... Use the option "--runslow" to tell the test runner to also include slow tests: py.test --runslow ... |
||
---|---|---|
.. | ||
integration | ||
unit | ||
__init__.py | ||
conftest.py | ||
factories.py |
You can mark a test as slow using: @pytest.mark.slow def test_something(): ... Use the option "--runslow" to tell the test runner to also include slow tests: py.test --runslow ... |
||
---|---|---|
.. | ||
integration | ||
unit | ||
__init__.py | ||
conftest.py | ||
factories.py |