null
Loading... Please wait...
FREE SHIPPING on All Unbranded Items LEARN MORE
Print This Page

Java Testing with Spock

List Price: $44.99
SKU:
9781617292538
Quantity:
Minimum Purchase
25 unit(s)
  • Availability: Confirm prior to ordering
  • Branding: minimum 50 pieces (add’l costs below)
  • Check Freight Rates (branded products only)

Branding Options (v), Availability & Lead Times

  • 1-Color Imprint: $2.00 ea.
  • Promo-Page Insert: $2.50 ea. (full-color printed, single-sided page)
  • Belly-Band Wrap: $2.50 ea. (full-color printed)
  • Set-Up Charge: $45 per decoration
FULL DETAILS
  • Availability: Product availability changes daily, so please confirm your quantity is available prior to placing an order.
  • Branded Products: allow 10 business days from proof approval for production. Branding options may be limited or unavailable based on product design or cover artwork.
  • Unbranded Products: allow 3-5 business days for shipping. All Unbranded items receive FREE ground shipping in the US. Inquire for international shipping.
  • RETURNS/CANCELLATIONS: All orders, branded or unbranded, are NON-CANCELLABLE and NON-RETURNABLE once a purchase order has been received.
  • Product Details

    Author:
    Konstantinos Kapelonis
    Format:
    Paperback
    Pages:
    304
    Publisher:
    Manning (March 27, 2016)
    Language:
    English
    ISBN-13:
    9781617292538
    ISBN-10:
    1617292532
    Weight:
    19.04oz
    Dimensions:
    7.38" x 9.25" x 0.6"
    File:
    Eloquence-SimonSchuster_04022026_P9912986_onix30_Complete-20260402.xml
    Folder:
    Eloquence
    List Price:
    $44.99
    Case Pack:
    28
    As low as:
    $40.49
    Publisher Identifier:
    P-SS
    Discount Code:
    G
    Pub Discount:
    37
    Imprint:
    Manning
  • Overview

    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