[TIP] What's status.dat doing in coverage.py's HTML report?
Laurens Van Houtven
_ at lvh.cc
Wed Nov 14 05:16:52 PST 2012
Ah, I figured it was a cache as a performance optimization :)
On Wed, Nov 14, 2012 at 1:20 PM, Ned Batchelder <ned at nedbatchelder.com>wrote:
> Creating the HTML report can be time-consuming. But generally, the
> report changes very little between successive runs of coverage.py.
> status.dat records hashes of the source files and their coverage data, so
> they can be skipped if they haven't changed. In typical usage, this makes
> the HTML report much faster to generate. There's nothing sensitive in the
> file, I would leave it.
> On 11/14/2012 3:59 AM, Laurens Van Houtven wrote:
> I've recently moved to Fossil. It has this feature where some files from
> the repository (or even the current checkout) can be served by the web
> server. This is great for showing stuff like build output, including
> coverage data.
> So I changed my coverage.py line to dump output in that directory and put
> the output under source control... And then I saw that this status.dat
> file, filled with binary data got added.
> What's it doing there and what's the consequences of removing it?
> thanks in advance
> testing-in-python mailing listtesting-in-python at lists.idyll.orghttp://lists.idyll.org/listinfo/testing-in-python
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the testing-in-python