galenframework / galen

Layout and functional testing framework for websites
http://galenframework.com
1.41k stars 163 forks source link

JUnit report- testsuite name #479

Open IrekW opened 7 years ago

IrekW commented 7 years ago

Hi, I'm using the junit report on jenkins pipeline together with some other reports. All junit reports are then collected on one summarised report. The Galen xml report file starts with <testsuites><testsuite ...> tag while other reports don't have <testsuites> level at the beginning and start with <testsuite ...> having also some more attributes (see examples below). As a result, the Galen report is named "root" (on the level of testsuites) where other reports have their own names (from testsuite level). Of course "Galen Suite" is there, one level lower from "root". Is it possible to specify the name also for the root testsuites in XML so jenkins will recognize it as Galen and not root? Or maybe just start from the "testsuite" Ievel? I know I can manually modify "galen.jar/junit-report/junit-report.ftl.xml" template but I wanted to avoid it. For comparison:

`

...` - xml for junit report from other engine ` ...`
hypery2k commented 7 years ago

the name Galen Suite is currently hard-coded for JUnit and TestNG.

You want to add the browser info there, right?

IrekW commented 7 years ago

No, I just wanted to place it on the same level as other reports so to see that this is Galen report and not some unknown "root". Galen reports have one level more because of testsuites tag so it is added by Jenkins as root/Galen Suite. Other reports just start without this root, so one click closer.