Skip to content

Commit 585eeea

Browse files
chore: bump version to 0.4.0 for provider state update
1 parent da337eb commit 585eeea

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.4.0
2+
3+
- feat: support parameters and multiple provider states
4+
15
## 0.3.2
26

37
- feat: add uuid and email matchers

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ final pact = PactMockService('test-ffi-consumer','test-ffi-provider');
2323
2424
pact
2525
.newInteraction('request for betsy')
26-
.given('a alligator named betsy exists')
26+
.given('a alligator exists', params: { 'name': 'Betsy' })
27+
.andGiven('the alligators were recently fed')
2728
.uponReceiving('a request for an alligator')
2829
.withRequest('GET', '/alligator')
2930
.willRespondWith(200, body: body: { 'name': 'Betsy' }});

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: pact_dart
22
description: A Dart DSL for creating pact contracts
3-
version: 0.3.2
3+
version: 0.4.0
44
homepage: https://github.com/matthewshirley/pact_dart
55

66
environment:

0 commit comments

Comments
 (0)