List Icon
Mailing list Archive

2019 up to July 2022 | 20182017  |  2016  2015 2014 | 2013

The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter  


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] testsuite name in JUnit report very long


  • Subject: Re: [QF-Test] testsuite name in JUnit report very long
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Fri, 28 Oct 2016 19:55:19 +0200

Hello Bernhard,

I looked into this to see if the command line argument -sourcedir
makes a difference. As it turns out it doesn't.

Of course, one possibility would be post-processing the Junit Report
to remove the path.

And you cold modify the XSLT stylesheet report_junit.xsl and place the
modified copy into the directory .../qftest/report (which you need to
create). It's quite tricky to get right though and I wonder whether
it's worth it in case this is only for cosmetic reasons.

Best regards,
    Greg


Bernhard Schmitt <bernhard.schmitt@?.de> writes:

> Hello,
>
> when I create a Junit Report with
> qftest -batch -genreport -report.junit reports\junit\publish -report.warnings true reports\qrz
> the testsuite name contains the suite with the absolute path:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <testsuite errors="0" failures="9" hostname="XYZ" name="E:/Automaten/
> workspace/EnvMon /testsuites/wrapper/TestBench_Wrapper_qft" tests="16"
> time="2275.451"
>
> This full suite name is displayed in Jenkins in the mask 'Test
> Results'. Is it possible to report only the suite name without
> absolute path?
>
> BR
>
> Bernhard

--
Gregor Schmid

E: gregor.schmid@?.de
T: +49 8171 38648-11
F: +49 8171 38648-16

Quality First Software GmbH | www.qfs.de
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer
HRB München 140833