Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>Test PilotNew to Visual Studio Code? Get it now.
Test Pilot

Test Pilot

cthmsst

|
1,111 installs
| (0) | Free
Automatically generate test base templates for JavaScript and TypeScript functions.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Banner

Demo presentation gif

VsCode Test Pilot

This extension permits to easily create test boilerplate for given functions.

Find the extension on the Visual Studio Marketplace.

Features

  • Trigger the refactor on a function name
  • Create test boilerplate for a given function
  • Update tests when a test file is already present

Configuration

You can configure the extension with the following settings:

{
  // Prefix for test files, default: 'test'
  "testPilot.testFileExtensionPrefix": "spec",

  // Add the extension in the import statement, default: false
  "testPilot.addExtensionInImport": true,

  // Extra imports to add in the new test file, default: []
  "testPilot.extraImportsForNewTestFiles": ["import { expect } from 'chai';"]
}

Credits

Coded with love by Corentin Thomasset.

Green chemistry icon used in the logo created by Fazrian Zahrawani - Flaticon

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