Testing Java Microservices - Alex Soto Bueno, Jason Porter, Andy Gumbrecht

Testing Java Microservices

Using Arquillian, Hoverfly, AssertJ, JUnit, Selenium, and Mockito
Buch | Softcover
313 Seiten
2018
Manning Publications (Verlag)
978-1-61729-289-7 (ISBN)
41,94 inkl. MwSt
With traditional software unit tests, there's never a guarantee that an application will actually function correctly in the production environment. And when you add microservices, remote resources that are accessible over a network, into the mix, testing is more tricky. To make things even harder, microservices typically need to collaborate with additional network-based microservices, making testing even more challenging.

Testing Java Microservices teaches you how to write tests for microservices in Java. You'll learn test strategies that solve the most common issues you are likely to encounter.

This practical hands-on guide begins with introducing you to microservices and providing you with a simple, carefully-designed application developed using microservices principles and following some of the most common technologies such as Java EE, Spring Boot, WildFly Swarm, and Docker.

You'll move on to write tests for microservices architecture, starting with simple but useful unit tests, all the way to end-to-end tests. The book shows you how to write tests like unit, component, integration, container, contract, chaos, and more. Along the way, you'll also learn about some technologies like the Arquillian ecosystem, Wiremock, Mockito, AssertJ, Pact or Gatling. Finally, you'll see how everything fits together into the Continuous Delivery pipeline.

Readers should be comfortable programming in Java. Experience with testing tools like jUnit is helpful but not required. Some experience in Java EE, Spring. and Docker is also helpful.

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.

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.

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.

Gives a thorough explanation with specific examples using real world technology. Ethan A. Rivett

This is highly technical book with lot of valuable examples. It skips the theory and jump right into action. Anshuman Purohit

Provides clear examples for how to write tests that make sure the services continue working together as the services evolve. GonKiran Anantha

Erscheinungsdatum
Verlagsort New York
Sprache englisch
Gewicht 520 g
Einbandart kartoniert
Themenwelt Informatik Office Programme Outlook
Informatik Programmiersprachen / -werkzeuge Java
Informatik Software Entwicklung Qualität / Testen
Informatik Software Entwicklung SOA / Web Services
Mathematik / Informatik Informatik Web / Internet
Schlagworte Java • Microservices • Softwareentwicklung • Testen • Webentwicklung
ISBN-10 1-61729-289-3 / 1617292893
ISBN-13 978-1-61729-289-7 / 9781617292897
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich