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

Add Http Post and Delete examples #783

Merged

Conversation

amit828as
Copy link
Contributor

📝 Summary

  1. Added the http post and delete methods
  2. updated the methods in v2 examples to verify the teardown
  3. added new endpoints in flask and fastapi

🚨 Breaking Changes

🔥 Motivation

Provide more realistic examples for pact-python

🔨 Test Plan

Examples are inherently tested

🔗 Related issues/PRs

#757

Extend the existing examples to showcase both HTTP POST and DELETE
requests, and how they are handled in Pact. Specifically showcasing how
the verifying can ensure that any side-effects have taken place.

Co-authored-by: Amit Singh <[email protected]>
Signed-off-by: JP-Ellis <[email protected]>
@JP-Ellis JP-Ellis force-pushed the updated-v3-examples-refactored branch from 2d9b9a7 to 75edcbb Compare September 12, 2024 07:51
Signed-off-by: JP-Ellis <[email protected]>
@JP-Ellis JP-Ellis force-pushed the updated-v3-examples-refactored branch from fc65cdd to 7c1f341 Compare September 25, 2024 01:52
Copy link

codecov bot commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (master@07c5a14). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             master   #783   +/-   ##
=======================================
  Coverage          ?    78%           
=======================================
  Files             ?     23           
  Lines             ?   2673           
  Branches          ?      0           
=======================================
  Hits              ?   2111           
  Misses            ?    562           
  Partials          ?      0           
Flag Coverage Δ
examples 58% <ø> (?)
tests 78% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JP-Ellis JP-Ellis merged commit 0bbae63 into pact-foundation:master Sep 25, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants