Hi Renuka,
Groovy Test case extends JUnit test case and thus, it is the same as JUnit
test case.
To run Groovy test case, you need to specify maven-surefire-plugin to pick
up which
test files. For example, in your POM, you can have
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/*_UT.groovy</include>
<include>**/*TestCase.groovy</include>
</includes>
</configuration>
</plugin>
Please let us know if this works for you.
Thanks,
Jian
On Wed, Jul 29, 2009 at 9:57 AM, <[email protected]> wrote:
>
> Hi,
>
> I need help for executing Testcases that deal with Data Driven testing
> using Maven.
>
> Basically the Module file and Test Case file in case of Data Driven
> testing, is written in Groovy. I do not have any idea of running Groovy
> testcases using Maven.
> I can understand that when we do not use Data Driven Testing, we can
> execute JUnit Testcases. But I am interested in executing Data Driven Groovy
> test cases.
>
> Do we have any example link?
>
> Thanks in Advance,
>
> Renuka Kale
>
> Desk : +91 20 6641 6341
> Cell : +91 9822824443
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---