Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 1, 03:45
Unknown Object (File)
Wed, Oct 29, 06:12
Unknown Object (File)
Thu, Oct 23, 14:04
Unknown Object (File)
Thu, Oct 23, 14:04
Unknown Object (File)
Thu, Oct 23, 13:24
Unknown Object (File)
Wed, Oct 22, 18:42
Unknown Object (File)
Wed, Oct 22, 14:32
Unknown Object (File)
Wed, Oct 22, 05:38
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