Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
F10961943: D3202.id8169.diff
Thu, Aug 7, 11:16
F10950573: D3202.id8168.diff
Thu, Aug 7, 00:53
Unknown Object (File)
Wed, Aug 6, 16:31
Unknown Object (File)
Wed, Aug 6, 10:03
Unknown Object (File)
Tue, Aug 5, 06:51
Unknown Object (File)
Tue, Aug 5, 02:14
Unknown Object (File)
Wed, Jul 30, 00:43
Unknown Object (File)
Tue, Jul 29, 17:44
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