Search code examples
functioncaplcanoeautomotive

CAPL Test Functions and Normal Functions in CAPL


I want to know the difference between the "CAPL Test Functions" and normal functions (Like in C or C++) which can be used in CAPL ?? Under which scenario should I use TestFunctions ?? Thanks.


Solution

  • Test functions are mainly used for test nodes which is used for running test cases (defined in an XML file) and provide reports about the results.

    Normal functions can be used in test/simulation/program nodes