When there are a lot of issues to be fixed (like in the Diff module), the output of dmu-analyze borders on unreadable. It needs pretty formatting, stat. I need input from a UI/usability person on this.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

webchick’s picture

A couple of ideas that came up on the call:

1) Create an HTML report, rather than command-line.
2) "Pretty print" it using a utility like the one in PHPUnit.

tim.plunkett’s picture

Just as a pointer, to see how PHPUnit does it:

PHP_CodeCoverage_Report_HTML is the main class, which references several Renderers, like PHP_CodeCoverage_Report_HTML_Renderer_File.

This is all kicked off by PHPUnit_TextUI_TestRunner.

phenaproxima’s picture

Status: Active » Fixed

dmu-analyze will now output a pretty HTML file using Twig. Plugin annotations need to be changed to adapt (so far only InfoToYAML has been updated), but I'm calling this fixed anyway!

webchick’s picture

Starting to look real slick! :D

One thing we definitely need still though is a pointer in the dmu-analyze command-line output to explain to people what happened. We can do that here or in another issue.

webchick’s picture

For posterity, screenshot of current output.

phenaproxima’s picture

Status: Fixed » Closed (fixed)