Component Testing for C

When speaking of C programs, the term "component testing" - also sometimes referred to as "unit testing" - applies to the testing of functions. A function is passed a possible set of inputs, and the output for each set is validated to ensure accuracy. This can be done with either a single function, a group of unrelated functions, or with a sequential group of functions - i.e. one function calling another, verifying the overall or integrated, result.

Sounds simple but, unfortunately, in the embedded world its practice can be quite difficult. Why?

The component testing feature of HCL OneTest Embedded for the C language provides a means for automating and verifying the above concerns. Through source code analysis:

Plus, thanks to a powerful test script API:

With the assistance of the Target Deployment technology, the end result is an extensible, flexible, automated testing tool for component and integration testing.