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

Uploaded Source

Built Distribution

pytest_pinpoint-0.2.2-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest-pinpoint-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 f514bd229705e663829bdac3a27f7a78fff67010f2548f619286b56be58a587e
MD5 93498fe3c4567266afbcf3a3d7351477
BLAKE2b-256 e43c88d992291d6b4133d2754ca56c6e13271633721378ccb1f7b40f8cd7e729

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pinpoint-0.2.2-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

Hashes for pytest_pinpoint-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fae23d379a9883b284b6e6673d8b651219bb57be7184132db0c2975729240703
MD5 0681b2c40cff6aefd3ac9c268fffa1a5
BLAKE2b-256 025a44f54660dd1fa1342b57eff941a6400dcc9330b28bf610cb680d1b0e4325

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