UnitTestAI - AI Powered Unit Tests GeneratorUnitTestAI is a VScode extension that allows developers to automatically generate unit tests for their code using AI. To use the extension, simply install it from the VScode Marketplace, set up your access token as described below, and start generating tests for your code. Setting up the Access TokenBefore you can start generating tests with UnitTestAI, you'll need to set up an access token. Here's how to do it:
Now that you have your access token, you can use it to configure the UnitTestAI extension in VScode:
That's it! You're now ready to start generating tests with UnitTestAI. Simply select a block of code, right-click, and choose "Generate Tests" from the context menu to automatically generate unit tests for your code. How to use the extension ?After setting up the extension with your access token, you can select any block of code, right-click, and choose "Generate Tests" from the context menu. FeaturesUnitTestAI uses the current file extension to detect the programming language of the selected code block. Once the language is detected, the extension provides the user with a list of related test frameworks to choose from. This means that developers can use UnitTestAI with any programming language and any test framework they prefer. They simply select the code they want to test, let the extension detect the language, and choose the appropriate framework. This feature makes UnitTestAI extremely versatile and user-friendly, allowing developers to use their preferred tools and workflows without having to learn a new framework or language-specific testing techniques. Enjoy! |