Eclipse中配置Junit

  在要使用Junit的project名上,点击properties——>Java Build Path——>Libraries,点击Add Library

  选择Junit

  选择Junit 4,点击Finish

  最后点击Apply,再点击OK即可

原文地址:https://www.cnblogs.com/qfdy123/p/11166346.html