HomeDevCentral

Allow to mock DatabaseEngine

Description

Allow to mock DatabaseEngine

Summary:
Applications can use the MockDatabaseEngine class in unit tests
instead of providing a database server and offer a deterministic
response to queries.

Test Plan: Tested with Zed unit tests in SectorModifierTest class.

Reviewers: dereckson

Differential Revision: https://devcentral.nasqueron.org/D3202

Details

Provenance
derecksonAuthored on Jun 19 2023, 22:40
derecksonPushed on Jun 19 2023, 22:45
Differential Revision
D3202: Allow to mock DatabaseEngine
Parents
rKERUALD8125a8c9b0f4: Support blackhole database engine for mocks
Branches
Unknown
Tags
Unknown
References
tag: database/0.3.0