Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>Cucumber JS Test RunnerNew to Visual Studio Code? Get it now.
Cucumber JS Test Runner

Cucumber JS Test Runner

Nick Mandziak

|
4,357 installs
| (4) | Free
Cucumber JS Test Runner for VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Cucumber JS Test Runner

This extension adds support for Cucumber JS tests running using VS Code testing tools.

Tests

It looks for tests in .feature files:

Feature: Greeting

  Scenario: Say hello
    When the greeter says hello
    Then I should have heard "hello"

Extension Settings

The cucumber_runner.features setting defines where the extension should look for .feature files.

Example:

{
  "cucumber_runner.features": [
    "features/**/*.feature"
  ]
}

The cucumber_runner.env_variables setting defines environment variables that will be passed to the cucumber-js command.

Example:

{
  "cucumber_runner.env_variables": {
    "BROWSER": "chromium",
    "DEVICE": "desktop"
  }
}

The cucumber_runner.cli_options setting defines options that will be passed to the cucumber-js command.

Example:

{
  "cucumber_runner.cli_options": [
    "--profile",
    "parallel",
    "--tags",
    "@auto"
  ]
}

The cucumber_runner.cucumber_path setting defines the path to the cucumber-js command.

Example:

{
  "cucumber_runner.cucumber_path": "./node_modules/.bin/cucumber-js"
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft