{"id":22110747,"url":"https://github.com/wuttinanhi/aitestgen","last_synced_at":"2026-02-12T16:32:31.238Z","repository":{"id":262638494,"uuid":"867102013","full_name":"wuttinanhi/aitestgen","owner":"wuttinanhi","description":"Generate web E2E tests from natural language prompt.","archived":false,"fork":false,"pushed_at":"2024-11-30T09:51:28.000Z","size":767,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-30T10:29:54.234Z","etag":null,"topics":["ai","automation","generator","puppeteer","selenium","test-generation","test-generator","testcase","testgen","testgenerator","testing"],"latest_commit_sha":null,"homepage":"https://github.com/wuttinanhi/aitestgen","language":"TypeScript","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/wuttinanhi.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-03T13:05:14.000Z","updated_at":"2024-11-23T03:35:49.000Z","dependencies_parsed_at":"2024-11-30T10:26:04.931Z","dependency_job_id":"70e022a4-5a4d-4b9c-b6c4-dcf061c0371e","html_url":"https://github.com/wuttinanhi/aitestgen","commit_stats":null,"previous_names":["wuttinanhi/aitestgen"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuttinanhi%2Faitestgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuttinanhi%2Faitestgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuttinanhi%2Faitestgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuttinanhi%2Faitestgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wuttinanhi","download_url":"https://codeload.github.com/wuttinanhi/aitestgen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227322747,"owners_count":17764340,"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":["ai","automation","generator","puppeteer","selenium","test-generation","test-generator","testcase","testgen","testgenerator","testing"],"created_at":"2024-12-01T10:22:59.328Z","updated_at":"2026-02-12T16:32:31.232Z","avatar_url":"https://github.com/wuttinanhi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aitestgen\n\nGenerate test suites from natural language descriptions.\n\nA command-line tool that leverages AI to generate test cases from natural language prompts automatically. \nThis tool helps developers quickly create comprehensive test suites by describing what they want to test in plain English.\n\n## Features\n- Generate Puppeteer tests\n- Generate Selenium tests\n\n## Requirements\n\n- [Node.js](https://nodejs.org/en)\n\n## Installation\n\n```bash\nyarn add -g aitestgen\n```\n\n## Usage\n\nSet OpenAI key\n\n```bash\nexport OPENAI_API_KEY=\"\u003cYOUR_KEY_HERE\u003e\"\n```\n\nGenerate testsuite from test prompt file ([todo.xml](examples/testprompts/todo.xml))\n\n```bash\naitestgen gen -f examples/testprompts/todo.xml\n```\n\nthe generated output will be saved at `todo.test.ts`\n\n## Choosing a Model\n\nCurrently, the best-performing model for test generation is **gpt-4o-mini**.  \nWe are still searching for the ideal Ollama model for a self-hosted solution.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n### Development Setup\n\n1. Clone the repository\n```bash\ngit clone https://github.com/wuttinanhi/aitestgen\n```\n\n2. Install dependencies\n```bash\nyarn install\n```\n\n3. Run project tests\n```bash\nyarn test\n```\n\n4. Link this package to use locally\n```bash\nyarn link\n```\n\n\n### Yarn scripts\n\n| Option | Description |\n|--------|-------------|\n| `start` | Start the program. |\n| `test` | Run project tests |\n| `lint` | Lint codebase |\n\n\n## License\n\nMIT\n\n## Author\n\nwuttinanhi\n\n## Support\n\nIf you encounter any issues or have questions, please file an issue on the GitHub repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwuttinanhi%2Faitestgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwuttinanhi%2Faitestgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwuttinanhi%2Faitestgen/lists"}