Skip to Main Content

Testing Java Microservices

Using Arquillian, Hoverfly, AssertJ, JUnit, Selenium, and Mockito

Published by Manning
Distributed by Simon & Schuster

LIST PRICE $59.99

PRICE MAY VARY BY RETAILER
See More Retailers

About The Book

Summary

Testing Java Microservices teaches you to implement unit and integration tests for microservice systems running on the JVM. You'll work with a microservice environment built using Java EE, WildFly Swarm, and Docker. You'll learn how to increase your test coverage and productivity, and gain confidence that your system will work as you expect.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Microservice applications present special testing challenges. Even simple services need to handle unpredictable loads, and distributed message-based designs pose unique security and performance concerns. These challenges increase when you throw in asynchronous communication and containers.

About the Book

Testing Java Microservices teaches you to implement unit and integration tests for microservice systems running on the JVM. You'll work with a microservice environment built using Java EE, WildFly Swarm, and Docker. You'll advance from writing simple unit tests for individual services to more-advanced practices like chaos or integration tests. As you move towards a continuous-delivery pipeline, you'll also master live system testing using technologies like the Arquillian, Wiremock, and Mockito frameworks, along with techniques like contract testing and over-the-wire service virtualization. Master these microservice-specific practices and tools and you'll greatly increase your test coverage and productivity, and gain confidence that your system will work as you expect.

What's Inside

  • Test automation
  • Integration testing microservice systems
  • Testing container-centric systems
  • Service virtualization

About the Reader

Written for Java developers familiar with Java EE, EE4J, Spring, or Spring Boot.

About the Authors

Alex Soto Bueno and Jason Porter are Arquillian team members. Andy Gumbrecht is an Apache TomEE developer and PMC. They all have extensive enterprise-testing experience.

Table of Contents

  1. An introduction to microservices
  2. Application under test
  3. Unit-testing microservices
  4. Component-testing microservices
  5. Integration-testing microservices
  6. Contract tests
  7. End-to-end testing
  8. Docker and testing
  9. Service virtualization
  10. Continuous delivery in microservices

About The Authors

Alex Soto Bueno is a software engineer and is passionate about Java development and the open source software model. He leads the NoSQLUnit project and is a team member and evangelist of Arquillian. He has spread the word of testing at several conferences including Devoxx or GeeCon.

Andy Gumbrecht is a Senior Software Engineer and lead developer on several successful local government and commercial industry projects. As a senior Java developer he has never lost his love for coding, open source and best practices within the industry and has an attention to detail, performance and infrastructure.

Jason Porter works at Red Hat and has been involved with Arquillian since the early days. He created the first glassfish adapter and laid groundwork for the website. He also has used it extensively while testing Seam 3 and Apache DeltaSpike.

Product Details

  • Publisher: Manning (October 26, 2018)
  • Length: 296 pages
  • ISBN13: 9781617292897

Browse Related Books

Resources and Downloads

High Resolution Images