[testNG] Smoke and Regression tests.

154 views
Skip to first unread message

Raja Sekhar

unread,
Jun 11, 2015, 5:16:10 AM6/11/15
to testng...@googlegroups.com
Hi Everyone,

Hope everyone doing great!!!

I am working on Selenium webdriver, JAVA and TestNG.

I have automated and separated my smoke tests and regression test.

Now how to run these test using TestNG.?

I have to run smoke test scripts whenever i got the new build.

If smoke tests all are passed, i have to run regression suite.

How to achieve this using TestNG.

Thanks in Advance.

Regards,
Rajasekhar.

吴亭

unread,
Jun 11, 2015, 6:32:56 AM6/11/15
to testng...@googlegroups.com
If you mean run them by maven, then try check this:
The Failsafe Plugin is designed to run integration tests while the Surefire Plugin is designed to run unit tests

Or if you want to run them in CI, maybe in Jenkins, then you can just use maven surefire plugin and provide different suite xml for different jenkins job.

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

Reply all
Reply to author
Forward
0 new messages