Java Testing with Spock

Kötés: 
Puha kötésű
Oldalak száma: 
304
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 e ...Teljes leírás
17 040,00 Ft

Részletes információk

További információ
ISBN9781617292538
SzerzőKapelonis Konstantinos
KiadóManning Pubn
KötésPaperback
A kiadás éve2016
Oldalak száma304

Könyv leírása

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
  •  

    1. velký výběr

      HATALMAS VÁLASZTÉK

      Több mint 4 millió angol nyelvű könyv kitűnő áron.

    2. poštovné zdarma

      INGYENES SZÁLLÍTÁS

      25 500 Ft vagy nagyobb rendelés esetén a szállítás ingyenes

    3. skvělé ceny

      KITŰNŐ ÁRAK

      A könyvek árait igyekszünk a földhöz közel tartani és mindig a kiadó által ajánlott ár alatt.

    4. online podpora

      SZEMÉLYES HOZZÁÁLLÁS

      Számunkra a legfontosabb az Ön elégedettsége. Könyveket árulunk, mert szeretjük őket. Nem transznacionális óriások vagyunk, hanem becsületes cseh cég. Ezenfelül a kitűnő könyveket saját blogunkban véleményezzük.

    5. osobní přístup

      MEGBÍZHATÓ BOLT VAGYUNK A VÁSÁRLÓK ÉRTÉKELÉSE SZERINT

      Megkaptuk a "Megbízható Bolt" címet az arukereso.hu portálon. Az értékeléseket megtekintheti itt