【发布时间】:2015-03-13 20:11:40
【问题描述】:
我正在尝试使用 ant 1.9.4 构建测试用例。我可以用 1.9.0 构建它们。但是 1.9.4 出现错误(似乎没有配置 junit jar)。 这就是我提到junit jar文件路径的方式。
<property name="junit.home" location="${basedir}/lib"/>
<filelist dir="${junit.home}" files="junit4.8.2.jar"/>
注意:我可以使用 amt 1.9.0 进行构建。
我遇到的错误
package org.junit does not exist
import static org.junit.Assert.assertEquals;
【问题讨论】: