{"id":20082116,"url":"https://github.com/exercism/jq-test-runner","last_synced_at":"2025-05-06T00:31:36.595Z","repository":{"id":58728961,"uuid":"533400953","full_name":"exercism/jq-test-runner","owner":"exercism","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-02T18:12:36.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-29T05:28:28.199Z","etag":null,"topics":["community-contributions-accepted","exercism-test-runner","exercism-tooling","maintained-autonomous"],"latest_commit_sha":null,"homepage":"","language":"Shell","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":"2022-09-06T16:04:01.000Z","updated_at":"2025-03-02T18:12:32.000Z","dependencies_parsed_at":"2023-02-04T06:15:17.076Z","dependency_job_id":"9176ea58-5c40-4c26-a975-ac3824e092cb","html_url":"https://github.com/exercism/jq-test-runner","commit_stats":{"total_commits":26,"total_committers":5,"mean_commits":5.2,"dds":0.3846153846153846,"last_synced_commit":"dd0511e354ae968b0b6af9a07e9a6995eff9f7d1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":"exercism/generic-test-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fjq-test-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fjq-test-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fjq-test-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fjq-test-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exercism","download_url":"https://codeload.github.com/exercism/jq-test-runner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252209943,"owners_count":21712104,"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-autonomous"],"created_at":"2024-11-13T15:41:58.723Z","updated_at":"2025-05-06T00:31:36.577Z","avatar_url":"https://github.com/exercism.png","language":"Shell","funding_links":["https://github.com/sponsors/exercism","https://exercism.org/donate"],"categories":[],"sub_categories":[],"readme":"# Exercism `jq` Test Runner\n\nThe Docker image to automatically run tests on `jq` solutions submitted to [Exercism].\n\nThis is essentially a copy of the awk-test-runner.\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 against the \"known good\" `tests/\u003ctest-name\u003e/results.json`. All 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, you'll need to generate and commit a new `tests/\u003ctest-name\u003e/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 against the \"known good\" `tests/\u003ctest-name\u003e/results.json`. All 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, you'll need to generate and commit a new `tests/\u003ctest-name\u003e/results.json` file.\n\n[test-runners]: https://github.com/exercism/docs/tree/main/building/tooling/test-runners\n[golden]: https://ro-che.info/articles/2017-12-04-golden-tests\n[exercism]: https://exercism.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexercism%2Fjq-test-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexercism%2Fjq-test-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexercism%2Fjq-test-runner/lists"}