工程右键-bulid path -configure build path --libraries-add library -JUnit
在代码前添加@test
右键run as单独运行某个方法
JUnit单元测试单独运行某个方法
猜你喜欢
转载自blog.csdn.net/qq_23080805/article/details/103571729
今日推荐
周排行