Generate Unit Tests in VS Code¶
Overview¶
CloudAEye can generates unit test saving developer time and ensuring maximum code coverage. This guide explains how CloudAEye performs generates test.
Generate Tests in GitHub¶
For generating tests in Github, refer to GitHub: Generate Unit Tests page.
Prerequisites¶
Step 1: Setup Code Review¶
Configure Code Review.
Step 2: Setup VS Code Extension¶
Setup the VS Code Extension.
Generate Unit Tests¶
To generate unit tests for your connected repository, click on the CloudAEeye: Generate Tests button in the SCM section.
Once the tests are generated a VS code diff viewer will open. This view will have all the new tests that are added. You can add/remove/edit the code before saving it.