{"id":37426932,"url":"https://github.com/err0r500/tdd-cli","last_synced_at":"2026-01-16T06:19:41.945Z","repository":{"id":245617906,"uuid":"818766460","full_name":"err0r500/tdd-cli","owner":"err0r500","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-28T19:54:00.000Z","size":96,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-29T03:02:52.790Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Roc","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/err0r500.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":"2024-06-22T19:58:06.000Z","updated_at":"2024-06-28T19:54:03.000Z","dependencies_parsed_at":"2024-06-23T03:08:37.743Z","dependency_job_id":null,"html_url":"https://github.com/err0r500/tdd-cli","commit_stats":null,"previous_names":["err0r500/tdd-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/err0r500/tdd-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/err0r500%2Ftdd-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/err0r500%2Ftdd-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/err0r500%2Ftdd-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/err0r500%2Ftdd-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/err0r500","download_url":"https://codeload.github.com/err0r500/tdd-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/err0r500%2Ftdd-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T03:13:13.607Z","status":"ssl_error","status_checked_at":"2026-01-16T03:11:47.863Z","response_time":107,"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":[],"created_at":"2026-01-16T06:19:41.280Z","updated_at":"2026-01-16T06:19:41.933Z","avatar_url":"https://github.com/err0r500.png","language":"Roc","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TDD cli\n\nThis project aims to gamify a TDD session by scoring it. Invoke the CLI to run your tests, it will score your move a store it locally until your kata is complete.\n\nYou can always see your current score using the `--score` flag.\n\nYour TDD session is stored in the `./session.json` file, delete it to start a fresh session.\n\n## Set up your project\nThe CLI looks for a `tdd.json` file in your current folder.\n\nIt must look like this :\n```json\n{\n  \"testCommand\": \"\u003cthe command to invoke to run your tests\u003e\",\n  \"controlCommand\": \"\u003cthe command to invoke to check your progresses\u003e\"\n}\n```\nyou can have a look at the [typescript example](./_examples/typescript)\n\n### user tests command\n- exit with 0 when all tests passed,\n- exit with 1 when a test failed,\n\n### control tests command\n```\n{\n  \"passingTestsCount\": number,\n  \"totalTestsCount\": number,\n}\n```\n\n## Tips\n### NPM \u0026 Jest\n- run `npm` \u0026 `jest` with the `--silent` flag to minimize the chance of getting a messed up json output\n\n### jq\n- run `jq` with the `-c` flag to output on a single line\n\n---\n\n## dev notes\n### run roc from example folder\n```\nroc dev ../../src/main.roc\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferr0r500%2Ftdd-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferr0r500%2Ftdd-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferr0r500%2Ftdd-cli/lists"}