Back to search

Chalmers University of Technology

Efficient Test Case Generation for AUTOSAR Basic Software Code Generators

Abstract

dc:description.abstract

In the contemporary automotive industry, the complexity of software architectures for electronic control units (ECUs) has increased drastically. Aiming to improve the complexity management of these architectures, a worldwide partnership of car manufacturers and suppliers has created a standardized approach called AUTOSAR (AUTomotive Open System ARchitecture) (AUTOSAR Basics, 2012). At the highest abstraction level, the architecture of AUTOSAR contains three software layers which run on a Microcontroller. These three layers are Application Layer, Runtime Environment (RTE) and Basic Software (BSW) (AUTOSAR Layered software architecture, 2011). The BSW layer is further divided into multiple software modules which provide basic services such as memory management and bus communication (Mecel, 2013). These software modules can be configured to satisfy the needs of the customer. Testing these configurations requires a large amount of effort and time, especially since they are manually generated. This thesis deals with the automatic generation of these test cases, the configurations of the BSW modules. Two test case generation approaches were developed and compared. The first is random generation where elements to be added to the test case are chosen in a random manner. The second is pairwise generation where elements are added to the test case based on satisfying all pairs of element values. The experiments conducted to compare the two generation techniques ran the configurations created for three BSW modules through their SCGs (Source Code Generators) and showed that both techniques have the ability to uncover problems within a SCG. This thesis was conducted as a case study at Mecel AB in Gothenburg.

Degree

thesis:*
Level thesis:degree_level
H
Department dc:contributor.department
Chalmers tekniska högskola / Institutionen för data- och informationsteknik (Chalmers)
Year dc:date.issued
2013

Author and committee

dc:creator, dc:contributor.*
Authors dc:creator
  • Ivan, Daniel
  • Garrigan, Ger

Subjects

dc:subject × 2

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Chalmers University of Technology
Base URL
odr.chalmers.se/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Ivan, Daniel; Garrigan, Ger. Efficient Test Case Generation for AUTOSAR Basic Software Code Generators. H thesis, 2013. https://hdl.handle.net/20.500.12380/217059