O'Reilly logo

TestNg Beginner's Guide by Varun Menon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using regular expressions

Regular expressions feature as discussed in earlier chapters of this book is also supported while using the dependsOnGroups feature in TestNG. This helps users to do name based search on groups and add dependency onto the said groups for a test method.

In this section we will create a sample program that does a regular expression search to look for dependOnGroups.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required