Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
August 09, 2015 Measuring test coverage | ||||
---|---|---|---|---|
| ||||
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 Re: Measuring test coverage | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alexei Bykov | 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 Re: Measuring test coverage | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alexei Bykov | 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 Re: Measuring test coverage | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stefan Frijters | 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 Re: Measuring test coverage | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rikki Cattermole | 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 :
|
Copyright © 1999-2021 by the D Language Foundation