Generate unit tests for components with a single click, simplifying and speeding up your testing process.
🚀 Features
Automatically generates unit tests for your components.
Supports JavaScript & TypeScript.
Works with popular test frameworks like Jest.
Works for popular frontend frameworks React(Vite, Normal), React Native(Expo, CLI), Next Js.
You can generate unit tests for all these mentioned frontend frameworks.
📸 Screenshots
Unit Tests generating button:
Command palette:
🚀 How to Run TestGenie
1️⃣ Open VS Code.
2️⃣ Press the following shortcut based on your OS:
Windows/Linux: Ctrl + Shift + P
macOS: Cmd + Shift + P
3️⃣ Type "TestGenie" in the command palette.
4️⃣ Click on TestGenie to run the extension.
🛠️ How to Use
Open your component file.
Click on the Create Unit Test text on the bottom right corner.
The extension will generate unit tests automatically.