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

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -