Home

Awesome

BugsInPy

BugsInPy: A Database of Existing Bugs in Python Programs to Enable Controlled Testing and Debugging Studies. The objective of this work is to support reproducible research on real-world Python projects.

Steps to set up BugsInPy

  1. Clone BugsInPy:
    • git clone https://github.com/soarsmu/BugsInPy
  2. Add BugsInPy executables path:
    • export PATH=$PATH:<bugsinpy_path>/framework/bin

BugsInPy Command

CommandDescription
infoGet the information of a specific project or a specific bug
checkoutCheckout buggy or fixed version project from dataset
compileCompile sources from project that have been checkout
testRun test case that relevant with bug, single-test case from input user, or all test cases from project
coverageRun code coverage analysis from test case that relevant with bug, single-test case from input user, or all test cases
mutationRun mutation analysis from input user or test case that relevant with bug
fuzzRun a test input generation from specific bug

Example BugsInPy Command