Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
F23639011: D3202.id8168.diff
Thu, Feb 5, 20:14
F23629868: D3202.id8169.diff
Thu, Feb 5, 19:14
F23596831: D3202.diff
Thu, Feb 5, 14:43
Unknown Object (File)
Sun, Feb 1, 10:52
Unknown Object (File)
Sun, Feb 1, 10:25
Unknown Object (File)
Tue, Jan 20, 00:12
Unknown Object (File)
Thu, Jan 15, 00:38
Unknown Object (File)
Mon, Jan 12, 04:35
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