Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ovc generate unittestNew to Visual Studio Code? Get it now.
ovc generate unittest

ovc generate unittest

ovc-generate-unittest

|
7 installs
| (0) | Free
automatic generate unittest
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

OVC Unit Test Generator

This VS Code extension allows you to generate unit tests for the current file using the Cody CLI via a Python wrapper script.

Features

Run command Generate Unit Tests (OVC) from Command Palette

Automatically saves tests into a tests folder alongside the source file

Opens the generated test file for immediate review

Prerequisites

Install Python 3 and ensure generate_tests.py is placed at the root of your workspace.

Ensure the Cody CLI (cody) is installed and accessible in your PATH.

Usage

Open a code file (e.g., .py, .js).

Press Ctrl+Shift+P (Cmd+Shift+P on Mac) and select Generate Unit Tests (OVC).

Wait for the notification and review the generated tests in the tests folder

Development: npm install npm run compile code --install-extension ./ovc-generate-unittest-0.0.1.vsix

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