1.在工程中右击

Build Path,Add libraries

eclipse中junit简单使用

 

eclipse中junit简单使用

然后就可以运行对应的方法了,不需要main方法调用了

相关文章: