Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 31, 23:39
Unknown Object (File)
Mon, Mar 24, 05:26
Unknown Object (File)
Sun, Mar 23, 20:35
Unknown Object (File)
Sun, Mar 23, 06:28
Unknown Object (File)
Sun, Mar 23, 01:38
Unknown Object (File)
Sat, Mar 22, 07:51
Unknown Object (File)
Thu, Mar 20, 20:42
Unknown Object (File)
Mon, Mar 17, 06:36
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