java - Unit & Integration Testing with Couchbase -


i setup new project using spring-data-couchbase , stumped on how should approach unit , integration testing here.

typically jpa can mock out repository somehow (assuming similar couchbase spring) , okay unit testing, jpa wire in memory database , have full integration testing suite. there way couchbase?

also if don't mind mentioning tips here first major nosql project :) thanks!

couchbase not run in-memory unfortunately. unit testing have mock couchbase's api. there couchbasemock project facilitate that: https://github.com/couchbase/couchbasemock

there possibility use runner prior launching test. there maven plugin allow run couchbase or couchbase docker image.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -