Cover may vary - this is a stock image

Java Testing with Spock

Format: Paperback

Condition: Standard Secondhand — £26.25
What do the conditions mean?

Our conditions mean the following:

  • New - a brand new book
  • Almost New - appears new but is actually secondhand.
  • Very Good - only minor imperfections such as minor scuffs to edge or cover or a price written in pencil or shop sticker.
  • Standard Secondhand - Clearly been read before, but not too bad. We do not recommend these for gifting. Spines usually creased. Could also include creases or folds to cover, some writing such as in the cover or elsewhere, underlining or highlighting, but might not do. Possibly some stains or marks. Similar in general to books in any secondhand shop or charity shop.
  • Poor Condition - Usually this will have a specific problem such as writing inside, water damage, missing dust jacket, heavy staining, large creases or cuts. These are readable copies but not nice ones. On other websites this condition is called 'Acceptable' or 'Fair' , but we want to be more honest.
£26.25
£26.25
Sale Sold out
Taxes included. Shipping calculated at checkout.

Low stock: 1 left

Summary

Java Testing with Spock teaches you how to use Spock for a wide range of testing use cases in Java. Readers new to Groovy will appreciate the succinct language tutorial that'll give you 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.

About the Technology

Spock combines the features of tools like JUnit, Mockito, and JBehave into a single powerful Java testing library. With Spock, you use Groovy to write more readable and concise tests. Spock enables seamless integration testing, and with the intuitive Geb library, you can even handle functional testing of web applications.

About the Book

Java Testing with Spock teaches you how to use Spock for a wide range of testing use cases in Java. You'll start with a quick overview of Spock and work through writing unit tests using the Groovy language. You'll discover best practices for test design as you 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 in chapter 2 that gives you just enough Groovy to use Spock effectively.

What's Inside

  • Testing with Spock from the ground up
  • Write mocks without an external library
  • BDD tests your business analyst can read
  • Just enough Groovy to use Spock

  • About the Reader

    Written for Java developers. Knowledge of Groovy and JUnit is helpful but not required.

    About the Author

    Konstantinos Kapelonis is a software engineer who works with Java daily.

    Table of Contents
    PART 1 FOUNDATIONS AND BRIEF TOUR OF SPOCK
  • Introducing the Spock testing framework
  • Groovy knowledge for Spock testing
  • A tour of Spock functionality
  • PART 2 STRUCTURING SPOCK TESTS
  • Writing unit tests with Spock
  • Parameterized tests
  • Mocking and stubbing
  • PART 3 SPOCK IN THE ENTERPRISE
  • Integration and functional testing with Spock
  • Spock features for enterprise testing
  • Genre: Computers, Languages
    Format: Paperback
    Published: 2016
    Pages: 304
    Publisher: Manning
    ISBN: 9781617292538

    Payment method

    • American Express
    • Apple Pay
    • Diners Club
    • Discover
    • Google Pay
    • Maestro
    • Mastercard
    • Shop Pay
    • Union Pay
    • Visa

    Our conditions mean the following:

    • New - a brand new book
    • Almost New - appears new but is actually secondhand.
    • Very Good - only minor imperfections such as minor scuffs to edge or cover or a price written in pencil or shop sticker.
    • Standard Secondhand - Clearly been read before, but not too bad. We do not recommend these for gifting. Spines usually creased. Could also include creases or folds to cover, some writing such as in the cover or elsewhere, underlining or highlighting, but might not do. Possibly some stains or marks. Similar in general to books in any secondhand shop or charity shop.
    • Poor Condition - Usually this will have a specific problem such as writing inside, water damage, missing dust jacket, heavy staining, large creases or cuts. These are readable copies but not nice ones. On other websites this condition is called 'Acceptable' or 'Fair' , but we want to be more honest.
    • Free UK shipping over £10.
    • Under £10, shipping is £1.99.
    • Express shipping £2.99.
    • Choose 10 £1 books for £10 including shipping!
    • International shipping available to select countries, proceed to checkout to see prices.

    Return books within 14 days if not happy.

    View full details

    More £1 science books

    All £1 books →