{"id":20082078,"url":"https://github.com/exercism/pyret-test-runner","last_synced_at":"2025-05-06T00:31:34.717Z","repository":{"id":184764574,"uuid":"667846381","full_name":"exercism/pyret-test-runner","owner":"exercism","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-01T23:10:04.000Z","size":87,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-29T05:28:29.143Z","etag":null,"topics":["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":{"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},"funding":{"github":["exercism"],"custom":["https://exercism.org/donate"]}},"created_at":"2023-07-18T12:39:12.000Z","updated_at":"2025-03-01T23:10:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"43c589d2-e239-4729-b825-b0cac66e6f19","html_url":"https://github.com/exercism/pyret-test-runner","commit_stats":{"total_commits":19,"total_committers":4,"mean_commits":4.75,"dds":0.5263157894736843,"last_synced_commit":"d02a3fae7f1fb146c6cc6840ce113c7ca7ed6150"},"previous_names":["exercism/pyret-test-runner"],"tags_count":0,"template":false,"template_full_name":"exercism/generic-test-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fpyret-test-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fpyret-test-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fpyret-test-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fpyret-test-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exercism","download_url":"https://codeload.github.com/exercism/pyret-test-runner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252210402,"owners_count":21712192,"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":["exercism-test-runner","exercism-tooling","maintained-autonomous"],"created_at":"2024-11-13T15:41:44.495Z","updated_at":"2025-05-06T00:31:34.370Z","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 Pyret Test Runner\n\nThe Docker image to automatically run tests on [Pyret] solutions submitted to [Exercism].\n\n## Run the test runner\n\nThis test runner uses the [pyret-npm] NPM package which requires installing [NodeJS][nodejs]. The pyret-npm package works well on Linux and MacOS platforms, but Windows users should use [the Windows Subsystem for Linux][wsl] to run the test runner directly. To 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[pyret]: https://pyret.org/\n[pyret-npm]: https://www.npmjs.com/package/pyret-npm\n[nodejs]: https://nodejs.org/en\n[wsl]: https://learn.microsoft.com/en-us/windows/wsl/about\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%2Fpyret-test-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexercism%2Fpyret-test-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexercism%2Fpyret-test-runner/lists"}