Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » TPTP junit reports
TPTP junit reports [message #128528] Wed, 16 April 2008 16:34 Go to next message
Nick Young is currently offline Nick YoungFriend
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 #128581 is a reply to message #128528] Fri, 18 April 2008 12:24 Go to previous messageGo to next message
DuWayne Morris is currently offline DuWayne MorrisFriend
Messages: 36
Registered: July 2009
Member
Hi,

The .execution file is a zipped file. The ResourceContents file in the
zip file is an XML file.

DuWayne
Re: TPTP junit reports [message #128635 is a reply to message #128581] Fri, 18 April 2008 15:26 Go to previous messageGo to next message
Nick Young is currently offline Nick YoungFriend
Messages: 16
Registered: July 2009
Junior Member
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
>
Re: TPTP junit reports [message #129326 is a reply to message #128528] Mon, 28 April 2008 11:55 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
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
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
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
>>
>
Previous Topic:Rational Modeling Platform group’s Test Automation system (RMPTAS)
Next Topic:Not able run test cases with GEF 3.3.2 version
Goto Forum:
  


Current Time: Thu Apr 25 16:34:50 GMT 2024

Powered by FUDForum. Page generated in 0.02638 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top