Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 9, 04:24
Unknown Object (File)
Sat, Apr 4, 12:29
Unknown Object (File)
Sat, Apr 4, 04:18
Unknown Object (File)
Fri, Apr 3, 09:21
Unknown Object (File)
Thu, Apr 2, 03:22
Unknown Object (File)
Wed, Apr 1, 10:31
Unknown Object (File)
Wed, Apr 1, 01:37
Unknown Object (File)
Tue, Mar 31, 06:34
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