You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/05/01 11:32:00 UTC

[jira] [Updated] (SUREFIRE-2153) Replace SurefireReportGenerator with a modern SurefireReportRenderer

     [ https://issues.apache.org/jira/browse/SUREFIRE-2153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov updated SUREFIRE-2153:
-------------------------------------
    Summary: Replace SurefireReportGenerator with a modern SurefireReportRenderer  (was: Replace SurefireReportGenerator with a modernized SurefireReportRenderer)

> Replace SurefireReportGenerator with a modern SurefireReportRenderer
> --------------------------------------------------------------------
>
>                 Key: SUREFIRE-2153
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2153
>             Project: Maven Surefire
>          Issue Type: Task
>          Components: Maven Surefire Report Plugin
>    Affects Versions: 3.0.0-M9
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 3.1.0
>
>
> The problem with {{SurefireReportGenerator}} is that is has been written 10+ years ago. It does not use {{AbstractMavenReportRenderer}} which causes a lot of code duplication. It shall be superseded with {{SurefireReportRenderer}} which does extend from the abstract renderer.
> The new renderer will also modernize the way data is displayed:
> * {{SurefireReportParser}} is supposed to collect data, not to format it. This is a task of the view layer
> * Separate percent and number formatters
> * Hide full table row instead of leaving ugly condensed one because of hidden div
> * Remove redudant div around verbatim block
> * Simplify renderer due to the foundatation on abstact renderer
> * Simplify tests



--
This message was sent by Atlassian Jira
(v8.20.10#820010)