Spock: Up and Running

Writing Expressive Tests in Java and Groovy



Bookstore > Books > Spock: Up and Running

Price$36.92 - $48.23
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 4

Similar Books


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 buil...

Price:  $25.68  |  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 b...

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

HTML5: Up and Running

HTML5: Up and Running

by Mark Pilgrim

If you don't know about the new features available in HTML5, now's the time to find out. This book provides practical information about how and why the latest version of this markup language will significantly change the way you develop for the Web.HTML5 is still evolving, yet browsers such as Safari, Mozilla, Opera, and Chrome ...

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

Windows Server 2012: Up and Running

Windows Server 2012: Up and Running

by Samara Lynn

If your organization plans to move to a cloud infrastructure from a LAN or WAN, this book shows you how to do it efficiently with Windows Server 2012. Experienced Windows administrators will learn how to deploy, configure, and manage the server's expanded capabilities and features step-by-step, using clear examples and numerous scree...

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

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 instructio...

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 ...

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

ClojureScript: Up and Running

ClojureScript: Up and Running

by Stuart Sierra, Luke VanderHart

Learn how to build complete client-side applications with ClojureScript, the Clojure language variant that compiles to optimized JavaScript. This hands-on introduction shows you how ClojureScript not only has similarities to JavaScript - without the flaws - but also supports the full semantics of its parent language. You'll delve int...

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

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 q...

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