saga icon indicating copy to clipboard operation
saga copied to clipboard

Introduce an XML report to use it later as a canonical model

Open timurstrekalov opened this issue 13 years ago • 2 comments

Should use an open, proven report format, such as Cobertura's or EMMA's (or whatever, check it first).

timurstrekalov avatar Mar 09 '13 16:03 timurstrekalov

@timurstrekalov I'd like to take a stab at implementing a Cobertura reporter, but I was hoping for some guidance first.

Looking at the other reporters today, it looks like I would need a new reporter, a handful of new string template files, and the correct APIs in TestRunCoverageStatistics and ScriptCoverageStatistics so I can get the data I need in the string templates. Does that sound about right?

EDIT: I just realized this issue is for creating a generic XML report that can then be transformed. I can try to take a look at that approach as well.

sieverssj avatar Aug 23 '13 12:08 sieverssj

@sieverssj yes, you are absolutely right: both approaches would work, but it sort of seems it's best to make XML the default format (and take it from a well-known one), and only then transform it to HTML, PDF, CSV and what not. Then we could get rid of stringtemplate usage altogether.

timurstrekalov avatar Aug 27 '13 05:08 timurstrekalov