Skip to content

[WIP] Enable running MongoDB core tests on local dev machines#281

Closed
Copilot wants to merge 1 commit intomasterfrom
copilot/fix-280
Closed

[WIP] Enable running MongoDB core tests on local dev machines#281
Copilot wants to merge 1 commit intomasterfrom
copilot/fix-280

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jul 10, 2025

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.

Original issue description:

Today we are only able to run the MongoDB core tests on our CI, which sets up a test MongoDB server via a GitHub action that spins one up using Docker.

We would like our developers to have the ability to run the MongoDB core test suit locally, on their laptops.

Possible directions for a solution:

  • Requiring the developer has Docker set up and running in the background
  • Writing a custom .sh script that spins up a lightweight MongoDB server via server, injects the proper env vars to the local shell, calls pytest -m "mongo and memory and pickle and maxage", then tears things down, enabling the user to run the test suit and see pytest results (including coverage).

But that's just off the top of my head, and implementation details are of lesser importance, as long as the functionality and user experience for the developers is as stated (or better).

Fixes #280.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@shaypal5
Copy link
Copy Markdown
Member

@copilot try again

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.

Enable running MongoDB core tests on local dev machines

2 participants