Testng 运行报错:"Total tests run: 0, Failures: 0, Skips: 0"以及找不到class文件的问题

"Total tests run: 0, Failures: 0, Skips: 0"

This means that there were no tests executed at all. 
Check your test's code.
suspect you are using a wrond @Test annotation (org.junit.Test instead of org.testng.annotations.Test)



将工程import的
org.junit.Test  替换成:
org.testng.annotations.Test
即可解决
posted @ 2015-08-17 16:53  melody_emma  阅读(1423)  评论(0编辑  收藏  举报