用Junit測試時出現(xiàn)method initializationError not found ,opening the test class
用Junit測試時出現(xiàn)method initializationError not found ,opening the test class,如何處理
用Junit測試時出現(xiàn)method initializationError not found ,opening the test class,如何處理
2016-03-22
舉報
2018-07-27
myEclipse自帶了junit的包,報錯如上圖就是項目中沒有導(dǎo)入這個包,選中某個工程 - Properties - Java bulid path - add library - junit 即可
2016-06-02
方法出現(xiàn)了初始化錯誤沒有創(chuàng)建,是你額test測試類里的方法,看看你有沒有哪里寫錯,或者是寫完沒有保存
2016-03-22
11123