apex-test-class-generatorI build this vscode extension for myself to automatically generates Apex test classes with clean boilerplate code. This extension helps reduce my repetitive work by reading an existing Apex class and creating a corresponding test class ending with Test. Features--> Generates an Apex test class annotated with @IsTest --> Automatically appends Test to the original Apex class name --> Example: AccountService → AccountServiceTest --> Creates a @TestSetup method for test data initialization --> Detects methods in the Apex class and generates a test method for each one --> Adds a default test method if no methods are found --> Can be triggered using:
How To Use
|