Page MenuHomeDevCentral

Allow to mock DatabaseEngine
ClosedPublic

Authored by dereckson on Jun 19 2023, 22:45.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 13, 07:10
Unknown Object (File)
Tue, Oct 13, 03:13
Unknown Object (File)
Mon, Oct 12, 19:06
Unknown Object (File)
Mon, Oct 12, 01:16
Unknown Object (File)
Sun, Oct 11, 16:17
Unknown Object (File)
Sun, Oct 11, 05:47
Unknown Object (File)
Sun, Oct 11, 01:46
Unknown Object (File)
Sun, Oct 11, 00:28
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