您的位置:首页 > 其它

ant 构建junit 测试生成报告

2014-03-28 14:40 337 查看
1.http://aofengblog.blog.163.com/blog/static/6317021201312734058296

2.http://www.oschina.net/question/12_15995

3.http://blog.csdn.net/lemonfamily/article/details/1523538

4.


JUnit jar classpath error in Eclipse

Posted on October
19, 2010 by Anders
Aaberg

When trying to develop unit tests using JUnit 4 and Ant 1.71 in Eclipse 3.6.1, I kept getting this error even though I had added JUnit.jar to the Eclipse buildpath:

The <classpath> for <junit> must include junit.jar if not in
Ant's own classpath


The solution was to do the following:

Window -> Preferences -> Ant -> Runtime -> Classpath: Add JUnit.jar to the Global Entries as an external Jar-file.

5.http://book.51cto.com/art/201001/177834.htm

6.http://www.blogjava.net/Man/archive/2010/08/11/ant.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: