You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: