草榴社区

Testing AUTOSAR Software Components with TPT

Robert Fey

Jan 31, 2021 / 1 min read

The software architecture described by AUTOSAR is a widely-used standard across the globe’s automotive software industry. Functional software is implemented in so-called AUTOSAR software components (SWCs).

Testing AUTOSAR’s SWCs can be done easily with TPT, and is easily automated. What’s more, you can test atomic SWCs, compositions of multiple SWCs and do virtual ECU testing with TPT.

Automatic Generation of Test Harness and Runtime Environment (RTE)

TPT automatically generates the test harness for interfacing, which in turn serves as a test runtime environment (RTE), also generated by TPT.

The interface with TPT is specified using ARXML files (special AUTOSAR XML files). Multiple interfaces are supported, such as:

  • Client/ server ports
  • Sender/ receiver ports
  • Per-instance memory (PIM)
  • Interrunnable variables (IRV)
  • Mode declaration groups
  • Exclusive areas
  • Calibration parameter ports

Testing SWCs Works like Plug and Play

Thanks to the seamless integration of components and testing tool, testing AUTOSAR SWCs with TPT is straightforward.

The integration is done via the generated RTE. This is done either for closed systems or by way of our co-simulation platform (FUSION) for simulating virtual ECUs.

In other words, you can test AUTOSAR SWCs directly with TPT or via plant models for complex and dynamic systems. SWC can also be tested individually, compositions thereof, or integrations of plant models of complex and dynamic systems. Software testing with TPT is virtually plug and play testing (or, as we like to call it: run, test, drive).

Standard AUTOSAR & AUTOSAR Adaptive

草榴社区 is an AUTOSAR Premium Partner AUTOSAR. For testing according to the AUTOSAR standard, we offer special solutions for AUTOSAR SWCs for the latest versions of AUTOSAR 3, AUTOSAR 4, and AUTOSAR Adaptive.

Continue Reading