junit 环境搭建
在工程中
1、引入Junit包(调用Assert下的静态方法)
2、下载hamcrest,(表达式中位于org.hamcrest.Matchers中)
(1)引入hamcrest-core包,
(2)引入hamcrest-library包
发布时间: 2012-10-14 14:55:08 作者: rapoo
junit 环境搭建
在工程中
1、引入Junit包(调用Assert下的静态方法)
2、下载hamcrest,(表达式中位于org.hamcrest.Matchers中)
(1)引入hamcrest-core包,
(2)引入hamcrest-library包