{"product_id":"spock-up-and-running-writing-expressive-tests-in-java-and-groovy-9781491923290","title":"Spock: Up and Running: Writing Expressive Tests in Java and Groovy","description":"\u003cp\u003e • Author(s): Rob Fletcher\u003cbr\u003e • Publisher: O'Reilly Media\u003cbr\u003e • Publisher Imprint: O'Reilly Media\u003cbr\u003e • BISAC: Programming Languages - Java\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eMost 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. \u003c\/p\u003e\u003cp\u003e 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. \u003c\/p\u003e\u003cul\u003e \u003cli\u003eStart by learning how to write simple unit tests \u003c\/li\u003e\n\u003cli\u003eUnderstand the lifecycle of Spock specifications and feature methods \u003c\/li\u003e\n\u003cli\u003eDive into interaction testing, using Spock's intuitive syntax for dealing with mocks and stubs \u003c\/li\u003e\n\u003cli\u003eLearn about parameterized tests--writing feature methods that run for multiple sets of data \u003c\/li\u003e\n\u003cli\u003eMove into advanced topics, such as writing idiomatic Spock code and driving parameterized tests with file or database input \u003c\/li\u003e\n\u003cli\u003eLearn how everything works together in a standalone, fully-worked, test-driven development example \u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Atlantic Books","offers":[{"title":"Paperback","offer_id":46491365015703,"sku":"9781491923290","price":5891.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0666\/3471\/1191\/files\/9781491923290.jpg?v=1766348900","url":"https:\/\/atlanticbooks.com\/products\/spock-up-and-running-writing-expressive-tests-in-java-and-groovy-9781491923290","provider":"Atlantic Books","version":"1.0","type":"link"}