IntelliTest is a Visual Studio Code extension that simplifies test generation for your code. With support for multiple languages and testing frameworks, IntelliTest makes it easy to create tests for your functions and methods with a single command.
Generate tests for your code with a single command
Supports multiple testing frameworks: Jest, Mocha, and Jasmine
Generate mocks for your functions and methods
Customizable configuration to choose your preferred testing framework
Automatically selects the entire active text editor's content if no code is selected
Creates a new test file alongside the current file with the same name and the appropriate .test.ts or .test.js extension
Open Visual Studio Code
Press Ctrl+P or Cmd+P (Mac) to open the Quick Open dialog
Type ext install intellitest and press Enter
After the installation is complete, reload Visual Studio Code
Select the code for which you want to generate tests, or simply place your cursor within the code block
Press Ctrl+Shift+P or Cmd+Shift+P (Mac) to open the Command Palette
Type Generate Test and press Enter
IntelliTest will generate a test based on your selected code and create a new test file alongside the current file
For a limited time, we're offering a free trial. This will change in the near future, so be sure to take advantage of this while you can!
You can configure IntelliTest to use your preferred testing framework by updating your settings in Visual Studio Code.
Go to Settings
Search for "IntelliTest"
Under "IntelliTest: Testing Framework", select your desired testing framework from the dropdown menu (Jest, Mocha, or Jasmine)