Professional Documents
Culture Documents
Automatic Validation
of Diagnostic Services
For the first time, a fully automated test case generator has been introduced in diagnostics vali-
dation at General Motors Europe (GME) Development. This article by GME and Vector Informatik
describes the introduction of this automated testing of diagnostic implementations based on the
example of the new Opel Insignia. Integrating the Vector Informatik tool into the existing tool
environment resulted in improvements in the fields of economy, time and processes when com-
pared to conventional, manual validation at the Opel Corsa.
Dipl.-Ing. (BA)
Christoph Rätz
is global product line
manager for the
Vehicle Diagnostics
product line division
at Vector Informatik
GmbH in Stuttgart
(Germany).
Specification is described below. The Table: Execution times and number of generated test cases for ECUs in the Opel Insignia
quality and number of generated test
cases depend in large part on the com- Insignia Generated Execution Time
pleteness of the machine-readable diag- ECU Test Cases (w/o User Interaction for DTC Checking)
nostic specification (CDD file). All gener- Instrument Cluster 1700 13:25 min
ated tests are derived from it.
Climate Control 3350 39:10 min
A total of about 350 test sequences are
defined in the GM Diagnostic Specifica- Airbag 4630 1:19:32 min
tion. The test sequences cover both good
Mobile Phone 1120 11:05 min
case and bad case tests. A large share (ap-
proximately 80 %) of the test procedures
are covered by fully automated tests in
“DiVa”. An application-specific user in-
put is required for 45 (15 %) of the test Corsa was selected as a reference project. Corsa. In the studied case, 3- to 5-fold im-
procedures defined in the GM Diagnostic In contrast, on the new Opel Insignia, provement was attained (see Figure 6). In
Specification. In such cases, “DiVa” paus- “DiVa” was being used as the primary particular, the time savings was enor-
es test execution and asks the user to put tool for validation of diagnostic services. mous for ECUs with a large number of
the ECU in the required state. The re- It was used to automate a large share of diagnostic services. If one considers later
maining 5 % of test procedures are not validation tests for the first time. For development phases such as SWR 6 or
supported by “DiVa” and must be tested comparison purposes, the study evaluat- SWR 7, the time needed for evaluating
either manually or by other means. This ed the time required for test execution test results is reduced even further. This
includes tests that would put the rest of and evaluation in the validation phase, can be traced back to the smaller number
the test procedure at risk (like generating based on representative ECUs. The values of failed test cases in the more mature
EEPROM errors and detect them) or given are based on implementation level implementation. This trend continues in
would cause long-term changes to the SWR 5, Figure 3. Most services have al- each new phase up to the production
ECU (like an ECU without calibration ready been implemented at that point, launch. The production ready ECU must
data). Testing depth is further enhanced and a large number of failed test cases not exhibit any defects; consequently,
by including execution of additional had already been captured. Figure 6 the evaluation time is equal to the execu-
non-GM-specific test cases. shows validation effort in hours for man- tion time. In this stage of Opel Insignia
Comparisons made at GME between ual testing on the Opel Corsa and auto- development, depending on the com-
validation for the Opel Corsa and for the mated testing on the Opel Insignia. plexity of the ECU, efficiency might be
Insignia conclude that “DiVa” shortens By using “DiVa”, execution and evalu- increased by a factor of 20 to 40.
test execution time enormously by pre- ation times were shortened considerably The cost of the new solution is low,
dominantly automated execution of all on the Opel Insignia compared to the since all that is needed are licenses for
generated test cases, Figure 6. The table
shows a summary of execution times
and the number of generated test cases
for ECUs in the Opel Insignia. Often,
manual tests can only be performed spo-
radically due to time demands. There-
fore, test results largely depend on the
experience of the test engineer and the
amount of time available. At GME, “DiVa”
enables both complete testing of ECUs
per diagnostic specifications and greater
test coverage in all development stages.
9 Summary