Spock: Up and Running

Writing Expressive Tests in Java and Groovy



Bookstore > Books > Spock: Up and Running

Spock: Up and Running
Price$36.92 - $58.19
Rating
AuthorRob Fletcher
PublisherO'Reilly Media
Published2017
Pages372
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101491923296
ISBN-139781491923290
EBook Hardcover Paperback

Most developers would agree that writing automated tests is a good idea, but writing good, well-structured tests is still an elusive skill for many. For Java and Groovy developers, however, there's good news. This practical guide shows you how to write concise and highly readable tests with Spock, the most innovative testing and specification framework for the JVM since JUnit.

Author Rob Fletcher takes you from Spock basics to advanced topics, using fully worked integration examples. Through the course of this book, you'll build a simple web application - Squawker - that allows users to post short messages. You'll discover how much easier it is to write automated tests with Spock's straightforward and expressive language.

Start by learning how to write simple unit tests; Understand the lifecycle of Spock specifications and feature methods; Dive into interaction testing, using Spock's intuitive syntax for dealing with mocks and stubs; Learn about parameterized tests - writing feature methods that run for multiple sets of data; Move into advanced topics, such as writing idiomatic Spock code and driving parameterized tests with file or database input; Learn how everything works together in a standalone, fully-worked, test-driven development example.





4 5 2

Similar Books


Java Web Services: Up and Running

Java Web Services: Up and Running

by Martin Kalin

This example-driven book offers a thorough introduction to Java's APIs for XML Web Services (JAX-WS) and RESTful Web Services (JAX-RS).Java Web Services: Up and Running takes a clear, pragmatic approach to these technologies by providing a mix of architectural overview, complete working code examples, and short yet precise instructions fo...

Price:  $3.81  |  Publisher:  O'Reilly Media  |  Release:  2009

Cocoa and Objective-C: Up and Running

Cocoa and Objective-C: Up and Running

by Scott Stevenson

Build solid applications for Mac OS X, iPhone, and iPod Touch, regardless of whether you have basic programming skills or years of programming experience. Cocoa and Objective-C: Up and Running shows you how to use Apple's Cocoa framework and its Objective-C language through step-by-step tutorials, hands-on tasks, clear examples, and sound...

Price:  $16.00  |  Publisher:  O'Reilly Media  |  Release:  2010

Twitter API: Up and Running

Twitter API: Up and Running

by Kevin Makice

This groundbreaking book provides you with the skills and resources you need to build web applications for Twitter. Perfect for new and casual programmers intrigued by the microblogging, Twitter API: Up and Running carefully explains how each part of Twitter's API works, with detailed examples that show you how to assemble those building ...

Price:  $22.26  |  Publisher:  O'Reilly Media  |  Release:  2009

Windows 7 Up and Running

Windows 7 Up and Running

by Wei-Meng Lee

This compact book offers the quickest path for Windows XP and Vista users to get started with Microsoft's Windows 7 operating system. With Windows 7: Up and Running, you get the essential information you need to upgrade or install the system and configure it to fit your activities, along with a tour of Windows 7's features and built-in ap...

Price:  $15.00  |  Publisher:  O'Reilly Media  |  Release:  2009

Ubuntu: Up and Running

Ubuntu: Up and Running

by Robin Nixon

Ubuntu for everyone! This popular Linux-based operating system is perfect for people with little technical background. It's simple to install, and easy to use -- with a strong focus on security. Ubuntu: Up and Running shows you the ins and outs of this system with a complete hands-on tour. You'll learn how Ubuntu works, how to quickly con...

Price:  $10.40  |  Publisher:  O'Reilly Media  |  Release:  2010

Up and Running with Joomla, 2nd Edition

Up and Running with Joomla, 2nd Edition

by R. Allen Wyke, Skip Matheny

Need to launch a feature-rich website quickly where you have one or more people authoring the content? Want to use a powerful, robust, and scalable Content Management System (CMS) you can trust? This Short Cut will get you up and running with Joomla 1.5, a freely available open source CMS. Learn how to install, configure, customize, and e...

Price:  $9.99  |  Publisher:  O'Reilly Media  |  Release:  2009

Node: Up and Running

Node: Up and Running

by Tom Hughes-Croucher, Mike Wilson

This book introduces you to Node, the new web development framework written in JavaScript. You'll learn hands-on how Node makes life easier for experienced JavaScript developers: not only can you work on the front end and back end in the same language, you'll also have more flexibility in choosing how to divide application logic between c...

Price:  $19.44  |  Publisher:  O'Reilly Media  |  Release:  2012

Terraform: Up and Running

Terraform: Up and Running

by Yevgeniy Brikman

Terraform has emerged as a key player in the DevOps world for defining, launching, and managing infrastructure as code (IAC) across a variety of cloud and virtualization platforms, including AWS, Google Cloud, and Azure. This hands-on book is the fastest way to get up and running with Terraform.Gruntwork co-founder Yevgeniy (Jim) Brikman ...

Price:  $17.32  |  Publisher:  O'Reilly Media  |  Release:  2017