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, 23:23
Differential Revision
D3202: Allow to mock DatabaseEngine
Parents
rKDB7f6ce67d3be2: Support blackhole database engine for mocks
Branches
Unknown
Tags
Unknown
References
tag: 0.3.0