Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 16, 02:00
Unknown Object (File)
Wed, Feb 11, 11:23
Unknown Object (File)
Tue, Feb 10, 05:01
Unknown Object (File)
Tue, Feb 10, 03:26
Unknown Object (File)
Tue, Feb 10, 01:40
Unknown Object (File)
Mon, Feb 9, 22:33
Unknown Object (File)
Mon, Feb 9, 16:53
Unknown Object (File)
Mon, Feb 9, 13: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