Skip to main navigation Skip to search Skip to main content

Exploring Advanced Test Case Generation for Automotive Applications

  • Luis Reitinger

    Student thesis: Master's Thesis

    Abstract

    Automotive sensors must be configurable to meet the individual needs of customers. This
    configurability is provided by the firmware. By executing specific firmware commands,
    the customers can alter the behaviour of the sensor according to their requirements. To
    ensure the functionality and quality of the firmware, it must be tested and verified.
    In previous work, a Test Case Generator has been introduced that employs model
    based testing to pseudo-randomly generate test cases for firmware systems based on
    finite state machines. While this tool already addresses key challenges such as the
    derivation and creation of test cases, several limitations remain. These include only
    basic test evaluation, a coverage output that is neither machine-readable nor persistent,
    the absence of negative testing, only fixed parameterization of firmware functions, and
    increased debugging effort for larger test cases.
    This thesis addresses these limitations by developing an extended approach to the
    Test Case Generator. The new approach introduces state checks and invariants checks
    after each function call, enabling earlier and more precise fault localization. Support for
    initial, pre-, and post-scripts allows custom inserts to be integrated into the generated test
    cases. The coverage concept is extended. Coverage can be stored in a machine-readable
    JSON format and aggregated across multiple test runs. Based on the aggregated coverage,
    a coverage-directed generation mode targets remaining coverage holes automatically. In
    addition, negative testing and randomized parameterization are introduced. This allows
    a wider range of firmware behaviour to be tested and increases the number of detectable
    inconsistencies. To simplify debugging, a human-readable CSV sequence is generated
    alongside each executable test case.
    The evaluation shows that all defined requirements are fulfilled and that the new ap
    proach is able to detect a wider range of inconsistencies between the firmware specification
    and its implementation compared to the original approach.
    Date of Award2026
    Original languageEnglish (American)
    Awarding Institution
    • FH OÖ
    SupervisorMarkus Pfaff (Supervisor)

    Studyprogram

    • Embedded Systems Design

    Cite this

    '