Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Running TPTP tests from an external framework
Running TPTP tests from an external framework [message #52451] Wed, 01 February 2006 16:50 Go to next message
Hampus Edvardsson is currently offline Hampus EdvardssonFriend
Messages: 2
Registered: July 2009
Junior Member
I have a TPTP test suite in Eclipse that I run as part of a test
framework initiated from a unix command line.

I can start the tests by lauching Eclipse with the hyades
AutomationClientAdapter and generate a .execution file with the test
results. However, I have not been able to figure out how to read the
test status from this binary file and communicate the status back to my
test framework. Any ideas on how to do this?

In Eclipse, I can manually use TPTP to generate an HTML report from the
test execution. Is there any way to doing this from the command line?

/Hampus Edvardsson
Re: Running TPTP tests from an external framework [message #52532 is a reply to message #52451] Thu, 02 February 2006 02:57 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Hampus,
The *.execution file is a compressed EMF XMI document containing the
test execution results. You may uncompress the file (e.g. using unzip or
WinZip) and parse the XMI (e.g. TPFExecutionResult element). A couple of
useful resources include:

Rational Rose generated web based documentation of the data models:
http://www.eclipse.org/tptp/platform/documents/resources/mod els/index.htm

org.eclipse.hyades.models.common.testprofile.TPFExecutionRes ult JavaDoc:
http://download.eclipse.org/tptp/4.2.0/javadoc/Platform/publ ic/org/eclipse/hyades/models/common/testprofile/TPFExecution Result.html

Test execution events
( http://download.eclipse.org/tptp/4.2.0/javadoc/Platform/publ ic/org/eclipse/
hyades/models/common/testprofile/TPFExecutionEvent.html) are laoded into the
Test model using the:

http://download.eclipse.org/tptp/4.2.0/javadoc/Platform/publ ic/org/eclipse/hyades/loaders/common/XMLexecutionEventLoader .html

See
http://www.eclipse.org/tptp/test/documents/tutorials/eclipse Con2005/EclipseCon2005_Tutorial6.pdf
for an illustration.

Paul
"Hampus Edvardsson" <hampus@virtutech.com> wrote in message
news:drqotg$jfj$1@utils.eclipse.org...
> I have a TPTP test suite in Eclipse that I run as part of a test
> framework initiated from a unix command line.
>
> I can start the tests by lauching Eclipse with the hyades
> AutomationClientAdapter and generate a .execution file with the test
> results. However, I have not been able to figure out how to read the
> test status from this binary file and communicate the status back to my
> test framework. Any ideas on how to do this?
>
> In Eclipse, I can manually use TPTP to generate an HTML report from the
> test execution. Is there any way to doing this from the command line?
>
> /Hampus Edvardsson
Re: Running TPTP tests from an external framework [message #52614 is a reply to message #52451] Thu, 02 February 2006 16:17 Go to previous message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
There are also a couple of enhancements opened to be able to interpret and
report on test results:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=111542
https://bugs.eclipse.org/bugs/show_bug.cgi?id=111544

You can vote for them to show that there is interest in implementing them.

"Hampus Edvardsson" <hampus@virtutech.com> wrote in message
news:drqotg$jfj$1@utils.eclipse.org...
> I have a TPTP test suite in Eclipse that I run as part of a test
> framework initiated from a unix command line.
>
> I can start the tests by lauching Eclipse with the hyades
> AutomationClientAdapter and generate a .execution file with the test
> results. However, I have not been able to figure out how to read the
> test status from this binary file and communicate the status back to my
> test framework. Any ideas on how to do this?
>
> In Eclipse, I can manually use TPTP to generate an HTML report from the
> test execution. Is there any way to doing this from the command line?
>
> /Hampus Edvardsson
Previous Topic:How to export testsuites/testcases created by AGR
Next Topic:Missing execution statistics??
Goto Forum:
  


Current Time: Fri Jul 19 12:27:53 GMT 2024

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

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

Back to the top