码迷,mamicode.com
首页 >  
搜索关键字:hamcrest    ( 147个结果
springboot启动器一览
spring Boot应用启动器基本的一共有44种,具体如下: 1)spring-boot-starter 这是Spring Boot的核心启动器,包含了自动配置、日志和YAML。 2)spring-boot-starter-actuator 帮助监控和管理应用。 3)spring-boot-sta ...
分类:编程语言   时间:2018-07-11 21:55:09    阅读次数:241
junit实战第二版(总结1)
背景最近就在看junit实战第二版,主要是基于junit4,但是现实中我们有些是基于junit3,如何平稳升级呢?junit3实现方式测试类必须继承于TestCase类,并且测试方法必须已test开头junit4实现直接方法名加上@Test注解即可注意事项junit4.8版本以下只需下载junit的包即可,如果junit4.8以上则还需下载hamcrest-core-1.1.jar,不然会报如下错
分类:其他好文   时间:2018-06-02 23:17:15    阅读次数:181
一、springboot入门
构建spring boot工程一般采用两种方式 gradle 、maven maven方式 pom.xml spring-boot-starter:核心模块,包括自动配置支持、日志和YAML spring-boot-starter-test:测试模块,包括JUnit、Hamcrest、Mockito ...
分类:编程语言   时间:2018-04-28 14:06:41    阅读次数:185
Software Testing, Lab 1
二.实验过程 1.JUnit、Hamcrest的安装: 1)从网上下载junit-4.12.jar 和 hamcrest-all-1.3.jar文件。 2)在Eclipse中新建项目 (File - new - javaproject) 右键点击项目,选择Build Path - Configure ...
分类:其他好文   时间:2018-03-29 19:13:31    阅读次数:174
软件测试上机-lab1
Junit and Eclemma 课题作业: 1.在eclipse内安装Junit,hamcrest和Eclemma。 2.编写一个判断三角形的程序并使用jUnit编写其测试类: Description of triangle problem: Function triangle takes th ...
分类:其他好文   时间:2018-03-26 00:45:28    阅读次数:255
使用junit进行代码测试
本次使用junit对代码进行测试,首先安装hamcrest-core-1.3-javadoc.jar和junit-4.12.jar两个包。在工程的Configure Build Path中点击Java Build Path,然后Libraries中Add External JARS,然后在文件选择器 ...
分类:其他好文   时间:2018-03-26 00:41:04    阅读次数:163
软件测试第一次实验: junit, hamcrest and eclemma.
junit, hamcrest and eclemma. a) junit的安装 步骤: 1. 从http://www.junit.org/ 下载junit相应的jar包; 2. 在CLASSPATH中加入JAR包所在的路径,如E:\Java\jar\junit\junit-4.10.jar; 3. ...
分类:其他好文   时间:2018-03-26 00:38:19    阅读次数:221
软件测试作业——Junit使用
软件测试作业——Junit使用 [TOC] 题目要求 1. Install Junit(4.12),Hamcrest(1.3) with Eclipse 2. Install Eclemma with Eclipse 3. Write a javaprogram for the triangle p ...
分类:其他好文   时间:2018-03-25 21:46:43    阅读次数:255
st-lab1
Junit、Hamcrest、Eclemma的安装和使用 1.任务要求 Tasks: a) Description of triangle problem: Function triangle takes three integers a,b,c which are length of triang ...
分类:其他好文   时间:2018-03-25 18:07:29    阅读次数:205
软件测试——第一次实验
一、Install Junit(4.12), Hamcrest(1.3) with Eclipse jar包就是别人已经写好的一些类,然后将这些类进行打包,可以将这些jar包引入项目中,然后就可以直接使用这些jar包中的类和属性以及方法。 Eclipse中引入jar包参考这个链接:http://bl ...
分类:其他好文   时间:2018-03-25 10:33:46    阅读次数:148
147条   上一页 1 2 3 4 5 ... 15 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!