vendredi 2 novembre 2018

In TestNG how to exclude some methods when running complete package

My testNG.xml file looks like below:

<suite name="Suite-3" verbose="1">
  <test name="all-packages">
    <packages>
      <package name=".*" />
    </packages>
  </test>
</suite>

It executes all the test cases in this package, but how can I exclude some of the test methods written in some classes inside this package?

Aucun commentaire:

Enregistrer un commentaire