apache / apache/couchdb-nano

How to set unit tests using in-memory database for couchdb-nano

Open
#305 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
689
Forks
167
Avg merge
1h
Merged PRs (30d)
1

Description

Looking to implement unit test coverage for nanodb functionalities for my application (with a nodejs server and couch DB) .Been doing a transition from pouchdb to nano.For the case of pouch db its possible to use 'pouchdb-adapter-memory'(Refer https://pouchdb.com/adapters.html).I was wondering if its possible to do something similar for nano where i can do unit tests but with an in memory database.Any tips/suggestions would be greatly appreciated!

Contributor guide

Open the contributing guide

Research direction

No project file, test, or entry point is named. Start by reviewing Nano's testing setup and comparing the requested in-memory behavior with the referenced pouchdb-adapter-memory; done would require a clearly scoped test approach or documented limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
databases, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.