ISO-15765: Project Structure and Integration Test Coverage

This document describes the project structure for ISO-15765 (ISO-TP) tests and the current integration test coverage. It highlights what is implemented and verified, and where there are gaps in implementation or tests.

Project Structure (Relevant to ISO-TP and Tests)

Implemented and Verified by Integration Tests

The following areas are implemented in the core and covered by integration tests:

Implementation Gaps (Explicitly Identified)

Integration Test Gaps (Areas to Expand)

Based on current integration tests, there is no visible coverage for:

  • isotp_send_with_id (functional addressing) in isotp.h.
  • tx_done_cb and rx_done_cb callbacks (when enabled in config) in isotp.h and inc/isotp_config.h.
  • ISO_TP_FRAME_PADDING (padded frames) in inc/isotp_config.h.
  • ISOTP_RET_NOSPACE scenarios (retry send) in inc/isotp_defines.h.
  • Invalid FlowControl (e.g., invalid FS) and other protocol errors beyond UNEXP_PDU and WRONG_SN in inc/isotp_defines.h.
  • Transfers larger than 4095B (long FF) - no integration tests yet.

Notes

  • Integration tests are executed via Python bindings and CAN/time mocks (see examples/python_api/src).
  • This document only covers integration test coverage. Unit tests may cover additional areas.