Implementation of the tarantula fault localisation algorithm in rescript.
npm install tarantula-fl
var tarantula = require('tarantula-fl')
var testData = {
testResults: tarantula.TestData.fromMocha(exampleTestResult),
coverage: tarantula.TestData.fromSolCover(exampleCoverage)
}
score = tarantula.Tarantula.tarantulaScore(testData)
- Build:
npm run build
- Clean:
npm run clean
- Build & watch:
npm run start
- Test:
npm test