Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
F53499930: D3202.diff
Sat, Oct 10, 11:02
Unknown Object (File)
Mon, Sep 28, 17:13
Unknown Object (File)
Mon, Sep 28, 16:08
Unknown Object (File)
Sun, Sep 27, 17:39
Unknown Object (File)
Fri, Sep 25, 14:29
Unknown Object (File)
Fri, Sep 25, 13:03
Unknown Object (File)
Tue, Sep 22, 20:59
Unknown Object (File)
Wed, Sep 16, 18:53
Subscribers
None

Details

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.

Diff Detail

Repository
rKERUALD Keruald libraries development repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable