Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 9, 05:24
Unknown Object (File)
Fri, May 8, 23:15
Unknown Object (File)
Thu, May 7, 16:46
Unknown Object (File)
Thu, May 7, 15:54
Unknown Object (File)
Wed, May 6, 16:34
Unknown Object (File)
Wed, May 6, 08:56
Unknown Object (File)
Mon, May 4, 14:15
Unknown Object (File)
Sat, May 2, 09:00
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