Skip to content

AutoTest ChatGPT is a code to create automatic unit tests for your code.

Notifications You must be signed in to change notification settings

mariuszmalek/autotest-chatgpt-vscode

Repository files navigation

Autotest - ChatGPT

This extension allows you to generate unit tests for your TypeScript code using ChatGPT. Simply provide the name of a class or function, and ChatGPT will generate a unit test for it.

Installation

Install the extension from the Visual Studio Code Extension Marketplace (Ctrl+Shift+X). Restart Visual Studio Code.

Usage

To generate a unit test, open a TypeScript file in Visual Studio Code and run the "Generate Unit Tests" command (Ctrl+Shift+P and then type "Generate Unit Tests"). This will prompt you for input and then generate a unit test based on that input using ChatGPT.

Troubleshooting

If you encounter any issues with this extension, please file an issue on the GitHub repository.

Contributing

If you'd like to contribute to this extension, please fork the GitHub repository and submit a pull request.

License

This extension is licensed under the MIT License.

Credits

This extension uses the ChatGPT API from OpenAI.

About

AutoTest ChatGPT is a code to create automatic unit tests for your code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published