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

Generate stubs at runtime #1152

Merged
merged 3 commits into from Aug 5, 2019

Conversation

marcingrzejszczak
Copy link
Contributor

without this change the producer side must publish the stubs for the consumer side to use them
with this change the consumer can toggle a switch so that the stubs get generated at runtime. This might of course lead to false positivies but we assume that the users know what they're doing

fixes gh-881

without this change the producer side must publish the stubs for the consumer side to use them
with this change the consumer can toggle a switch so that the stubs get generated at runtime. This might of course lead to false positivies but we assume that the users know what they're doing

fixes gh-881
@marcingrzejszczak marcingrzejszczak added this to the 2.2.0.M2 milestone Aug 4, 2019
@marcingrzejszczak marcingrzejszczak added this to In progress in Hoxton.M2 via automation Aug 4, 2019
@codecov
Copy link

codecov bot commented Aug 5, 2019

Codecov Report

Merging #1152 into master will increase coverage by 0.1%.
The diff coverage is 48.45%.

Impacted file tree graph

@@             Coverage Diff             @@
##             master    #1152     +/-   ##
===========================================
+ Coverage     56.18%   56.28%   +0.1%     
- Complexity     3168     3178     +10     
===========================================
  Files           442      444      +2     
  Lines         15629    15702     +73     
  Branches       2089     2096      +7     
===========================================
+ Hits           8781     8838     +57     
- Misses         5936     5947     +11     
- Partials        912      917      +5
Impacted Files Coverage Δ Complexity Δ
...ork/cloud/contract/maven/verifier/ConvertMojo.java 58.62% <ø> (ø) 9 <0> (ø) ⬇️
...ct/verifier/wiremock/DslToWireMockConverter.groovy 42.85% <ø> (+9.52%) 2 <0> (ø) ⬇️
...contract/stubrunner/PactStubDownloaderBuilder.java 0% <0%> (ø) 0 <0> (ø) ⬇️
...loud/contract/stubrunner/junit/StubRunnerRule.java 51.16% <0%> (-1.22%) 16 <0> (ø)
...rk/cloud/contract/stubrunner/MappingGenerator.java 0% <0%> (ø) 0 <0> (?)
...oud/contract/verifier/converter/StubGenerator.java 0% <0%> (ø) 0 <0> (?)
...contract/stubrunner/junit/StubRunnerExtension.java 0% <0%> (ø) 0 <0> (ø) ⬇️
...k/cloud/contract/stubrunner/StubRunnerOptions.java 83.47% <100%> (+0.59%) 33 <1> (+1) ⬆️
...act/stubrunner/spring/StubRunnerConfiguration.java 90.69% <100%> (+0.22%) 7 <0> (ø) ⬇️
.../contract/stubrunner/StubRunnerOptionsBuilder.java 91.52% <100%> (+0.22%) 40 <1> (+1) ⬆️
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d97db26...bb2e30d. Read the comment docs.

@marcingrzejszczak marcingrzejszczak merged commit dbb1af8 into master Aug 5, 2019
Hoxton.M2 automation moved this from In progress to Done Aug 5, 2019
@marcingrzejszczak marcingrzejszczak deleted the issues_#881_generate_stubs_at_runtime branch August 14, 2019 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Hoxton.M2
  
Done
Development

Successfully merging this pull request may close these issues.

Allow generation of stubs at runtime
1 participant