Skip to main content

A pytest plugin which runs SBFL algorithms to detect faults.

Project description

Generalized-Fault-Localization

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

python -m pytest --cov=. --cov-context --cov-branch --pinpoint

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_pinpoint-0.1.1-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest-pinpoint-0.1.1.tar.gz
  • Upload date:
  • Size: 3.6 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.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for pytest-pinpoint-0.1.1.tar.gz
Algorithm Hash digest
SHA256 33e486f6055c5536b5975b28fd9d444db698d0d6f5d9ea5025895a6cf32ce9cf
MD5 e9b65326d02738efa16b1a296949a257
BLAKE2b-256 5d945a1b07bb779f16a6ebb7f3c26b724c0ca09baebd7d8301ca662ecc1bd831

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_pinpoint-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.3 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.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for pytest_pinpoint-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 355cb9bfc9660922c073988c06bffa884349a40ce534e55d34d3bb4dcb0b52ed
MD5 7a0362bb1de7639e4b2026e5f391466f
BLAKE2b-256 f15d324f2d183c0ee2548f41f6222a4e7238b93efe176988411f82d0e49a04b9

See more details on using hashes here.

Supported by

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