A test generator utility that leverages power of OpenAI to generate unit tests (with jest framework) for React components; while providing a seamless integration for developers at the same time.
This VSCode Extension has OpenAI logic integrated into it for generating unit tests for React components using jest and enzyme. The OpenAI logic will only work on source code files(.ts or .js framework) in the current scope. For rest of the files, it’ll print an error saying “Requesting unit tests for an invalid file. Please select a valid file”.
You can engage with the extension in two ways:
Using both ways, the extension will generate a unit test file for the corrosponsing component within the same directory