Skip to main content

Serve (and View)

Serve the latest HTML report over http://127.0.0.1:<port> and open it in your default browser.

testronaut serve

or

testronaut view

What it does

Finds the newest run_<timestamp>.html in the outputDir configured in testronaut-config.json.

Starts a minimal static server rooted at that folder (so screenshots load).

Opens your default browser to the report.

This command serves a local report and does not upload it. To review a run in Mission Control, run testronaut upload and see Use the Mission Control dashboard.

Keeps running until you press Ctrl+C.

Notes​

If you don’t see the page, make sure your terminal isn’t exiting the process.

The server binds to 127.0.0.1 on a random free port.