TPTP junit reports [message #128528] |
Wed, 16 April 2008 16:34 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Nick Young![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=Nicholas.Young%40microfocus.com) Messages: 16 Registered: July 2009 |
Junior Member |
|
|
Hi, I'm trying to automate our tptp junit tests, so they run from our ant
scripts as per our normal junit tests. This I think is nearly achieved, but
the tptp tests only seem to produce either a .execution file, or an HTML
report based on the birt reports. What I need is an output that matches the
normal junit test results, i.e in xml format, so I can do an junit report
merge on these. Is this possible with tptp - has anyone achieved this, and
if so, are there any tutorials that cover this? I'm quite surprised tptp
doesn't seem to have a built in report output for junit compatible xml. I've
been playing with the BIRT reporting, and can produce a nice html file but
not an XML file... Can anyone help?
Thanks,
Nick Young
|
|
|
|
|
Re: TPTP junit reports [message #129326 is a reply to message #128528] |
Mon, 28 April 2008 11:55 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Paul Slauenwhite![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=paulslau%40ca.ibm.com) Messages: 975 Registered: July 2009 |
Senior Member |
|
|
Hi Nick,
When TPTP test suites are executed, they produce a *.execution file
(compressed XMI model file) that can be viewed in the Test Log view of
Eclipse. You can generate reports (including BIRT) from one or more
*.execution files. We provide several report templates, but users are
encouraged to create report templates for their specific use cases and
possibly contribute these reports back to the project for others to use:
http://www.eclipse.org/tptp/home/documents/process/developme nt/Guide-to-TPTP-BIRT-Reports.html
Paul
"Nick Young" <nicholas.young@microfocus.com> wrote in message
news:fu59ue$t8l$1@build.eclipse.org...
> Hi, I'm trying to automate our tptp junit tests, so they run from our ant
> scripts as per our normal junit tests. This I think is nearly achieved,
> but the tptp tests only seem to produce either a .execution file, or an
> HTML report based on the birt reports. What I need is an output that
> matches the normal junit test results, i.e in xml format, so I can do an
> junit report merge on these. Is this possible with tptp - has anyone
> achieved this, and if so, are there any tutorials that cover this? I'm
> quite surprised tptp doesn't seem to have a built in report output for
> junit compatible xml. I've been playing with the BIRT reporting, and can
> produce a nice html file but not an XML file... Can anyone help?
>
> Thanks,
> Nick Young
|
|
|
Re: TPTP junit reports [message #129339 is a reply to message #128635] |
Mon, 28 April 2008 11:58 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Paul Slauenwhite![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=paulslau%40ca.ibm.com) Messages: 975 Registered: July 2009 |
Senior Member |
|
|
TPTP provides the Automatable Services Framework (ASF) for executing tests,
interrogating results, and publishing reports from Ant, scripts, and Java
applications:
http://help.eclipse.org/help33/topic/org.eclipse.hyades.test .doc.user/tasks/tlaunching-tests-from-scripts-and-applicatio ns.htm
PS
"Nick Young" <nicholas.young@microfocus.com> wrote in message
news:fuaelb$ng7$1@build.eclipse.org...
> Aaah., that may help me, thanks!
>
> Actually, while I'm here, I'll state that my aim is to get these tests
> running as part of our continuous integration (CruiseControl), so I'd be
> grateful if anyone else has any experience of running these tests and
> reporting the results under cruise?
>
> "DuWayne Morris" <dmorris@us.ibm.com> wrote in message
> news:680ea8ecb4ce7d9385c72fdd82a47ae4$1@www.eclipse.org...
>> Hi,
>>
>> The .execution file is a zipped file. The ResourceContents file in the
>> zip file is an XML file.
>>
>> DuWayne
>>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03983 seconds