天天看點

eclipse下,使用junit4,報“no Junit tests found”錯誤的解決辦法

在eclipse下,使用junit4,在某個測試類裡右鍵-->Run As-->Junit Test,報“no Junit tests found”的錯誤。

解決:

build path-》add library-》點junit,按提示操作