在eclipse下,使用junit4,在某個測試類裡右鍵-->Run As-->Junit Test,報“no Junit tests found”的錯誤。 解決: build path-》add library-》點junit,按提示操作