- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
testng eclipse plugin integration
Wed, 2009-01-07, 20:33
In Eclipse, the "Run as TestNG Test" doesn't show for scala classes. I
don't mind contributing on the testng plugin but would anyone know how
this would work on the scala side? Is the outline in a scala project
specific to scala or is it the same as Java?
Erik.
Thu, 2009-01-08, 00:27
#2
RE: testng eclipse plugin integration
Thanks Arco,
No, I wanted the context menu on class and method to show the "run as
testng test". I figured out the cause, it is in the testng plugin
itself, for some compatibility reasons, it is reparsing the source and
assumes it is Java.
This prevents the plugin to show the context menu correctly in Scala
classes. I'm trying to work out a solution with the testng developers.
Erik.
> -----Original Message-----
> From: Arco Oost [mailto:arco.oost@gmail.com]
> Sent: January-07-09 6:10 PM
> To: Putrycz, Erik
> Cc: scala-tools@listes.epfl.ch
> Subject: Re: [scala-tools] testng eclipse plugin integration
>
> Erik,
>
> I don't know if this is what you're looking for, but in my projects I
> simply add a testng.xml file. If you right-click on the testng.xml
file
> there is an option to run the tests:
>
>
>
>
>
>
>
>
>
>
>
> Regards,
> Arco
>
> Putrycz, Erik wrote:
> > In Eclipse, the "Run as TestNG Test" doesn't show for scala classes.
I
> > don't mind contributing on the testng plugin but would anyone know
how
> > this would work on the scala side? Is the outline in a scala project
> > specific to scala or is it the same as Java?
> >
> >
> > Erik.
> >
> >
> >
Erik,
I don't know if this is what you're looking for, but in my projects I
simply add a testng.xml file. If you right-click on the testng.xml file
there is an option to run the tests:
Regards,
Arco
Putrycz, Erik wrote:
> In Eclipse, the "Run as TestNG Test" doesn't show for scala classes. I
> don't mind contributing on the testng plugin but would anyone know how
> this would work on the scala side? Is the outline in a scala project
> specific to scala or is it the same as Java?
>
>
> Erik.
>
>
>