8000 add examples basic query, and aggregation with mongomock by federicsp · Pull Request #920 · mongomock/mongomock · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add examples basic query, and aggregation with mongomock #920

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

federicsp
< 8000 summary data-view-component="true" class="timeline-comment-action Link--secondary Button--link Button--medium Button"> Copy link

This PR adds runnable example scripts inside the examples/ directory to demonstrate usage of mongomock:

The examples can be run with python -m examples.<module_name>, providing an easy way for users to understand how to test MongoDB interactions without a real database.

Additionally, the README is updated.

Copy link
codecov bot commented May 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.07%. Comparing base (d5c0e8b) to head (4368df3).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #920   +/-   ##
========================================
  Coverage    96.07%   96.07%           
========================================
  Files           35       35           
  Lines        10118    10118           
========================================
  Hits          9721     9721           
  Misses         397      397           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant
0