Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>SIM ChatGPT: Unit TestNew to Visual Studio Code? Get it now.
SIM ChatGPT: Unit Test

SIM ChatGPT: Unit Test

pj-sim-chatgpt-dev

|
101 installs
| (0) | Free
Generate unit tests based on the provided testing frameworks
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

⚙️ SIM ChatGPT: Unit Test

SIM ChatGPT: Unit Test is an internal simulation project of Sun*. This is a vscode extension developed for the purpose of collaborative and assistive development tool for the software developers. This extension focuses on creating/suggesting unit tests from code snippets upon highlighting, powered by OpenAI GPT API. It allows them to choose whatever testing framework they prefer as specified and provided by the extension. Try installing SIM ChatGPT: Unit Test now and use it in your development phase with ease!

🔗 Link

https://marketplace.visualstudio.com/items?itemName=pj-sim-chatgpt-dev.sim-chatgpt-unit-test

⭐ Features

  • Code snippet easy highlighting.
  • ChatGPT integration.
  • Replaceable OpenAI API Key.
  • Automatically generate test files on your respective test folders

🔑 Requirements

Register an OpenAI API account and create a secret key for it. Copy and paste the secret key to the API Key input field in the extension after the installation.

You may opt to create a new account preferably using your personal email address to get a $5 free credit from OpenAI and use the API for free.

👆 How to use

  1. On your opened file, highlight a code snippet function that you would like to generate unit test
  2. Right click on the highlighted code snippet
  3. Navigate to the Create Unit Test menu and choose from any of the following options
  4. You may opt to input a pathname and generate its own test file for you. Press Enter to confirm or Escape to cancel
  5. Wait for the results to be displayed
  6. The result will also be appended below the highlighted code snippet

👤 Developers

  • Augusto, Rose
  • Oliverio, Rogelio John
  • Vilo, Bruce Nigel

💻 Release Notes

1.0.0

Initial release of SIM ChatGPT: Unit Test

1.0.1

Update list of testing frameworks and resolve API Key navigation

1.0.2

  • Stopping loader when there is an error on the API
  • Allow key icon and other icons dynamic of the current color theme of vscode
  • Replaced API Key input caption to actual details
  • Persist inputs and loading when leaving and going back to the extension
  • Add dialog box on GPT response output

1.0.3

  • Format response with codeblocks
  • Generate separate file for each unit test result

1.0.4

  • Add error handling on pathname input field

1.0.5

  • Fix input on pressing escape key
  • Make file creation optional

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft