Closed DaGeRe closed 2 years ago
It is intended that the first run of a parameterized test is executed without parameters, because the count of parameters cannot be derived by static code analysis. Therefore, the first non-parameterized run should not be flagged as having an error, but just have a question mark with the info This is a parameterized test and the first test run had been executed to derive the concrete parameters.
.
For the MeasurementDisplay .getMethodWithParams
should be used.
The first part is done. The measurement display has other problem and probably didn't just affect ParameterizedTests. I create new Issues for this: https://github.com/jenkinsci/peass-ci-plugin/issues/134
What feature do you want to see added?
When a parameterized test is executed, Peass is in the initial version (by static code analysis) only capable to identify the test without the parameters. For all subsequent versions, the parameters are known and handled. As far as I see, this works correctly in Peass (excluding RCA), but not in Peass-CI since the UI is not capable of visualizing results correctly.
These following fixes are (at least) necessary:
The problem can be reproduced by the following pipeline:
Upstream changes
No response