Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » just want to test a plug-in
just want to test a plug-in [message #48254] Tue, 27 December 2005 10:54 Go to next message
Eclipse User
Originally posted by: address.starts.after.hyphen-martin.umgeher.joanneum.at

Hi all,

I'd like to auto-test some of my custom plug-ins. Most of the code can
be separately tested with simple JUnit test cases, but for some stuff
relying on the eclipse resource framework, JUnit is not enough. Is TPTP
the right tool for this? Note that I don't require performance testing.
monitoring, etc. just simple test cases for classes which use the
eclipse platform. Since I didn't find concrete docs, I'd like to ask
this to the newsgroup.

Thanks,
M
Re: just want to test a plug-in [message #48347 is a reply to message #48254] Wed, 28 December 2005 02:35 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
If it's JUnit Plugin testing you're looking after, then look here:

TPTP Tester guide > JUnit testing with TPTP > Testing JUnit Plug-ins with
TPTP

"martin" <address.starts.after.hyphen-martin.umgeher@joanneum.at> wrote in
message news:dor6ga$va4$1@utils.eclipse.org...
> Hi all,
>
> I'd like to auto-test some of my custom plug-ins. Most of the code can
> be separately tested with simple JUnit test cases, but for some stuff
> relying on the eclipse resource framework, JUnit is not enough. Is TPTP
> the right tool for this? Note that I don't require performance testing.
> monitoring, etc. just simple test cases for classes which use the
> eclipse platform. Since I didn't find concrete docs, I'd like to ask
> this to the newsgroup.
>
> Thanks,
> M
Re: just want to test a plug-in [message #48377 is a reply to message #48347] Wed, 28 December 2005 08:05 Go to previous messageGo to next message
Eclipse User
Originally posted by: address.starts.after.hyphen-martin.umgeher.joanneum.at

Ali Mehregani wrote:
> If it's JUnit Plugin testing you're looking after, then look here:
>
> TPTP Tester guide > JUnit testing with TPTP > Testing JUnit Plug-ins with
> TPTP

Thanks, that's what I was looking for. Only problem is: I can't follow
the tutorial because my TPTP doesn't add a 'Test/TPTP JUnit Plugin Test'
wizard (though it does add a bunch of other wizards). I use eclipse
3.1.1 and TPTP 4.0.1 (the 'All' download with 28MB). Wrong version for
the tutorial?

Thx,
M
Re: just want to test a plug-in [message #48710 is a reply to message #48377] Mon, 02 January 2006 04:38 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
JUnit Plugin test was introduced in TPTP 4.1. You'll need to grab release
4.1 to be able to use this feature.


"martin" <address.starts.after.hyphen-martin.umgeher@joanneum.at> wrote in
message news:doth01$e3a$1@utils.eclipse.org...
> Ali Mehregani wrote:
> > If it's JUnit Plugin testing you're looking after, then look here:
> >
> > TPTP Tester guide > JUnit testing with TPTP > Testing JUnit Plug-ins
with
> > TPTP
>
> Thanks, that's what I was looking for. Only problem is: I can't follow
> the tutorial because my TPTP doesn't add a 'Test/TPTP JUnit Plugin Test'
> wizard (though it does add a bunch of other wizards). I use eclipse
> 3.1.1 and TPTP 4.0.1 (the 'All' download with 28MB). Wrong version for
> the tutorial?
>
> Thx,
> M
Re: just want to test a plug-in [message #49552 is a reply to message #48710] Mon, 09 January 2006 10:04 Go to previous messageGo to next message
Eclipse User
Originally posted by: address.starts.after.hyphen-martin.umgeher.joanneum.at

Ali Mehregani wrote:
> JUnit Plugin test was introduced in TPTP 4.1. You'll need to grab release
> 4.1 to be able to use this feature.

Upgraded to TPTP 4.1, still no 'Test' wizard category and no 'TPTP JUnit
Plugin Test' wizard... what else could be wrong or missing?

Regards,
M
Re: just want to test a plug-in [message #49702 is a reply to message #49552] Mon, 09 January 2006 23:53 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
That's very odd.
Assuming that you've downloaded TPTP (ALL -Runtime/SDK), you should be able
to see the test wizard under:

- File > New > Other > Test

You might be looking for the Test wizard under File > New > Project, which
the wrong place to look.
Do you get the 'Test' perspective? If not, then attach the workspace log
file to this thread. Make sure that you have a number of plugins under
<ECLIPSE-HOME>/plugin with the prefix: org.eclipse.hyades.test.*
What is your OS?

"martin" <address.starts.after.hyphen-martin.umgeher@joanneum.at> wrote in
message news:dptcij$b0h$1@utils.eclipse.org...
> Ali Mehregani wrote:
> > JUnit Plugin test was introduced in TPTP 4.1. You'll need to grab
release
> > 4.1 to be able to use this feature.
>
> Upgraded to TPTP 4.1, still no 'Test' wizard category and no 'TPTP JUnit
> Plugin Test' wizard... what else could be wrong or missing?
>
> Regards,
> M
Re: just want to test a plug-in [message #49792 is a reply to message #49702] Tue, 10 January 2006 10:20 Go to previous message
Eclipse User
Originally posted by: address.starts.after.hyphen-martin.umgeher.joanneum.at

Looking at the log was a brilliant idea... I was missing the XSD
plug-in. Thanks for your help!

M
Previous Topic:Request for Comment: Defect #122770.
Next Topic:Profiling multiple Eclipse web services
Goto Forum:
  


Current Time: Thu Oct 23 00:06:03 GMT 2014

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

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