Skip to main content

Visual Studio Code

Visual Studio Code is a popular code editor that comes with built-in support for JavaScript, TypeScript, and Node.js. It also has a rich ecosystem of extensions to help you with your development tasks, such as running and debugging tests.

Serenity/JS integrates with industry-standard test runners using their dedicated integration protocols, which means that to run and debug your Serenity/JS tests in Visual Studio Code you simply need the appropriate extension for your test runner of choice.

Cucumber.js​

You'll need the following extensions to run and debug your Serenity/JS Cucumber.js tests in Visual Studio Code:

Playwright Test​

To run and debug your Serenity/JS Playwright Test scenarios in Visual Studio Code, you'll need the following extension:

  • Playwright Test - enables developers to write, run, and debug end-to-end and component tests for web applications using the Playwright Test framework directly within the editor

WebdriverIO​

While there's no recommended WebdriverIO extension for Visual Studio Code yet, you can run and debug your Serenity/JS WebdriverIO scenarios using the WebdriverIO Test Runner CLI.

GitHub Codespaces​

To use Visual Studio Code in a cloud-based development environment without having to install anything on your machine, use Serenity/JS GitHub Codespaces.