Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » FIT tests in the TPTP framework
FIT tests in the TPTP framework [message #78201] Fri, 21 July 2006 08:42 Go to next message
Eclipse UserFriend
Originally posted by: laksefisker.hotmail.com

Greetings!

I'm attempting to extend the TPTP framework to handle FIT tests, and was
wondering: have anyone attempted this in the past?

I've followed the "Creating a custom execution environment" tutorial that
was in one of the presentation slides for EclipseCon2005 - the one where
PERL tests were integrated, and am at the point where the only thing I lack
is the buisness logic that actually runs the FIT tests.

I've figured that I should extend the HyadesTestRunner (or the HyadesRunner?
Which one?), but I'm not sure exactly how.

Any tips and pointers would be greatly appreciated.

Henrik W Lund
Re: FIT tests in the TPTP framework [message #83106 is a reply to message #78201] Mon, 11 September 2006 12:03 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Henrick,
Although I am not aware of examples of using the TPTP framework to
handle FIT tests, your approach of using a custom test type and execution
environment will work.

As for the runner extension, the tutorial contains instructions for
implementing a custom runner in Hyades V3.3.x so here are few suggestions
specific for TPTP V4.x:

1) Make sure you have properly added your runner to the classpath in the
agent controller as described in slides 83/84. In TPTP 4.2, the directory
you should be working with is
<AgentControllerHome>\plugins\org.eclipse.hyades.test.tools.core_ <buildID>\config
for the pluginconfig.xml file.

2) Make sure you have not inadvertently copied Microsoft "smart quotes" from
the text of the presentation into your pluginconfig.xml file (making it an
invalid XML file.) You can easily check this by trying to open the file in
a web browser.

3) If you're convinced that your runner has been properly added to the agent
controller's classpath and that the pluginconfig.xml file contains all valid
XML characters, you will need to do some debugging to determine why your
runner process is not coming up properly. As the tutorial describes on
slide 51, there are 3 JVMs you may be concerned with. I suggest debugging
the workbench first, as it is the easiest to debug, and often has enough
information to determine the problem. Set a breakpoint in your executable
object adapter class and double check the arguments that are being passed to
the JVM. Ensure that these arguments are correct. Double check this by
trying to launch a jvm with the classpath described in your modified
pluginconfig.xml file, and with the command line arguments constructed by
your executable object adapter. This shouldn't actually run a test
successfully, but it also should not complain that it couldn't find your
runner class. If it does, then you have a problem with the classpath
described by your pluginconfig,xml.

Paul
"Henrik W Lund" <laksefisker@hotmail.com> wrote in message
news:baa5ffa06498c87ac982a07159@news.eclipse.org...
> Greetings!
>
> I'm attempting to extend the TPTP framework to handle FIT tests, and was
> wondering: have anyone attempted this in the past?
>
> I've followed the "Creating a custom execution environment" tutorial that
> was in one of the presentation slides for EclipseCon2005 - the one where
> PERL tests were integrated, and am at the point where the only thing I
> lack is the buisness logic that actually runs the FIT tests.
>
> I've figured that I should extend the HyadesTestRunner (or the
> HyadesRunner? Which one?), but I'm not sure exactly how.
>
> Any tips and pointers would be greatly appreciated.
>
> Henrik W Lund
>
>
Re: FIT tests in the TPTP framework [message #87385 is a reply to message #78201] Wed, 15 November 2006 13:49 Go to previous message
Eclipse UserFriend
Originally posted by: rotbart.e-sim.co.il

Henrik W Lund wrote:
> Greetings!
>
> I'm attempting to extend the TPTP framework to handle FIT tests, and was
> wondering: have anyone attempted this in the past?
>
> I've followed the "Creating a custom execution environment" tutorial
> that was in one of the presentation slides for EclipseCon2005 - the one
> where PERL tests were integrated, and am at the point where the only
> thing I lack is the buisness logic that actually runs the FIT tests.
>
> I've figured that I should extend the HyadesTestRunner (or the
> HyadesRunner? Which one?), but I'm not sure exactly how.
>
> Any tips and pointers would be greatly appreciated.
>
> Henrik W Lund
>
>
Henrik,

If you succeed in running FIT under TPTP I would be very interested in
trying your integration code.

- Fred
Previous Topic:TPTP profiler startup problems
Next Topic:[AGR] Invoking context-menu items inside an editor pane
Goto Forum:
  


Current Time: Thu Apr 25 11:06:39 GMT 2024

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

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

Back to the top