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
即可解决
不积跬步,无以至千里