Skip to content
Allure report logoAllure Report
Main Navigation ModulesDocumentationStart

English

Español

English

Español

Appearance

Sidebar Navigation

Introduction

Install & Upgrade

Install for Windows

Install for macOS

Install for Linux

Install for Node.js

Upgrade Allure

Getting started

How to view a report

Improving readability of your test reports

Improving navigation in your test report

Features

Test steps

Attachments

Test statuses

Sorting and filtering

Defect categories

Visual analytics

Test stability analysis

History and retries

Timeline

Export to CSV

Export metrics

Guides

JUnit 5 parametrization

JUnit 5 & Selenide: screenshots and attachments

JUnit 5 & Selenium: screenshots and attachments

Setting up JUnit 5 with GitHub Actions

Pytest parameterization

Pytest & Selenium: screenshots and attachments

Pytest & Playwright: screenshots and attachments

Pytest & Playwright: videos

Playwright parameterization

How it works

Overview

Test result file

Container file

Categories file

Environment file

Executor file

History files

Integrations

Azure DevOps

Bamboo

GitHub Actions

Jenkins

JetBrains IDEs

TeamCity

Visual Studio Code

Frameworks

Behat

Getting started

Configuration

Reference

Behave

Getting started

Configuration

Reference

Codeception

Getting started

Configuration

Reference

CodeceptJS

Getting started

Configuration

Reference

Cucumber.js

Getting started

Configuration

Reference

Cucumber-JVM

Getting started

Configuration

Reference

Cucumber.rb

Getting started

Configuration

Reference

Cypress

Getting started

Configuration

Reference

Jasmine

Getting started

Configuration

Reference

JBehave

Getting started

Configuration

Reference

Jest

Getting started

Configuration

Reference

JUnit 4

Getting started

Configuration

Reference

JUnit 5

Getting started

Configuration

Reference

Mocha

Getting started

Configuration

Reference

Newman

Getting started

Configuration

Reference

NUnit

Getting started

Configuration

Reference

PHPUnit

Getting started

Configuration

Reference

Playwright

Getting started

Configuration

Reference

pytest

Getting started

Configuration

Reference

Pytest-BDD

Getting started

Configuration

Reference

Reqnroll

Getting started

Configuration

Reference

REST Assured

Getting started

Configuration

Robot Framework

Getting started

Configuration

Reference

RSpec

Getting started

Configuration

Reference

SpecFlow

Getting started

Configuration

Reference

Spock

Getting started

Configuration

Reference

TestNG

Getting started

Configuration

Reference

Vitest

Getting started

Configuration

Reference

WebdriverIO

Getting started

Configuration

Reference

xUnit.net

Getting started

Configuration

Reference

On this page

Visual Studio Code integration ​

With the Allure extension for the Visual Studio Code, you can quickly generate and open test reports from its context menu.

The extension also provides a way to quickly upload test results to your Allure TestOps account, see the Allure TestOps documentation.

Installation ​

WARNING

Before installing the extension, make sure that the Allure Report command-line tool is installed in your operating system.

  1. Launch Visual Studio Code.

  2. Open the Extensions view.

  3. In the Search Extensions in Marketplace field, enter qameta.allure-vscode.

  4. Click on the Allure Support extension, then click Install.

  5. Wait for the installation to complete.

Generating and serving test reports ​

The extension provides three operations.

  • Generate and serve a test report: given the test results, view a report in the browser.
  • Just generate a test report: given the test results, generate a report directory.
  • Just serve an existing test report: given the report directory, view it in the browser.

Generate and serve a test report ​

  1. Run your tests as you would do normally.

    Assuming an Allure adapter is configured correctly in your project, this must produce a test results directory at allure-results, build/allure-results or other location, depending on the configuration.

  2. In the Explorer view, right-click on the test results directory and select Allure Report: serve test results.

    The test report will be generated in a temporary directory (outside of your project). A local web server for the directory will be automatically started.

  3. In the Allure view, find the item with the same name as the test results directory.

    Hover the item to see the available actions:

    ActionDescription
    Open browserOpen the test report in the default web browser.
    Shutdown serverStop the local web server.

Generate a test report ​

  1. Run your tests as you would do normally.

    Assuming an Allure adapter is configured correctly in your project, this must produce a test results directory at allure-results, build/allure-results or other location, depending on the configuration.

  2. In the Explorer view, right-click on the test results directory and select Allure Report: generate report.

    The test report will be generated in a new directory named allure-report-⟨DATE⟩_⟨TIME⟩, for example: allure-report-2023-05-23_08-37-17.

  3. To start a local server for viewing the report, right-click on the test report directory and select Allure Report: serve generated report.

Serve an existing test report ​

  1. Make sure that you have a previously generated directory with the HTML test report.

  2. In the Explorer view, right-click on the report directory and select Allure Report: serve generated report.

  3. In the Allure view, find the item with the same name as the report directory.

    Hover the item to see the available actions:

    ActionDescription
    Open browserOpen the test report in the default web browser.
    Shutdown serverStop the local web server.
Pager
Previous pageTeamCity
Next pageFrameworks
Powered by

Join our newsletter

Allure TestOps
  • Overview
  • Why choose us
  • Cloud
  • Self-hosted
  • Success Stories
Company
  • Documentation
  • Blog
  • About us
  • Contact
  • Events
© 2025 Qameta Software Inc. All rights reserved.