Automated testing

The next important area in microservices development is automated testing. For microservices architecture, contact tests are growing in importance. Martin Fowler gave the following definition:

"An integration contract test is a test at the boundary of an external service verifying that it meets the contract expected by a consuming service."

Spring Cloud has a very interesting implementation for that approach to unit testing, Spring Cloud Contract. It uses WireMock for traffic recording and Maven plugin for generating stubs. 

It is also possible that you get the opportunity to use Spring Cloud Task. It helps a developer to create short lived microservices using Spring Cloud, and run them locally or in the cloud environment. ...

Get Mastering Spring Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.