-
Bug
-
Resolution: Fixed
-
Major
-
None
In trying to write an custom parser and test implementation using hudson.tasks.test it is apparant that some of the hudson.tasks.test classes assume the junit implementation.
e.g.
hudson.tasks.test.AbstractTestResultAction
contains the method
public List<CaseResult> getFailedTests
which hard codes it to the junit implemtnations.
MetaTabultatedResult body.jelly assumes that the "? extends TestResult" has a fullName when rendering the failed test (which is not declared on this object but defined on CaseResult).
I agree, perhaps TestResult should be extended to add a getFullName and then AbstractTestResultAction should use TestResult instead of CaseResult.