Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pact Contract #188

Merged
merged 24 commits into from
Jan 13, 2017
Merged

Pact Contract #188

merged 24 commits into from
Jan 13, 2017

Conversation

marcingrzejszczak
Copy link
Contributor

this introduces support of Pact files as input contracts. In other words instead of using the Groovy DSL you can define your contracts with Pact files.

fixes #96

@codecov-io
Copy link

codecov-io commented Jan 13, 2017

Current coverage is 58.74% (diff: 65.21%)

Merging #188 into master will increase coverage by 0.15%

@@             master       #188   diff @@
==========================================
  Files           198        199     +1   
  Lines          5660       5846   +186   
  Methods           0          0          
  Messages          0          0          
  Branches        955       1013    +58   
==========================================
+ Hits           3316       3434   +118   
- Misses         1962       1988    +26   
- Partials        382        424    +42   

Powered by Codecov. Last update da6046f...30217ae

marcingrzejszczak and others added 23 commits January 13, 2017 16:47
changed dependencies for pact converter
added standalone sample for pact
moved map converter to spec so that spec-converters don't need sc-verifier
the class is tested via JsonToJsonPathConverter
TODO:
- added some code in RecursiveFileConverter that needs additional unit tests
- the tests generated from Pact loose their indent for some reason
- StubGeneratorProvider needs additional unit tests
I wanted it to work with optional dependencies but it won't work like this. We'll need an explicit dependency for every converter
@marcingrzejszczak marcingrzejszczak merged commit 22a5e44 into master Jan 13, 2017
@marcingrzejszczak marcingrzejszczak deleted the issues_#96_pact_contract branch January 13, 2017 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pact <-> SC-Contract DSL conversion
2 participants