{"id":20082127,"url":"https://github.com/exercism/java-test-runner","last_synced_at":"2025-05-06T00:31:37.265Z","repository":{"id":40387249,"uuid":"204976696","full_name":"exercism/java-test-runner","owner":"exercism","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-04T07:40:40.000Z","size":336,"stargazers_count":9,"open_issues_count":5,"forks_count":14,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-20T11:24:22.895Z","etag":null,"topics":["community-contributions-accepted","exercism-test-runner","exercism-tooling","maintained"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/exercism.png","metadata":{"funding":{"github":["exercism"],"custom":["https://exercism.org/donate"]},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-08-28T16:31:56.000Z","updated_at":"2025-04-04T07:40:42.000Z","dependencies_parsed_at":"2025-04-21T10:45:22.286Z","dependency_job_id":null,"html_url":"https://github.com/exercism/java-test-runner","commit_stats":{"total_commits":69,"total_committers":15,"mean_commits":4.6,"dds":0.7681159420289855,"last_synced_commit":"280ae10761abe08b8930854acb6c30fa51fb809a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fjava-test-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fjava-test-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fjava-test-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fjava-test-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exercism","download_url":"https://codeload.github.com/exercism/java-test-runner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251446964,"owners_count":21590799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["community-contributions-accepted","exercism-test-runner","exercism-tooling","maintained"],"created_at":"2024-11-13T15:42:02.932Z","updated_at":"2025-05-06T00:31:36.650Z","avatar_url":"https://github.com/exercism.png","language":"Java","readme":"# Exercism Java test runner\n\nAn [Exercism test runner][test-runner-docs] automatically verifies if a submission passes all the tests.\n\nThis repository contains the Java test runner, which implements the V3 spec of the [test runner interface][test-runner-interface-docs].\n\n## Run the test runner\n\nTo run the tests of an arbitrary exercise, do the following:\n\n1. Open a terminal in the project's root\n2. Run `./bin/run.sh \u003cexercise-slug\u003e \u003csolution-dir\u003e \u003coutput-dir\u003e`\n\nOnce the test runner has finished, its results will be written to `\u003coutput-dir\u003e/results.json`.\n\n## Run the test runner on an exercise using Docker\n\n_This script is provided for testing purposes, as it mimics how test runners run in Exercism's production environment._\n\nTo run the tests of an arbitrary exercise using the Docker image, do the following:\n\n1. Open a terminal in the project's root\n2. Run `./bin/run-in-docker.sh \u003cexercise-slug\u003e \u003csolution-dir\u003e \u003coutput-dir\u003e`\n\nOnce the test runner has finished, its results will be written to `\u003coutput-dir\u003e/results.json`.\n\n## Run the tests\n\nTo run the tests to verify the behavior of the test runner, do the following:\n\n1. Open a terminal in the project's root\n2. Run `./bin/run-tests.sh`\n\nThese are [golden tests][golden] that compare the `results.json` generated by running the current state of the code \nagainst the \"known good\" `tests/\u003ctest-name\u003e/expected_results.json`.\nAll files created during the test run itself are discarded.\n\nWhen you've made modifications to the code that will result in a new \"golden\" state, \nyou'll need to generate and commit a new `tests/\u003ctest-name\u003e/expected_results.json` file.\n\n## Run the tests using Docker\n\n_This script is provided for testing purposes, as it mimics how test runners run in Exercism's production environment._\n\nTo run the tests to verify the behavior of the test runner using the Docker image, do the following:\n\n1. Open a terminal in the project's root\n2. Run `./bin/run-tests-in-docker.sh`\n\nThese are [golden tests][golden] that compare the `results.json` generated by running the current state of the code \nagainst the \"known good\" `tests/\u003ctest-name\u003e/expected_results.json`. \nAll files created during the test run itself are discarded.\n\nWhen you've made modifications to the code that will result in a new \"golden\" state, \nyou'll need to generate and commit a new `tests/\u003ctest-name\u003e/expected_results.json` file.\n\n[test-runner-docs]: https://exercism.org/docs/building/tooling/test-runners\n[test-runner-interface-docs]: https://exercism.org/docs/building/tooling/test-runners/interface\n[golden]: https://ro-che.info/articles/2017-12-04-golden-tests\n[exercism]: https://exercism.org\n","funding_links":["https://github.com/sponsors/exercism","https://exercism.org/donate"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexercism%2Fjava-test-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexercism%2Fjava-test-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexercism%2Fjava-test-runner/lists"}