selenium - TestNG XML with groups and packages not working -


i working on set of selenium tests want run using testng xml.

<suite name="mats">     <parameter name="browser" value="firefox" />     <parameter name="platform" value="windows" />     <test name="mats_test">         <groups>            <run>               <include name = "mats" />            </run>         </groups>          <packages>             <package name="com.sel.tests.app.set1.*" />              <package name="com.sel.tests.app.set2.*" />             <package name="com.sel.tests.app.set3.*" />          </packages>     </test> </suite> 

directly under each of packages there multiple classes @test(groups = { "mats" }) annotation on top. however, output:

mats total tests run: 0, failures: 0, skips: 0 

update: ok, cleaning project didn't work imported again in new workspace after seems working. closing question. everyone.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -