TestNG not running tests in testing suite

前端 未结 15 3310
礼貌的吻别
礼貌的吻别 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:31

    I had the same problem and here is my results: In my project I had test file in

    src/test/java/com/temporary/core
    

    and in the same time I had resources for the test in

    src/test/resources/com/temporary/Core
    

    As I found, testng tried to find test file in the second directory.

    When I renamed directory with resources from Core to tcore, the problem was fixed.

提交回复
热议问题