]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
test(ocpp): add schema registration coverage tests for OCPP 1.6 and 2.0
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 12 Mar 2026 23:04:47 +0000 (00:04 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 12 Mar 2026 23:04:47 +0000 (00:04 +0100)
commit293588f1f28cb59d67ce3ea1aff16a91ae92ed0a
treeece9d1b6856c9f4d7a75f919ff452e622f1c177c
parent56b925b4968df16ae93d03ea5f9dba979a740627
test(ocpp): add schema registration coverage tests for OCPP 1.6 and 2.0

Verify every command enum value has its request and response schemas
registered in ServiceUtils, and that all referenced schema files exist
on disk. Prevents regressions where a command is implemented but its
schema registration is forgotten.
tests/charging-station/ocpp/1.6/OCPP16SchemaValidation.test.ts
tests/charging-station/ocpp/2.0/OCPP20SchemaValidation.test.ts