Creating test catalog

There is a scenario which i am trying to do using couchbase. I have been using couchbase 1.5 years.But now i want to write end to end test aka api test. Now i need to create a test catalog.When we use mongo db with node js we can dynamically set the test db and when we run "npm run test " it dynamically hit the test db but how can we create same test catalog in couchbase using node js.Thanks.

Hey @arafat15-1830,

Can you elaborate a bit on what you mean by a “test catalog” and “dynamically hit the test db”? I’m not entirely confident what it is that you are trying to implement.

Cheers, Brett