CucumberJS Test Runner
This extension integrates CucumberJS with Visual Studio Code Test Runner.
Features
Semlessly integrates with Visual Studio Code new Test Runner showing all files in your workspace and a detailed view of all:

Test Result in .feature
files
Now you can view which steps passed or failed directly in your .feature
files, and with the help of the official Cubumer extension you can ctrl+click
to navigate to your failing step.

Inline error details
After running the test you will see an inline report of the failing tests with extensive details of the error and an history of test results.

Debug an entire feature or a single scenario
You can even debug your tests directly from the Test Runner UI, just click the Debug Test
action on a Feature or a Scenario!

Prerequisites
You need to have a working cucumber-js
installation in your working folder and a proper cucumber configuration file.
Please follow the documentation on the official cucumber-js
website on how to setup the environment.
You need to install the @cucumber/cucumber
npm package
npm install @cucumber/cucumber
For typescript support you need to install ts-node
npm install ts-node
Compatibility
The extension has been tested with javascript
and typescript
.
Example of a cucumber.yml
file for a typescript
setup:
default:
features: ["features/**/*.feature"]
requireModule: ["ts-node/register"]
require: ["features/**/*.{js,ts}"]
publishQuiet: true