Skip to main content

A pytest plugin which runs SBFL algorithms to detect faults.

Project description

Pytest-PinPoint

PyPI version

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-pinpoint-0.3.0.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

pytest_pinpoint-0.3.0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file pytest-pinpoint-0.3.0.tar.gz.

File metadata

  • Download URL: pytest-pinpoint-0.3.0.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pytest-pinpoint-0.3.0.tar.gz
Algorithm Hash digest
SHA256 aabfbf1e8866db47da9ca1bf68abe13e1ee423610069704e5e665d83bfa96c38
MD5 a52a2745ada143b226802280f116e966
BLAKE2b-256 6adca427137663cb021a212ecf3106cfec78654ea1e1b9cacc89dd2f54f53dd0

See more details on using hashes here.

File details

Details for the file pytest_pinpoint-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pytest_pinpoint-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pytest_pinpoint-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03c9e22e373f640cd6eda9fb2c0aaf9af58d0f33742d6306b8760c1a3cebcb87
MD5 11739f40eae5e44ecd44aad5bd36a1f1
BLAKE2b-256 d38df59afeebb20c9da45b8f48a6638a3458c9f7640515290b6cebf3bc7d3fbd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page