Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>TestDriven for VS CodeNew to Visual Studio Code? Get it now.
TestDriven for VS Code

TestDriven for VS Code

Jamie Cansdale

|
950 installs
| (0) | Free
Zero friction testing extension for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TestDriven for VS Code

Zero friction unit testing for Visual Studio Code

Features

The first version of this extension enables the running and debugging of arbitrary methods (right click Run method or Debug method). Future versions will add support for unit test frameworks.

Currently supports C#/.NET Core, TypeScript/JavaScript and Ruby.

Requirements

.NET Core / C#

  • C# for Visual Studio Code extension
  • A .NET Core task task with the label build

Ruby

  • Ruby extension with ruby.useLanguageServer setting set to true
  • Optionaly works with Ruby Solargraph as language server

JavaScript / TypeScript

  • console.log will be sent to output window

Known Issues

Send me a tweet.

Release Notes

0.3.14

  • Add support for running async JavaScipt functions (see example targets)

0.3.13

  • Rename Debug Ruby to Debug Method (everything is a method in Ruby)

0.3.12

  • Inherit properties from first Ruby launch configuration
  • Execute using bundler when "useBundler": true is set in launch.json

0.3.11

  • Debug whole Ruby file if symbols can't be found

0.3.10

  • Make compatible with Ruby extension's built in language server

0.3.9

  • Add support for nested Ruby classes and modules

0.3.8

  • Add Debug Ruby command
  • Debug a Ruby file, method, instance method, singleton method or module method

0.2.7

  • Add an icon and repository link

0.2.6

  • Fix bug where function would execute every time .ts file changed

0.2.5

  • Warn about missing tsconfig.json
  • Use default values for outDir and roodDir

0.2.4

  • Add Run Function command for .js and .ts files
  • Run function inside context for VS Code (with access to vscode module)
  • Wait for .ts file to compile before running JavaScript function

0.1.3

  • Add support for default values in target methods

0.1.2

  • Build before attempting load symbols
  • Only run/debug method when build succeeds

0.1.1

  • Add support for nested types

0.1.0

Initial release of TestDriven.NET for Visual Studio Code

  • Support for running arbitrary methods (right click Run method)
  • Support for debugging arbitrary methods (right click Debug method)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft