From: Jérôme Benoit Date: Tue, 17 Mar 2026 17:18:43 +0000 (+0100) Subject: docs(ocpp-server): add typecheck and test_coverage to README and reorder dev sections X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=d6b14669baad1e0d86136e60d877122ae61b93f1;p=e-mobility-charging-stations-simulator.git docs(ocpp-server): add typecheck and test_coverage to README and reorder dev sections --- diff --git a/tests/ocpp-server/README.md b/tests/ocpp-server/README.md index 0367af1e..868edfdf 100644 --- a/tests/ocpp-server/README.md +++ b/tests/ocpp-server/README.md @@ -152,12 +152,6 @@ poetry run python server.py --command GetBaseReport --period 5 - `StatusNotification` - Handle status notifications - `TransactionEvent` - Handle transaction events (Started/Updated/Ended) -## Testing - -```shell -poetry run task test -``` - ## Development ### Code formatting @@ -172,6 +166,24 @@ poetry run task format poetry run task lint ``` +### Type checking + +```shell +poetry run task typecheck +``` + +### Testing + +```shell +poetry run task test +``` + +With coverage report: + +```shell +poetry run task test_coverage +``` + ## Reference - [mobilityhouse/ocpp](https://github.com/mobilityhouse/ocpp) - Python OCPP library