digitalmars.D.learn - Measuring test coverage
- Alexei Bykov (6/6) Aug 09 2015 D has builtin support for coverage analysis but it produces only
- Rikki Cattermole (2/8) Aug 09 2015 Good news, looks like you'll be working on a new D tool ;)
- Alexei Bykov (2/14) Aug 10 2015 Well, it came into my thought to make some helper scripts :
- Stefan Frijters (5/11) Aug 10 2015 If your code is hosted at Github or similar,
- Alexei Bykov (2/13) Aug 10 2015 Thanks for the link. I'll try that.
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).
Aug 09 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 ;)
Aug 09 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:Well, it came into my thought to make some helper scripts :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 ;)
Aug 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.
Aug 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:Thanks for the link. I'll try that.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.
Aug 10 2015