How can I view my surefire report index.html in browser?

Hello! I have a simple Java / TestNG project and it creates surefire reports in a target directory. However, I can’t figure out how to get the index.html of the report to render in a browser rather than appear as a page of code.

Thanks in advance!

Hey, @KWood1 welcome to the forums.

Can you please provide us with a link to the repl?


Here’s a link to the file which I’d like to view as a web page, thanks.


I was hoping there would be a right-click/view-in-browser option but that doesn’t appear to be the case.