Skip to content

Mockable functional apis for uni tests #154

@abose

Description

@abose

There should be a way to simulate mockable APIs with ram stored documents.

We could do something like this:

It might be better to have first-party mock support integrated into the source. For Eg. when initing we could give init(...mockDBMode=true) and the mocks will kick in and can use the simulated in-memory db for unit tests without any code code changes for tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions