specto.io
Consumer-Driven Contract Testing with Spring Cloud Contract — SpectoLabs
http://specto.io/blog/spring-cloud-contract
November 16, 2016. Consumer-Driven Contract Testing with Spring Cloud Contract. November 16, 2016. By Tommy Situ @situ.tommy. Luckily, mocking dependent services is possible using service virtualization. Testing the integration between services A and B becomes an isolated component test for service A, with an embedded stub of service B. However, this creates another dilemma: how do you guarantee that service B’s stub always tracks the changes of the actual service? That service B (as a producer. Will hav...
hecodes.com
Better Testing of Microservices Using Consumer-Driven Contracts in Node.js - He codes
http://hecodes.com/2016/10/better-testing-microservices-using-consumer-driven-contracts-node-js
Better Testing of Microservices Using Consumer-Driven Contracts in Node.js. In this post we’ll look into using Pact. For testing interactions between microservices. Pact is a family of frameworks that allows us to do Consumer-Driven Contract. Testing. We’ll also discuss the advantages of using Consumer-Driven Contracts over integration tests, which are the traditional way of testing interactions between microservices. To demonstrate the concepts in this post, I’ve created a service example called. The pr...