Run a test suite one failing test at a time.
Project description
Introduction
pytest-stepwise is a plugin for pytest that run all tests until a test fails, and then continue next test run from where the last run failed. You may think of it as a combination of the -x option, which exits the test run after a failing test, and the --lf option from pytest-cache, which only runs failing tests.
pytest-stepwise depends on pytest-cache, which will be installed by pip.
How to use it?
Run py.test --stepwise.
Watch the test fail and fix it.
Again, run py.test --stepwise. The test suite will continue to run from right where it was.
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-stepwise-0.1.tar.gz
(2.2 kB
view details)
File details
Details for the file pytest-stepwise-0.1.tar.gz
.
File metadata
- Download URL: pytest-stepwise-0.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0578f2be65de1d532c35e205adb9ddd0aa833917df2cf711cdaa5ae58f82fd4 |
|
MD5 | 5d9ba2037bc4ea04aa6741db9d6fedd6 |
|
BLAKE2b-256 | 4182ba79726770a0115ff6f7be9ecf411d22bedba967dee188d4433dd5acafb6 |