eclipse中junit简单使用

1.在工程中右击

Build Path,Add libraries

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

原文地址:https://www.cnblogs.com/shiwenhu/p/7435182.html