在eclipse主界面 project->properties->Java Build Path->Add External JARS..


选择eclipse 安装路径下的(我这边的实际路径是:eclipse\plugins\org.junit_4.12.0.v201504281640) junit.jar  添加进去即可完成junit的添加。