Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 20:10
Unknown Object (File)
Sat, Dec 21, 19:50
Unknown Object (File)
Tue, Dec 17, 09:34
Unknown Object (File)
Tue, Dec 17, 04:57
Unknown Object (File)
Sat, Dec 7, 17:28
Unknown Object (File)
Thu, Dec 5, 06:06
Unknown Object (File)
Thu, Dec 5, 06:05
Unknown Object (File)
Thu, Dec 5, 02:14
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