Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » How to run testng as 'eclipse plugin' test
How to run testng as 'eclipse plugin' test [message #94526] Thu, 29 March 2007 19:04 Go to next message
Eclipse User
Originally posted by: mlevison.gmail.com

With Junit I could run my tests as plain Junit tests or as Junit Plugin
tests. However I'm trying to use the newer TestNG
(http://testng.org/doc/documentation-main.html and its eclipse plugin:
http://testng.org/doc/eclipse.html).

Unfortunately I can't figure out how to run the tests as plugin tests.
Is there a secret trick? Do I have to get the developers to implement
something more?

Please let me know and I will pass it along.
Cheers
Mark Levison
------------------------------------------------------------ ----------
Blog: http://www.notesfromatooluser.com/
Most Popular posts:
Aperture vs. Lightroom - best comparisons
http://www.notesfromatooluser.com/2007/02/aperture_vs_lig.ht ml
Scrum in a Nutshell or 5 minutes to learn Scrum
http://www.notesfromatooluser.com/2006/11/scrum_in_a_nuts.ht ml
Getting Things Done!!! Can't Keep Track of all the tasks you have to do?
Need a better Tool to Implement GTD?
http://www.notesfromatooluser.com/2006/12/getting_things_.ht ml
Re: How to run testng as 'eclipse plugin' test [message #94571 is a reply to message #94526] Fri, 30 March 2007 08:35 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
I don't think this is the right newsgroup to post this question. You'll
need to contact a support group (if there is any) related to TestNG.

Thanks,
Ali Mehregani

"Mark Levison" <mlevison@gmail.com> wrote in message
news:euh2kk$86h$1@build.eclipse.org...
> With Junit I could run my tests as plain Junit tests or as Junit Plugin
> tests. However I'm trying to use the newer TestNG
> (http://testng.org/doc/documentation-main.html and its eclipse plugin:
> http://testng.org/doc/eclipse.html).
>
> Unfortunately I can't figure out how to run the tests as plugin tests. Is
> there a secret trick? Do I have to get the developers to implement
> something more?
>
> Please let me know and I will pass it along.
> Cheers
> Mark Levison
> ------------------------------------------------------------ ----------
> Blog: http://www.notesfromatooluser.com/
> Most Popular posts:
> Aperture vs. Lightroom - best comparisons
> http://www.notesfromatooluser.com/2007/02/aperture_vs_lig.ht ml
> Scrum in a Nutshell or 5 minutes to learn Scrum
> http://www.notesfromatooluser.com/2006/11/scrum_in_a_nuts.ht ml
> Getting Things Done!!! Can't Keep Track of all the tasks you have to do?
> Need a better Tool to Implement GTD?
> http://www.notesfromatooluser.com/2006/12/getting_things_.ht ml
Re: How to run testng as 'eclipse plugin' test [message #94644 is a reply to message #94571] Fri, 30 March 2007 18:38 Go to previous messageGo to next message
Eclipse User
Originally posted by: mlevison.gmail.com

Ali Mehregani wrote:
> I don't think this is the right newsgroup to post this question. You'll
> need to contact a support group (if there is any) related to TestNG.
>
Thanks for the reply - I already tried on the testng newsgroup. They
don't do plugin development and don't have an idea what I'm talking about.

I was hoping that someone who knew what was done on JUnit or what they
had to hook into would be here.

Cheers
Mark Levison
Re: How to run testng as 'eclipse plugin' test [message #95304 is a reply to message #94644] Wed, 11 April 2007 11:27 Go to previous message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
Hi Mark,
As Ali has mentioned, TPTP does not support TestNG. From a cursory
look, they use their own launch configuration meaning you can only run the
TestNG tests using this type of execution. The TestNG launch configuration
handles running the tests in an instance of a JVM and capturing the
results. The TestNG project (or some other provider) would need to provide
the function to run the tests in an instance of Eclipse to run your tests as
plug-in tests. This is the approach the JDT and TPTP uses for JUnit plug-in
testing.

PS
"Mark Levison" <mlevison@gmail.com> wrote in message
news:eujlfv$619$1@build.eclipse.org...
> Ali Mehregani wrote:
>> I don't think this is the right newsgroup to post this question. You'll
>> need to contact a support group (if there is any) related to TestNG.
>>
> Thanks for the reply - I already tried on the testng newsgroup. They don't
> do plugin development and don't have an idea what I'm talking about.
>
> I was hoping that someone who knew what was done on JUnit or what they had
> to hook into would be here.
>
> Cheers
> Mark Levison
Previous Topic:Execution time analysis values
Next Topic:New Tech AC - AC/BC Clarification
Goto Forum:
  


Current Time: Fri Oct 31 10:09:02 GMT 2014

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

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