{"id":19680954,"url":"https://github.com/codewars/codewars-rackunit","last_synced_at":"2026-03-05T10:01:53.349Z","repository":{"id":73890024,"uuid":"176349789","full_name":"codewars/codewars-rackunit","owner":"codewars","description":"RackUnit test runner for Codewars","archived":false,"fork":false,"pushed_at":"2019-04-06T19:07:09.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-02-27T07:11:59.296Z","etag":null,"topics":["code-runner","racket","test-reporting","test-runner"],"latest_commit_sha":null,"homepage":"","language":"Racket","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codewars.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-03-18T18:48:59.000Z","updated_at":"2020-10-06T02:13:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3da2acb-6c7f-403f-9877-b1ae08309a0f","html_url":"https://github.com/codewars/codewars-rackunit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codewars/codewars-rackunit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewars%2Fcodewars-rackunit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewars%2Fcodewars-rackunit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewars%2Fcodewars-rackunit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewars%2Fcodewars-rackunit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewars","download_url":"https://codeload.github.com/codewars/codewars-rackunit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewars%2Fcodewars-rackunit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30118932,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T09:35:22.236Z","status":"ssl_error","status_checked_at":"2026-03-05T09:35:20.028Z","response_time":93,"last_error":"SSL_read: 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":["code-runner","racket","test-reporting","test-runner"],"created_at":"2024-11-11T18:06:32.658Z","updated_at":"2026-03-05T10:01:53.274Z","avatar_url":"https://github.com/codewars.png","language":"Racket","funding_links":[],"categories":[],"sub_categories":[],"readme":"# codewars-rackunit\n\nWrapping Rackunit test result for Codewars.\n\nThis package contains a module `codewars/rackunit`, providing a function \n`run-tests`. It wraps the rackunit's check, makes the test output fit in\n(a subset of) Codewars output format.\n\n## Install\n\n```\nraco pkg install https://github.com/Codewars/codewars-rackunit.git\n``` \n\n## Usage\n\n`run-tests` takes 2 arguments, `test` and an optional keyword `#:mode` \nargument `mode`. In other words, it looks like `(run-tests test #:mode [mode])`.\n\nThe `test` argument is a `test-suite?` or `test-case?` value. It is the \ntest run.\n\nThe `mode` argument decides how the result be outputed. It can be one of\n`'quiet`, `'simple`, `'all` or be a list of symbols. Each kind of value \ncorresponds to a mode of the output:\n\nThe quiet mode is the default value for `mode`. In this mode, output looks\nlike \"Expected \\*\\*\\*, but instead got \\*\\*\\*\". If the check has message,\nthe message is shown in the next line.\n\nThe other 3 mode display the result more RackUnit-like. They display\nmode-specific `check-info`s line by line. The simple mode displays the\nname, message, actual and expected infos. The all mode displays all the\n`check-info`s.\n\nWhen `mode` is a list of symbols, it is used as a filter for the names \nof `check-info` stack. You can use this mode to do some customization.\n\n## Some Notes\n\n`run-tests` here is just a wrapper for the result of RackUnit's tests.\nPlease read [RackUnit document](https://docs.racket-lang.org/rackunit/index.html)\nto get more information about RackUnit and its api.\n\nIf you want to customize the result output, use [`define-check`](https://docs.racket-lang.org/rackunit/api.html#(form._((lib._rackunit%2Fmain..rkt)._define-check)))\nand [`with-check-info`](https://docs.racket-lang.org/rackunit/api.html#(form._((lib._rackunit%2Fmain..rkt)._with-check-info))) \nto add custom infos; and the custom mode of `run-tests` to display the\ninfo you need.\n\nA wrapper **function** for custom check will break the location `check-info`\nof checks. If you need location information displayed, please use \n`define-check` or a wrapper **macro**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewars%2Fcodewars-rackunit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewars%2Fcodewars-rackunit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewars%2Fcodewars-rackunit/lists"}