How to invoke Customised TestRunner through Eclipse Plug in?

View: New views
4 Messages — Rating Filter:   Alert me  

How to invoke Customised TestRunner through Eclipse Plug in?

by vilas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi All,

We have written our customised TestNG framework.In this,we have
written our own customised TestRunner and calling it through ant.Test
Cases are running fine through our framework with ant.
But now  we need to run test cases through TestNg EclipsePlugin.
When we are going to run it through eclipse plug in,TestNg invokes
its standard TestRunner instead of our customised TestRunner.(We have
added our  customised testNg frame work jar in classpath).Due to
this,we have getting unexpected test result.
Is there any way to mention which  TestRunner has to use while running
testNG through eclipse plugin?
I have checked plugin.xml,plugin.properties to mention TestRunner
entry.But I do not getting it.
kindly suggest for the same and thanks in advance

Regards
Vilas Shelar
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng-users@...
To unsubscribe from this group, send email to testng-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to invoke Customised TestRunner through Eclipse Plug in?

by Cédric Beust ♔ :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Vilas,

The best way would be to add an extension point to the Eclipse plug-in to offer the possibility of using a different test runner.  I don't think it would be too hard if you want to give this a shot...

Nice work on writing your own runner, by the way, I think you're the first one to do that...

--
Cédric



On Wed, Oct 28, 2009 at 8:07 AM, vilas <vilas.shelar@...> wrote:

Hi All,

We have written our customised TestNG framework.In this,we have
written our own customised TestRunner and calling it through ant.Test
Cases are running fine through our framework with ant.
But now  we need to run test cases through TestNg EclipsePlugin.
When we are going to run it through eclipse plug in,TestNg invokes
its standard TestRunner instead of our customised TestRunner.(We have
added our  customised testNg frame work jar in classpath).Due to
this,we have getting unexpected test result.
Is there any way to mention which  TestRunner has to use while running
testNG through eclipse plugin?
I have checked plugin.xml,plugin.properties to mention TestRunner
entry.But I do not getting it.
kindly suggest for the same and thanks in advance

Regards
Vilas Shelar





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng-users@...
To unsubscribe from this group, send email to testng-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to invoke Customised TestRunner through Eclipse Plug in?

by vilas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thanks a lot for response and appreciation,

Regards
Vilas

On Oct 28, 8:12 pm, Cédric Beust ♔ <cbe...@...> wrote:

> Hi Vilas,
>
> The best way would be to add an extension point to the Eclipse plug-in to
> offer the possibility of using a different test runner.  I don't think it
> would be too hard if you want to give this a shot...
>
> Nice work on writing your own runner, by the way, I think you're the first
> one to do that...
>
> --
> Cédric
>
>
>
> On Wed, Oct 28, 2009 at 8:07 AM, vilas <vilas.she...@...> wrote:
>
> > Hi All,
>
> > We have written our customised TestNG framework.In this,we have
> > written our own customised TestRunner and calling it through ant.Test
> > Cases are running fine through our framework with ant.
> > But now  we need to run test cases through TestNg EclipsePlugin.
> > When we are going to run it through eclipse plug in,TestNg invokes
> > its standard TestRunner instead of our customised TestRunner.(We have
> > added our  customised testNg frame work jar in classpath).Due to
> > this,we have getting unexpected test result.
> > Is there any way to mention which  TestRunner has to use while running
> > testNG through eclipse plugin?
> > I have checked plugin.xml,plugin.properties to mention TestRunner
> > entry.But I do not getting it.
> > kindly suggest for the same and thanks in advance
>
> > Regards
> > Vilas Shelar
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng-users@...
To unsubscribe from this group, send email to testng-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to invoke Customised TestRunner through Eclipse Plug in?

by Harihara Vinayakaram :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Vilas
  Would it be possible to share why did you have write a custom Test Runner . Curious to know when to take that route

Thanks
Regards
Hari

On Thu, Oct 29, 2009 at 1:55 PM, vilas <vilas.shelar@...> wrote:

Thanks a lot for response and appreciation,

Regards
Vilas

On Oct 28, 8:12 pm, Cédric Beust ♔ <cbe...@...> wrote:
> Hi Vilas,
>
> The best way would be to add an extension point to the Eclipse plug-in to
> offer the possibility of using a different test runner.  I don't think it
> would be too hard if you want to give this a shot...
>
> Nice work on writing your own runner, by the way, I think you're the first
> one to do that...
>
> --
> Cédric
>
>
>
> On Wed, Oct 28, 2009 at 8:07 AM, vilas <vilas.she...@...> wrote:
>
> > Hi All,
>
> > We have written our customised TestNG framework.In this,we have
> > written our own customised TestRunner and calling it through ant.Test
> > Cases are running fine through our framework with ant.
> > But now  we need to run test cases through TestNg EclipsePlugin.
> > When we are going to run it through eclipse plug in,TestNg invokes
> > its standard TestRunner instead of our customised TestRunner.(We have
> > added our  customised testNg frame work jar in classpath).Due to
> > this,we have getting unexpected test result.
> > Is there any way to mention which  TestRunner has to use while running
> > testNG through eclipse plugin?
> > I have checked plugin.xml,plugin.properties to mention TestRunner
> > entry.But I do not getting it.
> > kindly suggest for the same and thanks in advance
>
> > Regards
> > Vilas Shelar



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng-users@...
To unsubscribe from this group, send email to testng-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en
-~----------~----~----~----~------~----~------~--~---