Modern automotive solutions are characterized by high-complexity and shortened turn-around time. Add to it the ISO 26262 related safety requirements and you have a herculean task at hand.
Tessy, a Test System built for embedded software development, eases the task by enabling automated testing of the software. Automated Testing takes away the pain of manual testing and ensures that the embedded solution is high on quality and reliability.
Code coverages and other kinds of tests that are required for ISO 26262 compliance can also be performed using Tessy Tool.
At Embitel, the developers deploy Tessy tool for Unit Testing. Some of the automotive applications where we have used Tessy Test System for Unit Testing are:
Tessy is a Test System designed for automated unit and integration testing. Being an ISO 26262 qualified tool, Tessy is ideal for the development of automotive solutions with safety-critical requirements.
It automates the entire Unit Testing cycle and also performs the regression testing. What makes Tessy a sought-after testing tool is also the fact that it supports most leading Microcontroller platforms such as Infineon, TI, Renesas, Microchip and more.
Tessy is a complete Test System that manages unit test workflow right from the project setup including the test design to its execution, analysis and reporting. It also makes life easier for engineers by taking care of traceability and code coverage.
The diagram below, shows the test cycle followed by Tessy:
At the component/unit testing level, Tessy tool works with CTE (Classification Tree Editor) and ITE (Integrated Test Environment) in the design and execution of Test Cases.
Let’s understand the steps in Automated Unit Testing by Tessy Tool:
The C module is parsed by the Tessy tool to identify the C Functions to be tested. Here, the developers can select the functions that they want to test. Once, the functions to be tested are selected, their interfaces are analyzed. This analysis is used to identify the variables and whether they are input, output or both.
The result is displayed in the Test Interface Editor, where it can be modified if required.
Test data is a set of input and output values. The input value is the variable that will be fed to the Function under test and the output value is the expected output received after the test.
The test data is entered to the data base using the Test Data Editor. The test engineers derive the input and output data based on the requirements defined in the early stages of SDLC.
After the test data is determined, the engineers need a test application that will perform the dynamic testing of the C module. And for this, a test driver is required. The test driver will be required to call the Function to be tested and Tessy tool generates this driver. The test driver and the function together, is called a Test Application.
At times, the function under test might use external variables or invoke sub-functions (sub-routines). Tessy testing tool is equipped to manage such a scenario by using Stubs, which are replacement for the sub-routines.
When all these components are ready to roll, Tessy compiles them using the compiler supported by the Microcontroller platform.
Test Applications are written within the Classification Tree Editor (CTE). It is integrated in Tessy tool and its GUI makes it easy to set the input values required to execute the test.
The next step is to run the test application (the one we generated in the previous step) on the MCU or the target hardware, whichever applicable.
Tessy tool executes the test application on the target platform. In the process, the test case along with the input variable is transferred to the target platform and the function is run. The output value is captured by Tessy and matched with the expected value.
The result is evaluated on the tool using color coding.
Green- Expected result was received
Red- Output did not match expected result
Yellow- Test Case not executed or evaluation invalid
Test reports are used as evidence during the process of ISO 26262 compliance and certification. Tessy helps generate the Test Reports with comprehensive details of pass/failure. The code coverage analysis is also reported as it is an important work product for Functional Safety compliance.
Tessy testing tool performs code coverage analysis along the unit testing process. Following code coverage measurements are supported by Tessy Tool:
** MCDC is mandatory for ASIL D compliance. Tessy Tool helps you achieve the required ASIL Value.
Regression Testing is important in scenarios where errors were rectified and needs re-verification or new features have been added to the Function that was tested previously.
Tessy tool supports regression testing by:
Tessy tool has been certified by TUV as a software tool for safety related development. Among other safety standards, Tessy is a qualified tool for ISO 26262 compliant software testing.
Some features of Tessy that qualifies it for ISO 26262 compliance
Tessy comes with a slew of features that make it one of the most widely-used Test System for both Unit and Integration Testing.
We have compiled a few of these value-adds in the context of automotive application development and testing:
Embitel, as a technology partner for several automotive projects, has been deploying Tessy Test System as the primary tool for unit testing.
Following is a snapshot of a case study where we provided Unit Test reports for a BCM solution development project.
Business Challenge
Our Solution
Impact