A pytest plugin which runs SBFL algorithms to detect faults.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pytest-pinpoint-0.2.1.tar.gz
.
File metadata
- Download URL: pytest-pinpoint-0.2.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b710b2c0cf9d10088918abab0a0d696d1b4a3e40d5ad519c0282dd93fb2c7cc0 |
|
MD5 | 76067066439e9b7caf1edfe409f4334d |
|
BLAKE2b-256 | d81bf4beb73fac59606bc115562693c0f0cf4f54a3f792825334449a015a4fe3 |
File details
Details for the file pytest_pinpoint-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: pytest_pinpoint-0.2.1-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96eb7baf0745a8e227b7bc72237fb1a838a8ffe1306c847d6743048b303781dc |
|
MD5 | 0367c30f043bd38ad8d093c1ef0b7b92 |
|
BLAKE2b-256 | 1d37a969a7c01a476573fa321ffe5c03e3a5edcdfb2a185d3de28d92ecf8cc55 |