jasonswett / gptdd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPTDD

GPTDD is a command-line program that assists programmers in writing programs using test-driven development (TDD) with the help of ChatGPT. This README was mostly written by ChatGPT, an advanced AI language model developed by OpenAI.

Table of Contents

  1. Introduction
  2. Installation
  3. Usage
  4. Contributing
  5. License

Introduction

GPTDD aims to facilitate the TDD process by integrating with ChatGPT. It allows developers to write tests and code based on requirements given to ChatGPT. GPTDD then updates the codebase accordingly, running the relevant tests until they pass.

Installation

Clone the GPTDD repository from GitHub:

```bash git clone https://github.com/jasonswett/gptdd.git ```

After cloning the repository, follow the instructions in the setup section to configure your environment.

Usage

Before starting to use GPTDD, paste the contents of the prompts/instructions.txt file into ChatGPT.

Follow the TDD workflow outlined in the instructions:

  1. Provide a requirement to ChatGPT.
  2. Receive test code from ChatGPT.
  3. Copy and paste the test code into GPTDD.
  4. GPTDD updates the codebase and runs the relevant tests.
  5. Repeat the process until the tests pass.

For more detailed instructions, please refer to the prompts/instructions.txt file.

Contributing

Contributions are welcome! If you're interested in improving GPTDD or adding new features, please feel free to submit a pull request or open an issue on GitHub.

License

This project is licensed under the MIT License. For more details, see the LICENSE file.

About


Languages

Language:Ruby 100.0%