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!
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
On your opened file, highlight a code snippet function that you would like to generate unit test
Right click on the highlighted code snippet
Navigate to the Create Unit Test menu and choose from any of the following options
You may opt to input a pathname and generate its own test file for you. Press Enter to confirm or Escape to cancel
Wait for the results to be displayed
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