TestNG not running tests in testing suite

前端 未结 15 2448
北荒
北荒 2021-02-19 21:16

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:25

    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.

提交回复
热议问题