Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>BaseRock AI Unit Test GeneratorNew to Visual Studio Code? Get it now.
BaseRock AI Unit Test Generator

BaseRock AI Unit Test Generator

BaseRockAI

|
126 installs
| (4) | Free
BaseRock AI Unit Test Generator
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

BaseRock AI VS Code Extension Guide

This guide will help you understand how to use the BaseRock AI VS Code extension to generate and run unit tests automatically.

Table of Contents

  • BaseRock AI VS Code Extension Guide
    • Table of Contents
      • Login
      • Sign In
      • CodeLens Feature
      • Setup Your Project
      • Building Project and Generating Tests
      • Proceeding with Test Generation
      • Running Tests and Viewing Results
      • Additional Information

Login

Once the extension is installed, click on Proceed for user authentication.

Click Proceed


Sign In

Upon clicking 'Proceed', it will open a web tab where you can choose your preferred login method.

Login Options Choosing Login Method


CodeLens Feature

Click on the 'Generate Tests' CodeLens above a method or class, or use the option via right-click to automatically generate and run unit tests.

Use CodeLens


Setup Your Project

Complete your setup by adding the task to your build file. If the popup for 'Setup Complete' appears, you can safely proceed to the next step.

Project Setup 1


Building Project and Generating Tests

After the build is successful, the BaseRock panel will show you the step-by-step generation of the tests.

Test Generation Step 1


Running Tests and Viewing Results

You can access the test file by clicking 'Building Test File'. After the test run is complete, you will be able to see detailed results such as pass/fail status for each method tested. The results will be color-coded for clarity.

Running Tests 1


Additional Information

You can always refer to the BaseRock AI panel for more detailed steps and logs as you proceed with the test generation and execution process.

For further assistance, feel free to explore the official documentation or reach out to support.

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