Testing on the host platform enables functional testing without consideration for hardware timing or constraints. Often this is performed prior to target hardware availability. In some development environments, simulators extend this capability by giving software team “virtual” targets and simulated connected peripherals to provide a jumpstart on verification activities early in the development cycle. Ideally, and in most certification environments, the same tests executed on the host must also be executed on the target hardware to ensure proper functional testing. Rather than writing your own code for test harnesses, vectors, and stubs (and then having to manage all of those both on the host platform, with simulators, and on the target), automated unit testing and target testing tools can save you time and headaches by doing all this for you.
See Which Tools Are Right For You? for help choosing your customised tool suite.
Unit/Integration & Target Testing Tools from LDRA
- TBrun provides automated unit test and system integration testing capabilities
- LDRAunit is a stand-alone tool that provides a complete integrated environment for automated unit test generation and management, without requiring investment in a complete tool chain
- TBextreme (an optional module for either TBrun or LDRAunit) revolutionises unit testing by providing a totally automated solution for test vector generation
LDRA lets you perform unit and integration tests on the host and target hardware
With LDRA, you can quickly and easily generate and execute tests at the unit and integration levels, both on the host (standalone or with target simulation) as well as on the target hardware. We provide test generation (test harness, test vectors, code stubs) and result-capture support for a wide range of host and target platforms. Our optimised instrumentation technology lets you pull test information even off highly constrained 8- and 16-bit microcontrollers, and through high-performance 32- and 64-bit processors.
With that range of support, your team has a common unit testing and integration testing environment for multiple projects with different target platforms.