Skip to content

HolyMiss/pact-cplusplus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pact-cplusplus

Pact-C++ Build

C++ implementation of the consumer driven contract library pact.

From the Ruby Pact website:

Define a pact between service consumers and providers, enabling "consumer driven contract" testing.

Pact provides an RSpec DSL for service consumers to define the HTTP requests they will make to a service provider and the HTTP responses they expect back. These expectations are used in the consumers specs to provide a mock service provider. The interactions are recorded, and played back in the service provider specs to ensure the service provider actually does provide the response the consumer expects.

This allows testing of both sides of an integration point using fast unit tests.

This gem is inspired by the concept of "Consumer driven contracts". See http://martinfowler.com/articles/consumerDrivenContracts.html for more information.

Read Getting started with Pact for more information on how to get going.

Contact

Documentation

Consumer Tests

The support for consumer tests is documented in consumer.

For an example for the consumer test DSL, have a look at consumer_test.cpp.

About

C++ DSL for Pact Library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 63.6%
  • TeX 25.8%
  • C++ 4.8%
  • JavaScript 3.0%
  • CSS 2.3%
  • Groovy 0.2%
  • Other 0.3%