|
If a test case name is present in several packages, and a test is failed in one of the packages, the age of the failure always will be '1'.
Moreover the ext email plugin will send a mail at every run if the regression trigger is configured.
See this simple example of test results:
<testsuites name="AllTests"><testsuite name="foo"><testcase name="ThisTestNameIsDuplicated" classname="package2.test"><failure message="FAILED"/></testcase></testsuite></testsuites>
<testsuites name="AllTests2"><testsuite name="foo"><testcase name="ThisTestNameIsDuplicated" classname="package1.test"/></testsuite></testsuites>
These two test cases :
-
package1.test.ThisTestNameIsDuplicated
-
package2.test.ThisTestNameIsDuplicated
are displayed properly in Jenkins, but the age of failure of package2.test.ThisTestNameIsDuplicated will always be 1 after several run of the "tests".
It seems that the classname is not taken into account when computing the age.
|