{"id":20694931,"url":"https://github.com/heedrox/tdd-bai","last_synced_at":"2025-04-22T20:02:37.937Z","repository":{"id":197541739,"uuid":"617188194","full_name":"heedrox/tdd-bai","owner":"heedrox","description":"TDD BAI: TDD Based on AI. Experiments to understand if a development flow can be used with GPT writing code from test specifications","archived":false,"fork":false,"pushed_at":"2023-03-26T13:11:14.000Z","size":90,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T18:22:11.254Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/heedrox.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}},"created_at":"2023-03-21T21:44:25.000Z","updated_at":"2023-04-09T11:46:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"7edf7fb7-c493-4894-a288-20a779064699","html_url":"https://github.com/heedrox/tdd-bai","commit_stats":null,"previous_names":["heedrox/tdd-bai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heedrox%2Ftdd-bai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heedrox%2Ftdd-bai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heedrox%2Ftdd-bai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heedrox%2Ftdd-bai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heedrox","download_url":"https://codeload.github.com/heedrox/tdd-bai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250315984,"owners_count":21410473,"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":[],"created_at":"2024-11-17T00:07:19.375Z","updated_at":"2025-04-22T20:02:37.853Z","avatar_url":"https://github.com/heedrox.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TDD BAI - TDD Based on AI\n\nA proof of concept if we can use TDD BAI to develop something relatively complex.\n\n## Instalation\n\n- Download\n- If you use \"nvm\", then type \"nvm use\". If not, use node v18\n- `npm i`\n- Create a `.env` file and add the line `OPENAI_API_KEY=xxxxxx` with your own Open AI API key. Check how to get one here: https://www.windowscentral.com/software-apps/how-to-get-an-openai-api-key\n\n## Example execution\n\n`npm run run-ai string-calculator`\n\nThis will read string-calculator.test.js, and dump a string-calculator.js\nbased on AI.\n\nWhere is the limit? We'll try to figure this out adding more complex examples\nas we move on.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheedrox%2Ftdd-bai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheedrox%2Ftdd-bai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheedrox%2Ftdd-bai/lists"}