Skip to content

open

Open the latest report or trace viewer in the browser.

Description

open finds the latest report or trace file in the output directory and opens it with the default browser.

Usage

behave-runner open [OPTIONS] [TARGET]

Options

Flag Type Default Description
[TARGET] TEXT report What to open: report or trace.
--output PATH reports Directory containing reports.

Examples

# Open the latest report
behave-runner open

# Open the latest trace
behave-runner open trace

# Use a custom reports directory
behave-runner open --output my-reports/

Dependencies

The base open command is included with behave-runner. Opening trace requires behave-trace:

pip install "behave-runner[trace]"