testwizard

TestWizard

Generate unit tests for your code with ChatGPT!

🧑‍🔧⚙️ How does it work?

TestWizard is a VS Code plugin that connects your code with ChatGPT to generate astonishing unit tests.

There have been several attempst to create unit test generation tools like AthenaTest, A3Test or ChatUniTest. Most of these tools have been designed to work amazingly with 1 single language (Java). However, with TestWizard we wanted to create something completely new:

  1. We created 🧙‍♂️ TestWizard as a vs code extension to deliver the solution as close to the developers as possible. By integrating it directly on the developer’s everyday maintool (their IDE) we facilitate and speed up the usage of it.
  2. We created 🧙‍♂️ TestWizard as a language-agnostic tool that really leverages the full potential of ChatGPT.
  3. Finally, we wanted 🧙‍♂️ TestWizard to generate the best quality tests. For that reason we followed the “Generation-Validation-Repair” framework. It works this way:

All of this is backed by a vectore DB called Pinecone, which allows us to share a common memory between all the agents 🧠. Even more: thanks to the potential of Pinecone, our agents will learn from their errors and they will output better tests everytime they are used.