下载 > 资源分类 >  开发技术 >  Java > Spock Up and Running Writing Expressive Tests in Java and Groovy

Spock Up and Running Writing Expressive Tests in Java and Groovy

2017-09-14 上传大小:2.63MB
Spock is a test framework — some would even say language — built on top of
Groovy. It was developed by Peter Niederwieser, first released in 2009, and,
after a long genesis, version 1.0 was released in 2015. Version 1.1 followed in
2017, and that’s the version w
e’ll be using in this book.
Although Spock builds on top of JUnit’s test runner it’s quite different
syntactically. Spock enforces a behavior-driven development (BDD)-style
structure. Instead of using methods to apply assertions, Spock infers that simple
Boolean expressions in particular contexts behave as assertions. Instead of
integrating external libraries like JMock or Mockito, Spock has its own test
doubles with dedicated syntax for defining expectations and behavior (although
you can use something else if you want). Spock also has syntax for defining
parameterized tests that goes far beyond the capabilities of JUnit’s
@RunWith(Parameterized.class) .
Above all, Spock specifications are very readable and expressive. Groovy’s
brevity and lack of ceremony is harnessed to a syntax that makes tests read
very well as executable documentation.
...展开收缩
综合评分:0(0位用户评分)
开通VIP C币充值 立即下载

评论共有0条

登录后才能评论

 

相关推荐

Terraform Up and Running Writing Infrastructure as Code azw3 立即下载
积分/C币:5
Java Web Services Up and Running, 2nd Edition PDF 立即下载
积分/C币:10
Java Web Services Up and Running(2nd) epub 立即下载
积分/C币:3
Java Web Services Up and Running(2nd) 无水印pdf 立即下载
积分/C币:3
Java Web Services Up and Running, 2nd Edition 2013最新版 立即下载
积分/C币:10
Lynda.com - Up and Running with HTML (Oct. 2012) 立即下载
积分/C币:0
PayPal APIs_ Up and Running 立即下载
积分/C币:10
Ansible Up and Running 2017 立即下载
积分/C币:5
PostgreSQL Up and Running(3rd) epub 立即下载
积分/C币:3
PostgreSQL Up and Running(3rd)(EarlyRelease) 无水印pdf 立即下载
积分/C币:10
PostgreSQL Up and Running(2nd) 无水印pdf 立即下载
积分/C币:3
postgresql up and running 立即下载
积分/C币:0
React Up and Running 立即下载
积分/C币:10
Docker - Up and Running 立即下载
积分/C币:10
PostgreSQL Up and Running(3rd) mobi 立即下载
积分/C币:5
Node Up and Running 无水印pdf 立即下载
积分/C币:10
Terraform Up and Running 立即下载
积分/C币:5
PostgreSQL Up and Running, 3rd Edition 立即下载
积分/C币:10
AngularJS_Up_and_Running 立即下载
积分/C币:2
PostgreSQL Up and Running A Practical Guide to the Advanced Open Source 无水印pdf 立即下载
积分/C币:10
关闭
img

spring mvc+mybatis+mysql+maven+bootstrap 整合实现增删查改简单实例.zip

资源所需积分/C币 当前拥有积分 当前拥有C币
5 0 0
扫码关注并点击右下角获取下载码
输入下载码
为了良好体验,不建议使用迅雷下载
img

Spock Up and Running Writing Expressive Tests in Java and Groovy

会员到期时间: 剩余下载个数: 剩余C币:0 剩余积分:0
为了良好体验,不建议使用迅雷下载
VIP下载
您今日下载次数已达上限(为了良好下载体验及使用,每位用户24小时之内最多可下载20个资源)

积分不足!

资源所需积分/C币 当前拥有积分
您可以选择
开通VIP
4000万
程序员的必选
600万
绿色安全资源
现在开通
立省522元
或者
购买C币兑换积分 C币抽奖
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 4 45
(仅够下载10个资源)
为了良好体验,不建议使用迅雷下载
确认下载
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 0 0
为了良好体验,不建议使用迅雷下载
C币充值 开通VIP
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 4 45
您的积分不足,将扣除 10 C币
为了良好体验,不建议使用迅雷下载
确认下载
下载

兑换成功

你当前的下载分为234开始下载资源
你还不是VIP会员
开通VIP会员权限,免积分下载
立即开通

你下载资源过于频繁,请输入验证码

您因违反CSDN下载频道规则而被锁定帐户,如有疑问,请联络:webmaster@csdn.net!

举报

若举报审核通过,可奖励5下载分

  • 举报人:
  • 被举报人:
  • 举报的资源分:
  • *类型:
  • *详细原因: