{"id":20056989,"url":"https://github.com/rhcarvalho/redgreen","last_synced_at":"2025-09-17T10:58:54.156Z","repository":{"id":66869484,"uuid":"51665738","full_name":"rhcarvalho/redgreen","owner":"rhcarvalho","description":"Tool for showing TDD red/green state in a Coding Dojo","archived":false,"fork":false,"pushed_at":"2017-03-04T10:05:25.000Z","size":45,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-17T10:58:53.084Z","etag":null,"topics":["coding-dojo","go","golang","tdd","testing","testing-tools"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhcarvalho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-02-13T21:02:49.000Z","updated_at":"2017-03-04T10:05:26.000Z","dependencies_parsed_at":"2023-05-31T16:00:33.862Z","dependency_job_id":null,"html_url":"https://github.com/rhcarvalho/redgreen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rhcarvalho/redgreen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhcarvalho%2Fredgreen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhcarvalho%2Fredgreen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhcarvalho%2Fredgreen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhcarvalho%2Fredgreen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhcarvalho","download_url":"https://codeload.github.com/rhcarvalho/redgreen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhcarvalho%2Fredgreen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275583376,"owners_count":25490651,"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","status":"online","status_checked_at":"2025-09-17T02:00:09.119Z","response_time":84,"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":["coding-dojo","go","golang","tdd","testing","testing-tools"],"created_at":"2024-11-13T12:57:16.909Z","updated_at":"2025-09-17T10:58:54.148Z","avatar_url":"https://github.com/rhcarvalho.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redgreen\n\nThis is a simple tool to execute tests and show a red or green background in a\nterminal. It is meant to be used in TDD sessions in a Coding Dojo.\n\n![Screenshot of redgreen in action](screenshot.png)\n\n## Installation\n\nYou will need to [install](https://golang.org/doc/install) the\n[Go](https://golang.org/) tools to compile `redgreen` from source.\nNext, use the `go` tool to download, compile and install `redgreen`:\n\n```console\n$ go get github.com/rhcarvalho/redgreen\n```\n\n## Usage\n\nThe main purpose of `redgreen` is to show a red background color when tests fail\nand green when they pass.\n\nBy default, starting `redgreen` will run `go test` in the current directory and\nwill rerun the test command every time a file changes, updating the background\ncolor accordingly.\n\nYou can specify a different test command by passing positional arguments:\n\n```console\n$ redgreen go test\n$ redgreen nosetests\n$ redgreen rake test\n```\n\nIt is recommend to run `redgreen` in a small terminal window configured as\n*Always on Top*. For example, on GNOME Terminal, right-click anywhere in the\nmiddle of the terminal screen and uncheck the box *Show Menubar*, then click on\nthe window title bar and choose *Always on Top*. Resize the window to a small\nsize and drag it to a corner where it doesn't bother the view to your code\neditor.\n\nIf you are a `tmux` user you can split your terminal and see code and test\nstatus in a single window, like the screenshot above:\n\n```console\n$ tmux new-session \\; set status off \\; split-window -hp 20 redgreen \\; last-pane\n```\n\nYou can use any other way to split your terminal window or organize your windows\nto add `redgreen` to your testing flow.\n\nTo stop `redgreen` and **exit**, press the `Esc` key.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhcarvalho%2Fredgreen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhcarvalho%2Fredgreen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhcarvalho%2Fredgreen/lists"}