Files
Eric F d398a6ced2 Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1)
- OpenOCPP extracted (firmware OCPP 1.6J/2.0.1)
- ShapeShifter library installed (pip install -e)
- ShapeShifter specification extracted
- EVerest extracted

TODO updated with progress
2026-06-08 00:38:27 -04:00
..

OCPP Integration Tests

This directory contains some test tooling and integration tests for OCPP1.6 and OCPP2.0.1.

Run the tests

All tests are run via the unified tests/run-tests.sh script from the repository root. The script handles parallel execution, network-isolation setup/teardown and certificate/config installation automatically.

# From the repository root:
tests/run-tests.sh ocpp          # all OCPP tests (1.6, 2.0.1, 2.1)
tests/run-tests.sh ocpp16        # OCPP 1.6 only
tests/run-tests.sh ocpp201       # OCPP 2.0.1 only
tests/run-tests.sh ocpp21        # OCPP 2.1 only
tests/run-tests.sh --serial ocpp # run serially
tests/run-tests.sh -j4 ocpp     # limit to 4 parallel workers
tests/run-tests.sh --help        # show all options

Tests run in parallel by default. The time depends on your system; it usually takes a couple of minutes. Check the generated report.html for detailed results.

You can also run individual test sets or test cases using

python3 -m pytest test_sets/ocpp201/remote_control.py::test_F01_F02_F03

This runs test case test_F01_F02_F03 specified in test_sets/ocpp201/remote_control.py.

If you run the test cases individually, make sure to have all required certificates and configs for the test cases installed using the convenience scripts inside test_sets/everest-aux

./install_certs <path-to-EVerest-installation-directory>
./install_configs <path-to-EVerest-installation-directory>