Microserviceのテストの話を調べていると、以下のような記事を見つけました。 Simplifying Micro-Service testing with Pacts このPactoと呼ばれるツールがConsumer Driven Contractsと呼ばれるデザインパターンを使っていると書いていたので、同デザインパターンを少し調べてみました。 関連: MartinFowler氏のブログ記事 Pactoに関するGitHub デザインパターンとしての説明 http://www.servicedesignpatterns.com/WebServiceEvolution/ConsumerDrivenContracts http://java.dzone.com/articles/application-pattern-consumer アプリの実装寄りの話はこの記事が参考になりそう 消費
![Consumer-Driven Contracts Design Patternを読み漁ってみた](https://cdn-ak-scissors.b.st-hatena.com/image/square/917e09e262d1775a0be2ad0f037e4ea8603d4c61/height=288;version=1;width=512/http%3A%2F%2Fwww.stephen-smith.co.uk%2Fblog%2Fwp-content%2Fuploads%2F2013%2F12%2FConsumer-Driven-Contracts.png)