[
https://issues.apache.org/jira/browse/SUREFIRE-2153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov updated SUREFIRE-2153:
-------------------------------------
Description:
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
was: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.
> Replace SurefireReportGenerator with 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
>
> 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)