Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
F4543972: D3202.diff
Mon, Feb 17, 02:58
Unknown Object (File)
Fri, Feb 14, 13:23
Unknown Object (File)
Fri, Feb 14, 13:05
Unknown Object (File)
Sat, Feb 8, 12:20
Unknown Object (File)
Sat, Feb 8, 08:35
Unknown Object (File)
Tue, Jan 21, 23:46
Unknown Object (File)
Tue, Jan 21, 22:16
Unknown Object (File)
Sun, Jan 19, 05:41
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