Expanded Library

Introduction to Spring Cloud Contract

by Andrew Morgan

Learn to develop and test Java microservices more effectively with this foundational course on Spring Cloud Contract, a Java-based consumer-driven contract framework.

What you'll learn

Testing Java microservices is challenging. This is because, despite their independence, they often end up being coupled through some form of message passing or API calls. In this course, Introduction to Spring Cloud Contract, you will learn foundational knowledge of a powerful new framework, gaining the ability to test and release Java microservices more effectively. First, you will learn about the challenges of microservices testing, taking a look at the shortcomings of both end-to-end testing microservices and mocking their collaborators. Next, you will discover the consumer-driven contracts testing technique, the TDD at the API level approach to microservices testing that Spring Cloud Contract implements. Finally, you will become proficient in using Spring Cloud Contract to build both HTTP driven and message driven Java microservices. When you're finished with this course, you will have the skills and knowledge of Spring Cloud Contract and consumer-driven contract testing needed to truly make your microservices independently testable and deployable.

Table of contents

Course Overview
2mins

About the author

Andrew is an independent consultant with cross-functional expertise in the design, development, and deployment of enterprise level software systems. Working with various clients, Andrew has been exposed to many different technology stacks, most recently specializing in Java microservices and continuous delivery. Andrew is actively involved in the wider community, presenting at international conferences, delivering training courses, contributing to open source, and writing for InfoQ.

Ready to upskill? Get started