junit环境搭建在工程中1、引入Junit包(调用Assert下的静态方法)2、下载hamcrest,(表达式中位于org.hamcrest.
junit 环境搭建
在工程中
1、引入Junit包(调用Assert下的静态方法)
2、下载hamcrest,(表达式中位于org.hamcrest.Matchers中)
(1)引入hamcrest-core包,
(2)引入hamcrest-library包
junit 环境搭建
在工程中
1、引入Junit包(调用Assert下的静态方法)
2、下载hamcrest,(表达式中位于org.hamcrest.Matchers中)
(1)引入hamcrest-core包,
(2)引入hamcrest-library包