Set up working example of py wiremock#59
Merged
mikeywaites merged 6 commits intomasterfrom May 7, 2023
Merged
Conversation
This commit introduces a new "example" directory that demonstrates how to use python-wiremock for testing against a http service. The idea behind this example is two fold. 1) provide some exspansive real world working examples of using wiremock 2) develop a real world application using all of wiremocks features to aid with e2e testing. The example directory builds a few python services using fast api which are built and run using docker. The two services Overview Service and Products Service in the example app communicate with eachother via http. The test suite in the example app then demonstrates how to use wiremock to stub responses from Products Service so that Overview Service can be tested more easily without needing to run Product Service.
a2e7ed4 to
36b7ba6
Compare
This is a quick check-in to persist a couple of changes to fix some things that i found to be broken from a large volume of work on this branch.
ffa0285 to
26d472f
Compare
26d472f to
d5e1500
Compare
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit introduces a new "example" directory
that demonstrates how to use python-wiremock for
testing against a http service.
The idea behind this example is two fold.
provide some expansive real world working examples of using wiremock
develop a real world application using all of wiremocks features to aid with e2e testing.
The example directory builds a few python services using fast api which are built and run using docker. The two services Overview Service and Products Service in the example app communicate with each other via http. The test suite in the example app then demonstrates how to use wiremock to stub responses from Products Service so that Overview Service can be tested more easily without needing to run Product Service.