{"id":15981422,"url":"https://github.com/boxed/mutation-testing-workshop","last_synced_at":"2026-05-18T10:39:27.829Z","repository":{"id":140164319,"uuid":"225366615","full_name":"boxed/mutation-testing-workshop","owner":"boxed","description":null,"archived":false,"fork":false,"pushed_at":"2020-05-21T14:54:33.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-04T14:00:41.442Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boxed.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":"2019-12-02T12:10:26.000Z","updated_at":"2020-05-21T14:54:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"0af5f7ff-063c-45ba-8a0f-5e3c8cdcdf7d","html_url":"https://github.com/boxed/mutation-testing-workshop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/boxed/mutation-testing-workshop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxed%2Fmutation-testing-workshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxed%2Fmutation-testing-workshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxed%2Fmutation-testing-workshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxed%2Fmutation-testing-workshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boxed","download_url":"https://codeload.github.com/boxed/mutation-testing-workshop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxed%2Fmutation-testing-workshop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33175255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-08T00:44:03.362Z","updated_at":"2026-05-18T10:39:22.821Z","avatar_url":"https://github.com/boxed.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mutation testing workshop\n\n## Setup\n\n\n```bash\ncurl https://raw.githubusercontent.com/boxed/mutation-testing-workshop/master/start.sh | bash\ncd scientist\nsource venv/bin/activate\n```\n\n\n## Run tests\n\n```bash\npython -m hammett\n```\n\n# Run coverage report\n\n```bash\npython -m pytest --cov scientist\n```\n\n## Run mutation testing\n\n```bash\nmutmut run\n```\n\nNow write tests in `tests/test_scientist.py` and rerun mutmut until you have no surviving mutants!\n\nCommands:\n\n- `mutmut show`: see the list of mutants\n- `mutmut show 4`: show mutant 4\n- `mutmut show all`: see all the mutant diffs\n- `mutmut apply 4`: apply the mutant 4 to disk\n- `python -m pytest`: run tests\n\n\nTips:\n\n- It can be useful to look at a few mutants at a time, especially if they are on the same line\n- Mutation testing can be played in two ways:\n  - Look at the diff, write a test that passes, do `mutmut run` to see if you wrote the test properly\n  - Apply the mutant on disk, write a test that fails, revert the mutant, check that the test succeeds. You want to do `mutmut run` after too.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxed%2Fmutation-testing-workshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboxed%2Fmutation-testing-workshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxed%2Fmutation-testing-workshop/lists"}