Unit testing and code coverage measurement for safety-critical applications
Standards for the development of safety-critical systems like IEC 61508, ISO 26262 (automotive), EN 50128 (railway), IEC 62304 (medical) require module respectively unit testing of the software of the (embedded) system. Many standards specify also the coverage measure that shall be determined depending on the safety integrity level of the product.
This webinar from Hitex takes a look on the various standards and what they say about module resp. unit testing and what coverage measures shall be determined, depending on the standard. Then unit testing basics are explained (What is a unit of a C program?) and unit testing is demonstrated using the unit testing tool TESSY in conjunction with the Keil development environment for ARM/Cortex.
Participants learn how unit testing is performed; how a test case looks like and how easy it is to generate a test report. Furthermore code coverage measurement is demonstrated and how easy it is to find out which branch was not executed given 100% branch coverage was not reached.