eclipse项目添加Junit的操作教程
时间:2022-10-26 17:32
如果你还不会在eclipse项目中添加Junit的情况的话,就来下文学习学习eclipse项目添加Junit的操作教程吧,希望可以帮助到大家。
eclipse项目添加Junit的操作教程
首先选中这个项目,右键单击

选中Build Path -》Configure Build Path.。。这个选项

选择 Libraries 这个选项,然后点击Add library

选择Junit 这个选项

选择 Junit4 这个选项

点击 Apply and Close 这个选项,最后就能看到项目下面有一个Junit 4这个东西

上文就讲解了eclipse项目添加Junit的操作过程,希望有需要的朋友都来学习哦。