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

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -