HI,
I want to know if we can provide regular expression in testng.xml. My requirement is that I want to run all the test classes inside a particular folder. Fpr ex src/test/ModuleA contains 100 test classes.
<suite name="Sanity" verbose="1" parallel="none"
preserve-order="true">
<test name="Sanity Test">
<classes>
<class name="com.demo.test.ModuleA.Class1" />
<class name="com.demo.test.ModuleA.Class2" />
<class name="com.demo.test.ModuleA.Class3" />
....and so on
</classes>
</test>
</suite>
I guess we can might achieve this using bean shell scripting but with my limited knowledge, I am not able to able to do so.
Can someone please help me in this.
Thanks in advance
Sunny