Test & Measurement
Unit testing incorporating hardware
The latest version of Tessy, the tool for automated module/unit/integration testing of embedded software, now enables to incorporate hardware in unit and integration testing.
The hardware under test either can be the on-chip peripherals of a microcontroller or hardware external to the microcontroller. This enables a so-called hardware-in-the-loop test for unit and integration testing. Such a test makes especially sense if the microcontroller is implemented as soft core in a FPGA, because in this case the on-chip peripherals actually are not hardware, but software, which might change during the course of the development and therefore needs repetitive testing. To accomplish such tests, special test hardware and software is used, which needs to be adapted to the test object in question.
The features of the test hardware, e.g. which signals are available and which of them are input respective output for the test object, are specified to Tessy using a configuration file in XML format. These specifications are specific to the test object and are provided by the user.