{"id":21458954,"url":"https://github.com/max-te/mutant-report","last_synced_at":"2026-05-01T03:32:57.726Z","repository":{"id":226926520,"uuid":"769981012","full_name":"max-te/mutant-report","owner":"max-te","description":"HTML reports for cargo-mutants","archived":false,"fork":false,"pushed_at":"2024-03-10T16:38:30.000Z","size":480,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T20:38:25.776Z","etag":null,"topics":["mutation-testing","rust"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/max-te.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-10T15:45:54.000Z","updated_at":"2024-03-10T15:47:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"d6652ec3-2b78-48b8-acca-e0b82c92b202","html_url":"https://github.com/max-te/mutant-report","commit_stats":null,"previous_names":["max-te/mutant-report"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/max-te/mutant-report","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-te%2Fmutant-report","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-te%2Fmutant-report/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-te%2Fmutant-report/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-te%2Fmutant-report/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/max-te","download_url":"https://codeload.github.com/max-te/mutant-report/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-te%2Fmutant-report/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32484352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mutation-testing","rust"],"created_at":"2024-11-23T06:25:32.556Z","updated_at":"2026-05-01T03:32:57.707Z","avatar_url":"https://github.com/max-te.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTML Report for `cargo-mutants`\n\nThis tool takes the results of [cargo-mutants](https://mutants.rs/) and displays them in a HTML report based on [Stryker Mutator](https://stryker-mutator.io/)'s [mutation-testing-elements](https://github.com/stryker-mutator/mutation-testing-elements/tree/master/packages/elements).\nWe convert the cargo-mutants output into a Stryker-compatible json format and vendor a modified version of mutation-testing-elements which supports Rust syntax highlighting.\n\n## Building\n\nTo build this tool you need to have [bun](https://bun.sh) installed. Then, run:\n\n```shell\n$ bun install\n$ bun compile\n```\n\nThe result is an executable `dist/converter`.\n\n## Usage\n\nRun cargo-mutants on your Rust project. For test information in the report it is recommended to run the mutation tests with nextest and with the environment variables `NEXTEST_EXPERIMENTAL_LIBTEST_JSON=1 NEXTEST_MESSAGE_FORMAT=libtest-json`.\n(Alternatively, if nextest is not an option, with `cargo +nightly mutants -- -- --format json -Z unstable-options`.)\nYou should have a `mutants.out` directory in your project folder.\nNow, run the `converter serve` from the project folder. This will serve the report on port 3000.\n\nRunning only `converter` will output the report files (`report.json`, `report.html` and `mutant-report.js`) to `mutants.out`. Due to CORS restrictions, you need to serve them via HTTP to be useful.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-te%2Fmutant-report","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmax-te%2Fmutant-report","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-te%2Fmutant-report/lists"}