Pytest-PinPoint
A pytest plugin which runs SBFL algorithms to detect faults.
First five algorithms are based on what Spencer Pearson, José Campos, René Just, Gordon Fraser, Rui Abreu, Michael D. Ernst, Deric Pang, Benjamin Keller discribed in Evaluating and improving fault localization.
reference
Pearson, S., Campos, J., Just, R., Fraser, G., Abreu, R., Ernst, M. D., ... & Keller, B. (2017, May). Evaluating and improving fault localization. In 2017 IEEE/ACM 39th International Conference on Software Engineering (ICSE) (pp. 609-620). IEEE.
required installation
pip install git+https://github.com/nedbat/pytest-cov.git@nedbat/contexts
pip install coverage>=5.1
run pytest-pinpoint
General usage, top three ranked results:
python -m pytest --cov=. --cov-context --cov-branch --pinpoint
Show all ranked results:
python -m pytest --cov=. --cov-context --cov-branch --pinpoint --show_all
Show bottom three ranked results:
python -m pytest --cov=. --cov-context --cov-branch --pinpoint --show_last_three
Release files for pytest-pinpoint 0.3.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-pinpoint-0.3.0.tar.gz | 17.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_pinpoint-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.9 kB
Release files / pytest-pinpoint-0.3.0.tar.gz
| Download URL | pytest-pinpoint-0.3.0.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aabfbf1e8866db47da9ca1bf68abe13e1ee423610069704e5e665d83bfa96c38
|
|
BLAKE2b-256 checksum How to use checksums |
6adca427137663cb021a212ecf3106cfec78654ea1e1b9cacc89dd2f54f53dd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.7.4
|
Release files / pytest_pinpoint-0.3.0-py3-none-any.whl
| Download URL | pytest_pinpoint-0.3.0-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
03c9e22e373f640cd6eda9fb2c0aaf9af58d0f33742d6306b8760c1a3cebcb87
|
|
BLAKE2b-256 checksum How to use checksums |
d38df59afeebb20c9da45b8f48a6638a3458c9f7640515290b6cebf3bc7d3fbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.7.4
|