Use this extension to interact directly with the Silicon API layer, allowing you to use generative AI generate and analyze unit tests for the code in your projects quickly and easily.
Features
Generate unit tests for a file using the command palette
Open the file you want to generate tests for
Open the command palette using CMD+SHIFT+P, and run the command Silicon: Generate Unit Tests for File
Generate unit tests for a file using the right click menu
Right click on the file name in the explorer, and from the menu use the command Silicon: Generate Unit Tests
Generate unit tests for a selected code snippet
Select an code snippet
Right click, and from the menu use the command Silicon: Generate Unit Tests
Generate a description for a selected code snippet
Select an code snippet
Right click, and from the menu use the command Silicon: Generate Description
Analyze a selection of unit tests
Select an code snippet
Right click, and from the menu use the command Silicon: Analyze Unit Tests
Requirements
N/A
Extension Settings
This extension contributes the following settings:
silicon.baseURL: Set the Silicon API base URL the extension uses.