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.

npx testronaut serve

or

npx testronaut view

What it does

Finds the newest run_<timestamp>.html in ./missions/mission_reports/.

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

Opens your default browser to the report.

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.