]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
test: harmonize test names and add mock factories
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 27 Feb 2026 22:03:44 +0000 (23:03 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 27 Feb 2026 22:03:44 +0000 (23:03 +0100)
commitf146ae6b7443226b7e29dedcc9d55ed2810ee032
treea6eeaaa83e30ceaa979e6ff4de0a44d58ef88283
parent0610e9e21aee608f3bc4e71e6742110c454b7f90
test: harmonize test names and add mock factories

- Replace 164 'should verify' patterns with descriptive test names
- Add createLoggerMocks() and createConsoleMocks() to TestLifecycleHelpers
- Add afterEach cleanup to ErrorUtils, WorkerUtils, ConfigurationUtils tests
- Align all test names with TEST_STYLE_GUIDE.md conventions
18 files changed:
tests/charging-station/Helpers.test.ts
tests/charging-station/ocpp/2.0/OCPP20RequestService-HeartBeat.test.ts
tests/charging-station/ocpp/2.0/OCPP20VariableManager.test.ts
tests/charging-station/ui-server/UIHttpServer.test.ts
tests/charging-station/ui-server/UIServerSecurity.test.ts
tests/charging-station/ui-server/UIWebSocketServer.test.ts
tests/charging-station/ui-server/ui-services/AbstractUIService.test.ts
tests/exception/BaseError.test.ts
tests/exception/OCPPError.test.ts
tests/helpers/TestLifecycleHelpers.ts
tests/types/ConfigurationData.test.ts
tests/utils/AsyncLock.test.ts
tests/utils/ConfigurationUtils.test.ts
tests/utils/ElectricUtils.test.ts
tests/utils/ErrorUtils.test.ts
tests/utils/StatisticUtils.test.ts
tests/utils/Utils.test.ts
tests/worker/WorkerUtils.test.ts