Facebook Icon Image Google Plus Icon Image Twitter Icon Image Logo Image

Java Testing with Spock

Java Testing with Spock Image

Book details:

Publisher:Manning Publications
Category: Manning
Posted:Jul 15 2016
Book format:PDF
Book size:12.29 MB

Book Description:

While 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. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

Download Link:

Related Books:

Java Testing and Design Image

Java Testing and Design

Jun 30 2016 This book shows how to understand what application you want to write, what strategies are likely to get you there, and then how to measure your level of success. This book offers practical, concrete advice about how to stay in tune with your project and ensure that your products are at least as good as your plans.Produce scalable, reliable, high-performance Web-enabled applications in Java. Web infrastructure is everywhere. And yet until this book there was no guide to show how your choices in design, coding, and testing impact the scalability, performance, and functionality of your Web-enable...

Scripted GUI Testing with Ruby Image

Scripted GUI Testing with Ruby

Jun 30 2016 Scripted GUI Testing with Ruby is a practical, quick-moving tutorial based on real life, and real-world GUI applications. Right out of the gate you'll start working with code to drive a desktop GUI. You'll discover the kinds of gotchas and edge cases that don't exist in simple, toy programs. As you add more tests, you'll learn how to organize your test code and write lucid examples. The result is a series of "smoke tests" team will run on Continuous Integration servers. Next, we'll explore a variety of different testing tips and tricks. You'll employ a series of increasingly random a...

Web Penetration Testing with Kali Linux Image

Web Penetration Testing with Kali Linux

Jun 30 2016 A practical guide to implementing penetration testing strategies on websites, web applications, and standard web protocols with Kali Linux Overview Learn key reconnaissance concepts needed as a penetration tester Attack and exploit key features, authentication, and sessions on web applications Learn how to protect systems, write reports, and sell web penetration testing services In Detail Kali Linux is built for professional penetration testing and security auditing. It is the next-generation of BackTrack, the most popular open-source penetration toolkit in the world. Readers will learn how...

JavaScript Testing with Jasmine Image

JavaScript Testing with Jasmine

Jun 30 2016 Get a concise introduction to Jasmine, the popular behavior-driven testing framework for JavaScript. This practical guide shows you how to write unit tests with Jasmine that automatically check for bugs in your application. Learn how to write specifications for individual components, and then use those specs to test the code you write. Throughout the book, author Evan Hahn focuses primarily on methods for testing browser-based JavaScript applications, but you'll also discover how to use Jasmine with CoffeeScript, Node.js, Ruby on Rails, and Ruby without Rails. You won't find a more in-depth so...