Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Objectteams » Testing Object Teams enabled Eclipse
Testing Object Teams enabled Eclipse [message #638475] Thu, 11 November 2010 12:41 Go to next message
Jan Marc Hoffmann is currently offline Jan Marc HoffmannFriend
Messages: 32
Registered: July 2009
Member
Hi guys,

I am looking for a way to startup my modified otdt version and run a test suite with some tests. The TPTP looked promising but I havent found a way to enable OT when starting a testsuite.

Is there a guide somewhere to testing with eclipse+ot?

Or what do you use to run your tests on the otdt?

thanks

greetings
Jan Marc
Re: Testing Object Teams enabled Eclipse [message #638484 is a reply to message #638475] Thu, 11 November 2010 13:12 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1048
Registered: July 2009
Senior Member
Hi Jan Marc,

Jan Marc Hoffmann wrote on Thu, 11 November 2010 13:41
Hi guys,

I am looking for a way to startup my modified otdt version and run a test suite with some tests.


I assume you know how to start a runtime Eclipse with
OT/Equinox enabled (for manual testing)?

For tests it's essentially the same, if those tests have
been implemented as JUnit-Plugin-Tests.
Then running just requires to find the "enable OT/Equinox"
checkbox and click run Smile

For inspiration of how to write JUnit-Plugin-Tests you
may look at any tests below
http://dev.eclipse.org/svnroot/tools/org.eclipse.objectteams /trunk/testplugins

Quote:
The TPTP looked promising but I havent found a way to enable OT when starting a testsuite.


Which functionality of TPTP do you want to use?
I'm afraid that might be connected to a special
launch configuration type or even run action?

If there's any launch dialog which doesn't have an
OT checkbox, we should probably just add it Smile

best,
Stephan
Re: Testing Object Teams enabled Eclipse [message #638533 is a reply to message #638484] Thu, 11 November 2010 15:14 Go to previous messageGo to next message
Jan Marc Hoffmann is currently offline Jan Marc HoffmannFriend
Messages: 32
Registered: July 2009
Member
Stephan Herrmann wrote on Thu, 11 November 2010 08:12

Which functionality of TPTP do you want to use?
I'm afraid that might be connected to a special
launch configuration type or even run action?

If there's any launch dialog which doesn't have an
OT checkbox, we should probably just add it Smile

best,
Stephan



I want to use the test suite functionality. There is a graphical editor for testsuites which generates a Test Run Configuration. This configuration doesnt offer any settings related to the launch. I wonder why? This should be something people need a lot.

A new launch check box there would be fine.

Maybe I should talk to the TPTP guys first and ask them why there isnt any option to specify a launch configuration in a test run configuration.
Re: Testing Object Teams enabled Eclipse [message #638591 is a reply to message #638533] Thu, 11 November 2010 17:29 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1048
Registered: July 2009
Senior Member
Jan Marc Hoffmann wrote on Thu, 11 November 2010 16:14

I want to use the test suite functionality. There is a graphical editor for testsuites which generates a Test Run Configuration. This configuration doesnt offer any settings related to the launch. I wonder why? This should be something people need a lot.


Ok, that's functionality I never used (I used TPTP only for profiling;
JUnit tests I create and launch with normal JDT or PDE funtionality.

Accoring to Help > running a test tests can be launched with or without
a configuration dialog.

Since I don't know what exact dialog you'll see, could you
please look for a tab where the JRE is configured?
That's where we want to add OT support, if not already there.

let's see if you can help me understand this without needing
to install TPTP and learn about its test suite features.

best,
Stephan

Re: Testing Object Teams enabled Eclipse [message #640160 is a reply to message #638591] Fri, 19 November 2010 11:57 Go to previous message
Jan Marc Hoffmann is currently offline Jan Marc HoffmannFriend
Messages: 32
Registered: July 2009
Member
Stephan Herrmann wrote on Thu, 11 November 2010 12:29
Jan Marc Hoffmann wrote on Thu, 11 November 2010 16:14

I want to use the test suite functionality. There is a graphical editor for testsuites which generates a Test Run Configuration. This configuration doesnt offer any settings related to the launch. I wonder why? This should be something people need a lot.


Ok, that's functionality I never used (I used TPTP only for profiling;
JUnit tests I create and launch with normal JDT or PDE funtionality.

Accoring to Help > running a test tests can be launched with or without
a configuration dialog.

Since I don't know what exact dialog you'll see, could you
please look for a tab where the JRE is configured?
That's where we want to add OT support, if not already there.

let's see if you can help me understand this without needing
to install TPTP and learn about its test suite features.

best,
Stephan




Hehe yeah I have been looking for this tab quite a while. Here is what I get:

http://img259.imageshack.us/img259/6808/ottdt0.png
http://img600.imageshack.us/img600/8921/ottdt1.png
http://img200.imageshack.us/img200/281/ottdt2.png

As an alternative I tried the old way by using the regular JUnit Plugintests. They work fine and i can select OT and choose the plugins i wanna use for the test.

While searching the TPTP forums I found the following:

http://www.eclipse.org/tptp/home/project_info/devplans/Eclip seTPTPProjectPlan2010.htm

So I think its not worth it to add OT support to this dying project. I am fine with the Plugintests.

thanks and greetings

Jan Marc
Previous Topic:pde build with OT
Next Topic:E4 efforts for harmonizing jdt
Goto Forum:
  


Current Time: Fri Dec 19 21:38:47 GMT 2014

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

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