Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 6, 10:46
Unknown Object (File)
Mon, Oct 6, 10:46
Unknown Object (File)
Wed, Oct 1, 07:19
Unknown Object (File)
Wed, Oct 1, 05:47
Unknown Object (File)
Tue, Sep 30, 22:31
Unknown Object (File)
Mon, Sep 29, 06:03
Unknown Object (File)
Sun, Sep 28, 04:26
Unknown Object (File)
Thu, Sep 25, 22:01
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 Passed
Unit
Tests Passed
Branch
main
Build Status
Buildable 5040
Build 5321: arc lint + arc unit