Skip to content

Latest commit

 

History

History

js_vanilla

JavaScript Vanilla Example

This example is from CodiumAI’s cover-agent repository. The unit tests were generated using CodiumAI’s cover agent, and Mutahunter was used to verify the effectiveness of the test suite.

First generate test coverage report

npm i
npm run test:coverage

Running Mutahunter to analyze the tests

export OPENAI_API_KEY=your-key-goes-here
mutahunter run --test-command "npm run test" --code-coverage-report-path "coverage/coverage.xml" --only-mutate-file-paths "ui.js" --model "gpt-4o-mini"

Check logs/_latest/html for mutation report.