Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 21, 23:46
Unknown Object (File)
Tue, Jan 21, 22:16
Unknown Object (File)
Sun, Jan 19, 05:41
Unknown Object (File)
Fri, Jan 17, 18:28
Unknown Object (File)
Fri, Jan 17, 05:45
Unknown Object (File)
Fri, Jan 17, 05:28
Unknown Object (File)
Fri, Jan 17, 05:28
Unknown Object (File)
Thu, Jan 9, 08:02
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