eBooks-it.org Logo
eBooks-IT.org Inner Image

Java Testing with Spock

Java Testing with Spock Image

Book Details:

Publisher:Manning Publications
Series: Manning
Author:Konstantinos Kapelonis
Edition:1
ISBN-10:1617292532
ISBN-13:9781617292538
Pages:275
Published:Dec 31 2015
Posted:Jul 15 2016
Language:English
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:

Pragmatic Unit Testing in Java 8 with Junit

Pragmatic Unit Testing in Java 8 with Junit Image
The Pragmatic Programmers classic is back! Freshly updated for modern software development, Pragmatic Unit Testing in Java 8 With JUnit teaches you how to write and run easily maintained unit tests in JUnit with confidence. You'll learn mnemonics to help you know what tests to write, how to remember all the boundary conditions, and what the qualities of a good test are. You'll see how unit tests can pay off by allowing you to keep your system code clean, and you'll learn how to handle the stuff that seems too tough to test.Pragmatic Unit Testing in Java 8 With JUnit steps you through all the important unit testing topics. If you've never written a unit test, you'll see screen shots from Eclipse, IntelliJ IDEA, and NetBeans that will help you get past...

Java Testing and Design

From Unit Testing to Automated Web Tests
Java Testing and Design Image
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-enabled applications. Java Testing and Design: From Unit Testing to Automated Web Tests teaches you a fast and efficient method to build production-worthy, scalable, ...

Scripted GUI Testing with Ruby

Scripted GUI Testing with Ruby Image
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 and punishing test monkeys to try to crash programs. Table-driven techniques will show you how to check dozens of different input combinations. See how to use lo...



2007 - 2021 © eBooks-IT.org