{"id":15387402,"url":"https://github.com/rhysd/gotest","last_synced_at":"2025-04-15T20:16:31.364Z","repository":{"id":66059545,"uuid":"157677816","full_name":"rhysd/gotest","owner":"rhysd","description":"Tiny single script to colorize `go test`","archived":false,"fork":false,"pushed_at":"2023-02-16T03:01:26.000Z","size":8,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T20:16:21.510Z","etag":null,"topics":["go","testing"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/rhysd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2018-11-15T08:30:49.000Z","updated_at":"2025-02-06T14:22:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9fac1f7-2dd8-42b1-81ae-f42ee4f2dd5f","html_url":"https://github.com/rhysd/gotest","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":"0.15384615384615385","last_synced_commit":"ef7294f9668275dc22939503d70d6795d66f75ad"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fgotest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fgotest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fgotest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fgotest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhysd","download_url":"https://codeload.github.com/rhysd/gotest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249145421,"owners_count":21219966,"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":["go","testing"],"created_at":"2024-10-01T14:53:48.181Z","updated_at":"2025-04-15T20:16:31.358Z","avatar_url":"https://github.com/rhysd.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Colorize `go test`\n==================\n[![CI][ci-badge]][ci]\n\nThis repository provides a tiny script to colorize `go test`.\n\n![sreenshot](https://github.com/rhysd/ss/blob/master/gotest/main.png?raw=true)\n\n## Prerequisites\n\n- `/bin/bash`\n- `sed`\n\n## Installation\n\n1. Copy [`gotest`](gotest) script to your `$PATH` directory\n2. Give it executable permission with `chmod +x`\n\nOn CI, directly downloading `gotest` with `curl` would be sufficient in most cases as follows.\n\n```sh\n$ curl -L https://raw.githubusercontent.com/rhysd/gotest/master/gotest \u003e gotest\n$ bash ./gotest\n```\n\n## Usage\n\n```\n$ gotest [args...]\n```\n\nArguments are the same as `go test` but `-v` is always implied.\n\nThe reason I created this in spite of [rakyll/gotest](https://github.com/rakyll/gotest) is that\nmy requirements can be met with only ~20 lines of shell script. Smaller script is better because\nit can be modified/fixed easily and easy to understand and easy to test.\n\n## Change colors\n\nIf you want to change colors, please modify [the script](gotest) directly. The color definitions at\ntop of the script (e.g. `92` for green, `91` for red) are [ANSI escape sequences for colors][ansi-colors].\nPlease modify them to use your favorite colors.\n\n## License\n\n[MIT License](LICENSE.txt)\n\n[ci-badge]: https://github.com/rhysd/gotest/actions/workflows/ci.yaml/badge.svg\n[ci]: https://github.com/rhysd/gotest/actions/workflows/ci.yaml\n[ansi-colors]: https://en.wikipedia.org/wiki/ANSI_escape_code#Colors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhysd%2Fgotest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhysd%2Fgotest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhysd%2Fgotest/lists"}