Views + analysis of test results?

Hello everyone,

We’re testing out CouchBase 2.0 and trying to write a few tests against views; apparently it’s very difficult to keep views consistent across runs, the views either don’t have the data tested or still contain data from the previous test in them.

Is there a best practice on how to test against CouchBase views in a way that you can predictably trust the given output? I found a few but I need better suggestions.

Views are deprecated.

Couchbase 2.0 was released in 2012. We are now at Couchbase 7.6.