Provides Pact Consumer support for Minitest.
Add this line to your application's Gemfile:
gem 'pact-consumer-minitest'
And then execute:
$ bundle
Or install it yourself as:
$ gem install pact-consumer-minitest
See the README for the pact gem for full instructions on how to use Pact.
To use Pact with Minitest, instead of requiring "pact/consumer/rspec"
, require "pact/consumer/minitest"
and include Pact::Consumer::Minitest
in your spec or unit test.
See an example here.
- Fork it ( https://github.com/[my-github-username]/pact-consumer-minitest/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request