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.2.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

pytest_pinpoint-0.2.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest-pinpoint-0.2.0.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

Hashes for pytest-pinpoint-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f736fc6b7df59e06e089fbaa9ac1ca33a0ff94c3a9029a99c83bb36247c47c4e
MD5 bbe699b61611044ddb704c1ff972cb79
BLAKE2b-256 63a96f0a1a13a60dbdb14b3448119cc5c2ca1a8e2e1e41e2f442ccddfa09245f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pinpoint-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.9 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

Hashes for pytest_pinpoint-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85bd55db6d7891504051fdacb0828b25511e17eb8c239d6c9aa3bbcde6416f90
MD5 a41e78e96f478dfdb2fb2365b2d18e9d
BLAKE2b-256 4a31428946b09074cdba2263664057f4059a9bdba7ec8d1f700fc03ccd8e23ae

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