The application I am working on is a Velocity/Spring MVC/Mongo on tomcat kind of webapp.
I am able to run my integration tests on Embedded Mongo, using EmbedMongo which takes longer to run all the tests, say around 1 minutes but on the test database on installed Mongo, it takes around 15 secs.
Is there really any benefit in using Embedded databases for integration tests when creating a new db, (in this case a test db within the same instance) is a negligible effort ? In fact, the tests can themselves create the DB and required Collection.
Other than using Embedded Mongo on a CI box where the regular installation is not required, I don't see any great benefit in it.
Can anyone share any ideas please.
Thanks Gaurav