[testng-dev] Gradle build withTestNG. How do I run TestNG in Mixed Mode.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[testng-dev] Gradle build withTestNG. How do I run TestNG in Mixed Mode.

stuart.d.davies
I am new to Gradle working with a large team on a Legacy project.

We have JUnit4 unit tests Cucumber BDD tests and now we are introducing TestNG to the framework.

We are having issued enabling 'Mixed' mode.

We do not use a Suite.xml file to manage the tests and need to define this option in the build.gradle file if possible.

Being new to Gradle and TestNG I am having a problem finding the solution.

Could you please help

Stuart Davies

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[testng-dev] Re: Gradle build withTestNG. How do I run TestNG in Mixed Mode.

SreeCharan Shroff
add this into your build.gradle

test {
    useTestNG {
        options.suites("testng.xml")
    }
}

On Friday, July 21, 2017 at 6:51:10 PM UTC+5:30, [hidden email] wrote:
I am new to Gradle working with a large team on a Legacy project.

We have JUnit4 unit tests Cucumber BDD tests and now we are introducing TestNG to the framework.

We are having issued enabling 'Mixed' mode.

We do not use a Suite.xml file to manage the tests and need to define this option in the build.gradle file if possible.

Being new to Gradle and TestNG I am having a problem finding the solution.

Could you please help

Stuart Davies

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Loading...