Skip to content

tpl/mongo: add mongo's mtest for mocking test purpose#325

Merged
scbizu merged 3 commits intov2from
feature/mock-interface
Jun 4, 2025
Merged

tpl/mongo: add mongo's mtest for mocking test purpose#325
scbizu merged 3 commits intov2from
feature/mock-interface

Conversation

@scbizu
Copy link
Member

@scbizu scbizu commented May 29, 2025

The main purpose of this PR is to support MongoDriver's mtest:

with mtest, we can:

  • Allow user to write the unit test code without the local mongo instance
  • More stable CI with self-managed mogod (which is in-memoy)

@scbizu scbizu merged commit 2fd56e9 into v2 Jun 4, 2025
17 checks passed
@scbizu scbizu deleted the feature/mock-interface branch June 4, 2025 01:58
scbizu added a commit that referenced this pull request Jun 4, 2025
* tpl/mongo: add mongo's mtest for mocking test purpose

* internal/parser: mongo: support testing template

* internal/parser: mongo: fix time bad import
scbizu added a commit that referenced this pull request Jun 4, 2025
* tpl/mongo: add mongo's mtest for mocking test purpose

* internal/parser: mongo: support testing template

* internal/parser: mongo: fix time bad import
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