
|
If you were logged in you would be able to see more operations.
|
|
|
|
|
| Component/s: |
Publisher
|
| Affects Version/s: |
1.1
|
| Fix Version/s: |
None
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
|
Currently the statistics pubisher only allows you to add additional columns on top of a "hard-coded" set of statistics columns inside the StatisticsBuilder class.
This is so close to being as flexible as what it could be - those of use who do not want FxCop statistics or wnat to rename the columns to help with formatting the output are stymied.
By adding a "includeDefaults="false" or similar attribute (default value being true if not specified) to the <statistics> element it would give the flexibility for developers to completely replace this set with their own.
The complicating wrinkle is the StatisticsChartGenerator, which in the constructor has some hard-coded "relevantStats". This could be replaced by adding another attribute to the <statistic> element such as "relevant=true".
|
|
Description
|
Currently the statistics pubisher only allows you to add additional columns on top of a "hard-coded" set of statistics columns inside the StatisticsBuilder class.
This is so close to being as flexible as what it could be - those of use who do not want FxCop statistics or wnat to rename the columns to help with formatting the output are stymied.
By adding a "includeDefaults="false" or similar attribute (default value being true if not specified) to the <statistics> element it would give the flexibility for developers to completely replace this set with their own.
The complicating wrinkle is the StatisticsChartGenerator, which in the constructor has some hard-coded "relevantStats". This could be replaced by adding another attribute to the <statistic> element such as "relevant=true".
|
Show » |
|
I use MbUnit, so I need different xpath for the same TestCount value, this is also used as stats to build the chart.
But I cannot override it setting a new TestCount stats inside the statistics publisher, so I'm forced to change the name of the statistic like this:
<statistic name='TestCountMb' xpath='sum(//report-result/counter/@run-count)'/>
and that's bad since now it's not used by the chart generator any more, and then I also have to change the statistics xsl and hard-code the table names.