Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 17, 02:27
Unknown Object (File)
Thu, Oct 16, 11:15
Unknown Object (File)
Sat, Oct 11, 12:39
Unknown Object (File)
Thu, Oct 9, 08:49
Unknown Object (File)
Thu, Oct 9, 08:43
Unknown Object (File)
Mon, Oct 6, 10:46
Unknown Object (File)
Mon, Oct 6, 10:46
Unknown Object (File)
Wed, Oct 1, 07:19
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