danhper / opencov

Open source code coverage history webapp
http://demo.opencov.com
MIT License
317 stars 42 forks source link

Generating static site #34

Open abitrolly opened 4 years ago

abitrolly commented 4 years ago

Is it possible to generate static code coverage site for browsing without authentication?

danhper commented 4 years ago

Hi! This tool unfortunately does not support this. I think it is slightly out of the scope of this, as it needs a server to receive the coverage statistics but I am open to discussion.

abitrolly commented 4 years ago

The first thing that comes to mind is to create CLI scripts that accepts coverage as a file argument, starts local server, and then uses requests to download all relevant pages. Maybe it is possible to render pages without starting server.