Thread overview
Measuring test coverage
Aug 09, 2015
Alexei Bykov
Aug 10, 2015
Rikki Cattermole
Aug 10, 2015
Alexei Bykov
Aug 10, 2015
Stefan Frijters
Aug 10, 2015
Alexei Bykov
August 09, 2015
D has builtin support for coverage analysis but it produces only .lst files. This is a bit inconvenient. Is there any tool which can create something like an html report from .lst files?
For now I'm using OpenCppCoverage which is not the best tool and works only on Windows but at least it produces html reports which can be customized (sort of).
August 10, 2015
On 10/08/2015 8:24 a.m., Alexei Bykov wrote:
> D has builtin support for coverage analysis but it produces only .lst
> files. This is a bit inconvenient. Is there any tool which can create
> something like an html report from .lst files?
> For now I'm using OpenCppCoverage which is not the best tool and works
> only on Windows but at least it produces html reports which can be
> customized (sort of).

Good news, looks like you'll be working on a new D tool ;)
August 10, 2015
On Sunday, 9 August 2015 at 20:24:22 UTC, Alexei Bykov wrote:
> D has builtin support for coverage analysis but it produces only .lst files. This is a bit inconvenient. Is there any tool which can create something like an html report from .lst files?
> For now I'm using OpenCppCoverage which is not the best tool and works only on Windows but at least it produces html reports which can be customized (sort of).

If your code is hosted at Github or similar, https://github.com/ColdenCullen/doveralls allows you to use coveralls.io for D code. Not made by me, but I've been using it for a while now and it works very well for me.
August 10, 2015
On Monday, 10 August 2015 at 08:06:35 UTC, Stefan Frijters wrote:
> On Sunday, 9 August 2015 at 20:24:22 UTC, Alexei Bykov wrote:
>> D has builtin support for coverage analysis but it produces only .lst files. This is a bit inconvenient. Is there any tool which can create something like an html report from .lst files?
>> For now I'm using OpenCppCoverage which is not the best tool and works only on Windows but at least it produces html reports which can be customized (sort of).
>
> If your code is hosted at Github or similar, https://github.com/ColdenCullen/doveralls allows you to use coveralls.io for D code. Not made by me, but I've been using it for a while now and it works very well for me.

Thanks for the link. I'll try that.
August 10, 2015
On Monday, 10 August 2015 at 04:03:36 UTC, Rikki Cattermole wrote:
> On 10/08/2015 8:24 a.m., Alexei Bykov wrote:
>> D has builtin support for coverage analysis but it produces only .lst
>> files. This is a bit inconvenient. Is there any tool which can create
>> something like an html report from .lst files?
>> For now I'm using OpenCppCoverage which is not the best tool and works
>> only on Windows but at least it produces html reports which can be
>> customized (sort of).
>
> Good news, looks like you'll be working on a new D tool ;)

Well, it came into my thought to make some helper scripts :