TestNG not running tests in testing suite

前端 未结 15 3272
礼貌的吻别
礼貌的吻别 2021-02-19 20:51

I\'m trying to run a testing suite using XML and TestNG, but I\'m always getting the same message using both: Eclipse and the command line:

[TestNG] Running:
  /         


        
15条回答
  •  鱼传尺愫
    2021-02-19 21:26

    This can also happen when there is groups usage in suite.xml and @BeforeXXX annotations have missing alwaysRun = true.

    @BeforeTest(alwaysRun = true)
    public void setUp() throws IOException {
    }
    

提交回复
热议问题