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

testing - Detect whether test has failed within fixture -

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

android - Create single AAR file from multiple modules using Gradle -