Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 22, 20:59
Unknown Object (File)
Wed, Sep 16, 18:53
Unknown Object (File)
Mon, Sep 14, 04:09
Unknown Object (File)
Sat, Sep 12, 21:43
Unknown Object (File)
Sun, Sep 6, 08:40
Unknown Object (File)
Sat, Sep 5, 03:32
Unknown Object (File)
Thu, Sep 3, 17:48
Unknown Object (File)
Thu, Sep 3, 16:50
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