Berlin, December 14, 2017 – Razorcat, manufacturer of test tools for the development of embedded software, introduces an innovation for the integrated testing of hardware and software for embedded systems and components: The automated fault injection is a new feature of the successful unit and integration test tool TESSY, version 4.1 or higher. Test cases with fault injections can be generated and managed conveniently and they will be implemented in unit tests, integration tests and component tests automatically without changing the source code – saving time and money.
In practice, whenever the necessary code coverage of 100% cannot be reached with normal test cases, fault injections are applied manually by adding testing code or code replacements using compiler macros, by replacing functions (stubbing) or by changing variable values using debug tools. These methods have the disadvantage that they need to be done either manually or that the instrumentation of the source code remains in place within production code. Another drawback is that most probably the test engineer will be the first to realize the need for a fault injection. If the code needs to be changed, all necessary approvals of software development according to safety standards need to be performed again. Such an iteration highly increases development time and cost.
Automated testing without source code changes
In TESSY 4.1, however, fault injection is automated and does not remain in the source program. The error injections are defined directly in the flow chart of the function within the TESSY environment.
Save, manage and reuse fault injections
Test cases with automated fault injection have a special flag and will be documented within the test report. When all test cases are executed, these special test cases can be included or excluded from the test execution. All fault injections are conveniently stored and managed in TESSY. In this way, fault injections can be assigned to one or more test cases in a user-friendly way and will be effective at the desired location even after source code changes when doing regression testing.
The innovative feature for automated fault injection will be available in the new TESSY version 4.1, which Razorcat will present at embedded world 2018 (Hall 4, both 4-434).