|
![]() |
|||
|
||||
OverviewWhile Java has changed a lot recently, the tools and techniques most Java developers use to test code are starting to show their age. Spock is a modern testing framework that combines the features of JUnit, Mockito, and JBehave into a single powerful testing library. With Spock, developers can use Groovy to write more readable and concise tests, and built-in mocking means they no longer need an external framework. Spock enables seamless integration testing and, with the intuitive Geb library, users can even handle functional testing of web applications. Java Testing with Spock shows how to use Spock for a wide range of testing use cases in Java. It starts with a quick overview of Spock, and works through writing unit tests using the Groovy language, and discusses the best practices for test design as readers explore the Spock framework. Along the way, readers will learn to write mocks, implement integration tests, use Spock's built-in BDD testing tools, and do functional web testing using Geb. Readers new to Groovy will appreciate the succinct language tutorial that'll give just enough Groovy to use Spock effectively Full Product DetailsAuthor: Konstantinos KapelonisPublisher: Manning Publications Imprint: Manning Publications Dimensions: Width: 18.60cm , Height: 1.80cm , Length: 23.20cm Weight: 0.545kg ISBN: 9781617292538ISBN 10: 1617292532 Pages: 304 Publication Date: 14 April 2016 Audience: Professional and scholarly , Professional & Vocational Format: Paperback Publisher's Status: Active Availability: Available To Order ![]() We have confirmation that this item is in stock with the supplier. It will be ordered in for you and dispatched immediately. Table of ContentsReviewsAuthor InformationKonstantinos Kapelonis is a software engineer with 10+ years of programming experience ranging from writing bare metal C for the PlayStation 3 to Scheme code that mimics human reasoning. He works daily with Java and has a soft spot for code quality and build pipelines. Tab Content 6Author Website:Countries AvailableAll regions |