Pytest HTML Plus for VS CodeA VS Code extension for pytest-html-plus that brings your test results directly into the editor. Instead of opening HTML reports in the browser, you can view failures, inspect errors, and jump to test code instantly from a dedicated VS Code sidebar. FeaturesTest SummaryQuick overview of your test suite:
Displayed with a visual progress bar for fast status checks. View All Test ResultsTests are organized into collapsible groups:
This helps you focus on failures first while still being able to explore the full run. Expandable Error MessagesFailure messages include:
This keeps the UI clean while still allowing deep debugging. One-Click NavigationClick any test to jump directly to the source code location. The extension automatically opens the file and highlights the test line. Auto-Detection of ReportsThe extension automatically discovers report files such as:
in common project locations. No configuration required for most projects. Multiple Report SupportReporterPlus automatically loads multiple report files when present. This is especially useful for projects that generate:
All reports are merged and displayed in a single unified view. Live UpdatesTest results update automatically when report files change. When CI or local runs generate new reports, the sidebar refreshes instantly. Quick Start1 Install pytest-html-plus
or
2 Run your tests
or
3 Open the ReporterPlus sidebarClick the test flask icon in the VS Code Activity Bar. Your test results will appear automatically. ConfigurationAutomatic Report Detection (Recommended)By default the extension automatically searches for report files in the workspace. No configuration is required. Manual ConfigurationIf your report is stored in a custom location:
or
2 Run:
3 Choose one of:
Settings
Commands
DevelopmentPrerequisites
Setup
Run in Debug Mode1 Open the project in VS Code 2 Press:
This launches the Extension Development Host. 3 Test using the included:
Build Extension Package
This produces a Design PhilosophyReporterPlus follows VS Code’s native design principles. Minimal UINo clutter or unnecessary panels. Native StylingUses VS Code theme variables for seamless integration. Semantic Colors
Fast RenderingUI updates typically complete in under 100ms, even for large reports. Graceful ErrorsInvalid reports or missing files fail silently without interrupting workflow. TroubleshootingExtension shows no testsCheck:
You can also try:
Navigation not workingEnsure report paths are either:
or
LicenseMIT License See LICENSE for details. |