Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>CoffeeTestingNew to Visual Studio Code? Get it now.
CoffeeTesting

CoffeeTesting

CoffeeTesting

|
1 install
| (1) | Free
Grab a Coffee! Autonomous 100% code coverage with Copilot
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CoffeeTesting ☕

Grab a Coffee!

A VS Code extension that automates GitHub Copilot agent mode to achieve 100% unit test coverage for any programming language.

Features

  • Multi-language support - Works with Python, JavaScript, TypeScript, C#, Java, Go, Ruby, Rust, and more
  • Automatic language detection - Detects your project's language and uses appropriate test commands
  • YOLO Mode - Enables auto-approve for Copilot actions (configurable)
  • Model selection - Choose which AI model to use for test generation
  • Agent Mode - Automatically opens Copilot in agent mode for autonomous operation
  • Monitors code coverage and continues until 100% is reached
  • Never pushes to remote - all changes are local

Supported Languages

Language Test Framework Coverage Tool
Python pytest pytest-cov
JavaScript Jest / Mocha Jest --coverage
TypeScript Jest / Vitest Jest --coverage
C# xUnit / NUnit / MSTest XPlat Code Coverage
Java JUnit 5 JaCoCo
Go testing go test -cover
Ruby RSpec SimpleCov
Rust built-in cargo tarpaulin

Usage

  1. Open a source file or folder you want to achieve 100% coverage for
  2. Run command: CoffeeTesting: Start (100% Coverage)
  3. Configure settings when prompted (enables YOLO mode)
  4. Select the AI model to use
  5. Choose your target file or folder
  6. Sit back and enjoy your coffee ☕

Commands

  • CoffeeTesting: Start (100% Coverage) - Start automated coverage session
  • CoffeeTesting: Stop Session - Stop the running session
  • CoffeeTesting: Check Status - Show current session status
  • CoffeeTesting: Disable YOLO Mode - Restore normal approval flow

How It Works

  1. Configures VS Code - Enables auto-approve and sets max requests to 10,000
  2. Detects Language - Automatically identifies the programming language from file extensions
  3. Builds Prompt - Creates a comprehensive prompt with source code and language-specific instructions
  4. Opens Agent Mode - Sends the prompt to Copilot in agent mode
  5. Copilot Iterates - Copilot autonomously writes tests, runs coverage, and repeats until 100%

Safety

  • All changes are local only
  • No git push operations are performed
  • You can stop the session at any time with Ctrl+Shift+Escape
  • Review changes before committing
  • YOLO mode can be disabled after the session

Requirements

  • VS Code 1.85.0 or higher
  • GitHub Copilot extension installed and signed in
  • Appropriate test framework and coverage tools for your language
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft