{"id":49532589,"url":"https://github.com/exercism/moonscript-test-runner","last_synced_at":"2026-05-02T08:35:17.542Z","repository":{"id":330327106,"uuid":"1122217544","full_name":"exercism/moonscript-test-runner","owner":"exercism","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-09T17:27:13.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-09T19:30:10.178Z","etag":null,"topics":["exercism-test-runner","exercism-tooling","maintained-autonomous"],"latest_commit_sha":null,"homepage":null,"language":"MoonScript","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["exercism"],"custom":["https://exercism.org/donate"]}},"created_at":"2025-12-24T09:50:55.000Z","updated_at":"2026-04-09T17:27:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/exercism/moonscript-test-runner","commit_stats":null,"previous_names":["exercism/moonscript-test-runner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/exercism/moonscript-test-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fmoonscript-test-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fmoonscript-test-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fmoonscript-test-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fmoonscript-test-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exercism","download_url":"https://codeload.github.com/exercism/moonscript-test-runner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fmoonscript-test-runner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32528453,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["exercism-test-runner","exercism-tooling","maintained-autonomous"],"created_at":"2026-05-02T08:35:16.338Z","updated_at":"2026-05-02T08:35:17.523Z","avatar_url":"https://github.com/exercism.png","language":"MoonScript","funding_links":["https://github.com/sponsors/exercism","https://exercism.org/donate"],"categories":[],"sub_categories":[],"readme":"# Exercism MoonScript Test Runner\n\nThe Docker image to automatically run tests on [MoonScript](https://github.com/exercism/moonscript) solutions submitted to [Exercism].\n\n## Added LuaRocks\n\nFor student solutions, these additional luarocks have been added to the test-runner image:\n\n* [lua-tz](https://luarocks.org/modules/anaef/lua-tz)\n* [date](https://luarocks.org/modules/tieske/date)\n* [luatz](https://luarocks.org/modules/daurnimator/luatz)\n\n## Run the test runner\n\nTo run the tests of a single solution, do the following:\n\n1. Open a terminal in the project's root\n2. Run `bin/run.moon ${exercise_slug} ${solution_dir} ${output_dir}`\n\nOnce the test runner has finished, its results will be written to `${output_dir}/results.json`.\n\n## Run the test runner on a solution 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 a single solution using the Docker image, do the following:\n\n1. Open a terminal in the project's root\n2. Run `./bin/run-in-docker.sh ${exercise_slug} ${solution_dir} ${output_dir}`\n\nOnce the test runner has finished, its results will be written to `${output_dir}/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/${test_name}/expected_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 update the affected `tests/${test_name}/expected_results.json` file(s).\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/${test_name}/expected_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 update the affected `tests/${test_name}/expected_results.json` file(s).\n\n## Benchmarking\n\n**_NOTE: not implemented_**\n\nThere are two scripts you can use to benchmark the test runner:\n\n1. `./bin/benchmark.sh`: benchmark the test runner code\n2. `./bin/benchmark-in-docker.sh`: benchmark the Docker image\n\nThese scripts can give a rough estimation of the test runner's performance.\nBear in mind though that the performance on Exercism's production servers is often lower.\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.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexercism%2Fmoonscript-test-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexercism%2Fmoonscript-test-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexercism%2Fmoonscript-test-runner/lists"}