mongodb - Testing spring boot application with embedded mongo -
my application has spring boot spring data mongo db.
i trying unit test case dao layer using embedded mongo.while searching in internet, came across 2 annotations *@springboottest *@testsbmongo..
i confused annotations usage.my question 1.what difference between these annotations 2. getting connection refused error when using @testdbmongo 3.how use embedded mongo test when original mongo server running
Comments
Post a Comment