my-calculator-poc / my-calculator-poc.github.io

The meta repo organize the operations for the POC
Apache License 2.0
1 stars 0 forks source link

Create some Contract Tests with PACT about My-Sum-API #6

Open jabrena opened 5 years ago

jabrena commented 5 years ago

Using the repository: https://github.com/my-calculator-poc/MyCalculatorPACT

It is necessary to create some Tests to consume My-Sum-API with PACT.

jabrena commented 5 years ago

What is the value with some maven PACT plugins? https://github.com/andreschaffer/microservices-testing-examples/blob/master/pom.xml

jabrena commented 5 years ago

This example run PACT Server in local (Second alternative) but the test fails: https://github.com/piomin/sample-testing-microservices

jabrena commented 5 years ago

Example 1: OK http://the-creative-tester.github.io/Java-Consumer-Driven-Contract-Testing/ https://github.com/the-creative-tester/consumer-driven-contract-testing-example

jabrena commented 5 years ago

Example 2: OK https://github.com/vilacides/contractTestingExample

jabrena commented 5 years ago

Example 3: OK https://github.com/gopinath-langote/Pact-JVM-Implementation

jabrena commented 5 years ago

Other examples: https://www.baeldung.com/pact-junit-consumer-driven-contracts

jabrena commented 5 years ago

https://medium.com/@DoorDash/contract-testing-with-pact-7cf108ced8c4