Features Added
- Better provider verify success and failure output.
- Adding an additional test scenario with hypermedia link following.
Tweaks
- Updating provider verify filter optional param names to be less confusing.
- Updating Comparer objects to return a ComparisonResult, cleaning up a lot of code.
- Refactoring the PactVerifier.
- Making some objects internal.
- Renamed Pact Party to Pacticipant.
Bug fixes
- Changing consumer set up and tear down actions defined in the PactVerifier, so that they are invoked at the start and end of each interaction verify on the provider.
- Fixed the consumer output issue when specifying multiple mocked interactions in a single test. The console would show error message when it should not. The test did not fail though.
Breaking Changes
- Consumer name, set up and tear down actions are now defined in the PactVerifier constructor instead of the ProviderStatesFor method.
- The consumer defined set up and tear down actions (supplied in the PactVerifier ctor) are now run before and after interaction verification.
- Reducing the visibility of some objects that we don't imagine anyone should be using. Allows us to change implementation details without dealing with breaking changes. Please raise a GitHub issue if you need to use a class that is marked as internal.
Install-Package PactNet -Version 0.1.8-beta -Pre