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

[Mongodb Client Extension] Expose MongoTestResource #14842

Closed
ch3rub1 opened this issue Feb 5, 2021 · 1 comment · Fixed by #16056
Closed

[Mongodb Client Extension] Expose MongoTestResource #14842

ch3rub1 opened this issue Feb 5, 2021 · 1 comment · Fixed by #16056
Assignees
Labels
area/mongodb kind/enhancement New feature or request
Milestone

Comments

@ch3rub1
Copy link

ch3rub1 commented Feb 5, 2021

Description
It seems there is no quarkus test resource available to perform some integration tests with MongoDB.
We manage to do this kind of testing by providing an implementation of QuarkusTestResourceLifecycleManager which start ans stop a embed mongo database (using de.flapdoodle.embed.mongo) but this test resource could be provided by default, with the use on mongodb client extension.

Implementation ideas
I saw in the repository that many MongoTestResource imlementation exists for quarkus testing.
Having such a similar test resource exposed will be useful for anyone who want to write some integrations tests with MongoDB.

@ch3rub1 ch3rub1 added the kind/enhancement New feature or request label Feb 5, 2021
@ghost ghost added the area/mongodb label Feb 5, 2021
@ghost
Copy link

ghost commented Feb 5, 2021

/cc @evanchooly, @loicmathieu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/mongodb kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants