TestNG.xml suite to include all packages all files

前端 未结 5 1403
有刺的猬
有刺的猬 2021-01-07 21:47

Just about to implement a test framework with Maven+TestNG+Selenium.

How do you declare a suite.xml that tells TestNG to run ALL tests? I\'ve tried all thes

5条回答
  •  悲哀的现实
    2021-01-07 22:32

    Assume you have a three level package, your test classes are under the com.abc.xyz package.

      , doesn't work. 
      doesn't work. 
      does work.
    

提交回复
热议问题