Logo QF-Test

Finding valuable answers
in the Mailing List Archive.

 

Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2016


[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



Videos Downloads Documentation Buy Free Trial