Testing Java microservices : using Arquillian, Hoverfly, AssertJ, JUnit, Selenium, and Mockito / Alex Soto Bueno, Andy Gumbrecht and Jason Porter
- Author:
- Soto Bueno, Alex
- Published:
- Shelter Island, NY : Manning Publications, [2018]
- Copyright Date:
- ©2018
- Physical Description:
- 1 online resource (1 volume) : illustrations
- Additional Creators:
- Gumbrecht, Andy and Porter, Jason
Access Online
- Contents:
- An introduction to microservices -- Application under test -- Unit-testing microservices -- Component-testing microservices -- Integration-testing microservices -- Contract tests -- End-to-end testing -- Docker and testing -- Service virtualization -- Continuous delivery in microservices.
- Summary:
- 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. "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
- Subject(s):
- ISBN:
- 9781617292897
- Bibliography Note:
- Includes bibliographical references and index.
View MARC record | catkey: 37447802