{"id":24941980,"url":"https://github.com/atikahe/auto-test","last_synced_at":"2026-05-15T12:09:00.980Z","repository":{"id":200399342,"uuid":"589241401","full_name":"atikahe/auto-test","owner":"atikahe","description":"Automatically generate unit-test for your code from the CLI.","archived":false,"fork":false,"pushed_at":"2023-01-18T15:29:56.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T18:51:53.714Z","etag":null,"topics":["auto-test","cli","codex","openai","unit-test"],"latest_commit_sha":null,"homepage":"","language":"Go","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/atikahe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-01-15T14:47:53.000Z","updated_at":"2023-04-03T13:51:12.000Z","dependencies_parsed_at":"2023-10-16T20:40:20.676Z","dependency_job_id":null,"html_url":"https://github.com/atikahe/auto-test","commit_stats":null,"previous_names":["atikahe/auto-test"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/atikahe/auto-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atikahe%2Fauto-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atikahe%2Fauto-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atikahe%2Fauto-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atikahe%2Fauto-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atikahe","download_url":"https://codeload.github.com/atikahe/auto-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atikahe%2Fauto-test/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269981689,"owners_count":24507280,"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-08-11T02:00:10.019Z","response_time":75,"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":["auto-test","cli","codex","openai","unit-test"],"created_at":"2025-02-02T18:57:48.039Z","updated_at":"2026-05-15T12:08:55.950Z","avatar_url":"https://github.com/atikahe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤖 auto-test\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nAutomatically generate test file for your code from the CLI so you don't need to start from scratch ✨ Built with OpenAI's Codex.\n\n## Installation\n- Install from terminal,\n```\ncurl -fsSL https://raw.githubusercontent.com/atikahe/auto-test/main/install.sh | sh -\n```\n- or download the program's binary that corresponds to your OS from the [release page](https://github.com/atikahe/auto-test/releases/latest).\n\n## Usage\n- Get access to OpenAI Beta and copy your API Key [here](https://beta.openai.com/account/api-keys).\n```bash\nexport OPENAI_API_KEY=YOUR_API_KEY\n```\n- Go to the directory of code that you want to test. \n- Run auto-test\n```bash\nauto-test -f file_name.py\n```\n- See generated test file on the same folder, make some modification as the code won't be complete.\n- To add custom prompt, use `-p` flag followed by a string of prompt.\n```\nauto-test -f file_name.py -p \"This is additional prompt\"\n```\n- To overwrite default prompt, use `-o` flag.\n- Use `auto-test --help` for more info.\n\n## Disclaimer\nThis package is not intended to replace the writing of unit-test by AI entirely. You will still need to make adjustments and mock some dependencies manually.\n\n## Resources\n- [OpenAI Codex](https://openai.com/blog/openai-codex/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatikahe%2Fauto-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatikahe%2Fauto-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatikahe%2Fauto-test/lists"}