Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ChatTDD VSCodeNew to Visual Studio Code? Get it now.
ChatTDD VSCode

ChatTDD VSCode

Simen Huuse

|
31 installs
| (0) | Free
Test based code generation with OpenAI LLMs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ChatTDD - keep control with your AI generated code

Important Notice: "chattdd-vscode" is an experimental extension and is provided on an "as-is" basis. Users should employ this extension with the understanding that it is in a trial phase and may not perform with complete reliability. The use of "chattdd-vscode" is entirely at the user's own risk. Furthermore, this extension has the capability to execute system commands, which may affect your system based on the commands issued. The author(s) of "chattdd-vscode" assume no liability for any consequences that arise from the use of this extension.

ChatTDD vscode is an innovative Visual Studio Code extension designed to enhance your Test-Driven Development (TDD) experience using AI-powered assistance. "ChatTDD" leverages OpenAI's models to guide and assist in TDD practices directly within VS Code

Intention

Imagine this: GPT 8.0 just came out, and it can write software code like a dream. Your company fired all the developers but kept you to maintain legacy and the AI generation. How will you do that? When they give you that new feature request, how will you make sure that the AI generates what it should without regression or breaking existing logic and functions?

ChatTDD tests the theory that this can be solved through tests. Imagine that the AI is asked to first write tests, then code to those tests. Your job will be to look at the tests and make sure they test the feature set of your over all solution. You don't really care about the generated function code as long as it passes the test.

Give it a go - but start in the small, as of today, the latest GPT gets confused quite quickly.

Features

To start ChatTDD, run command

  • ChatTDD: Run

You will be promted questions about the application when the system requires it. Please pay attention and write text and confirm actions when required. Because of the nature (read: api) of VSCode, messages will auto-hide after a certain amount of time.

Interactive AI-Powered TDD Sessions

Run continuous Test-Driven Development cycles with AI assistance. "ChatTDD: Run" command resumes from the last saved iteration, offering contextual advice and recommendations based on your current codebase and test scenarios.

Requirements

OpenAI api key

Extension Settings

"chattdd-vscode" adds a settings.json file in the ChatTDD folder with the following configurable settings:

  • openAIModel: Sets the OpenAI model used for AI interactions (default: "gpt-4-1106-preview").
  • iterationsLimit: Defines how many iterations the AI runs before stopping (default: 10).
  • tokenLimitBeforeSummarize: Determines the number of tokens between each summary provided by the AI (default: 2000). To modify these settings, navigate to the ChatTDD folder and edit the settings.json file as per your requirements.

Known Issues

This is an experimental tool!

Release Notes

1.0

Initial release of "chattdd-vscode".

Enjoy your AI-powered TDD journey with chattdd-vscode!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft