Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Test suites on TPTP???
Test suites on TPTP??? [message #103564] Mon, 09 July 2007 07:59 Go to next message
Luis is currently offline LuisFriend
Messages: 20
Registered: July 2009
Junior Member
Hello,

We are developing RCP applications and we have been investigating on a
testing tool for our code. Apparently TPTP is very powerful for creating
class-level tests, going beyond what the plain JUnit offers.

However, we have not been able to find the way to group a series of tests
into a test suite, just like JUnit does. Obviously we could use JUnit to
create test suites, but then we would be losing all the advantages of TPTP.

Does TPTP support test suites by grouping tests? And test suites that
group tests and other suites? We would need to create a suite per plugin
and then a global suite that tests all the plugins.

Thanks in advance,

Luis.
Re: Test suites on TPTP??? [message #103625 is a reply to message #103564] Mon, 09 July 2007 11:15 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Luis,
TPTP provides this function. Once you create a TPTP test suite (e.g.
TPTP JUnit test suite) and add test cases in the 'Test Methods' tab of the
test suite editor, you can define a behavior for that test suite. Typically
test suite behaviors include loops with invocations to test cases defined in
that test suite. However, you can also reference external test case/methods
and test suites, producing a hierarchal grouping of tests. You can execute
and report from any level of this hierarchy. For more information, see:

http://help.eclipse.org/help32/topic/org.eclipse.hyades.test .doc.user/concepts/cjunitintro.htm

Paul
"Luis" <lcrespom@gmail.com> wrote in message
news:0878c9187e17ebb6f8764cb7dd1e1252$1@www.eclipse.org...
> Hello,
>
> We are developing RCP applications and we have been investigating on a
> testing tool for our code. Apparently TPTP is very powerful for creating
> class-level tests, going beyond what the plain JUnit offers.
>
> However, we have not been able to find the way to group a series of tests
> into a test suite, just like JUnit does. Obviously we could use JUnit to
> create test suites, but then we would be losing all the advantages of
> TPTP.
>
> Does TPTP support test suites by grouping tests? And test suites that
> group tests and other suites? We would need to create a suite per plugin
> and then a global suite that tests all the plugins.
>
> Thanks in advance,
>
> Luis.
>
Re: Test suites on TPTP??? [message #103682 is a reply to message #103625] Mon, 09 July 2007 14:34 Go to previous message
Luis is currently offline LuisFriend
Messages: 20
Registered: July 2009
Junior Member
Wow, you are right! I just did a quick check and yes it lets me choose
another test suite.

Thank you very much!!!


Luis.

P.S.: It is a very powerful functionality that is quite hidden in the
documentation, as the "behavior tab" documentation simply says
"invocations allow you to specify which test methods you wish to run, and
in which order", without explaining that you can reference other suites
from there. If TPTP test suite composition is not explained anywhere else,
it deserves a section of its own.
Previous Topic:Using TPTP with NON integrated Agent Controller
Next Topic:Problems calling the TPTP publication service via Java
Goto Forum:
  


Current Time: Fri Apr 26 04:06:12 GMT 2024

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

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

Back to the top