# Modelling of Autosar Libraries for Large Scale Testing

**Authors:** Wojciech Mostowski (Halmstad University, Sweden), Thomas Arts (Quviq, AB, Sweden), John Hughes (Chalmers University of Technology, Quviq AB,, Sweden)

arXiv: 1703.06574 · 2017-03-21

## TL;DR

This paper presents a model-based testing approach using QuickCheck for large-scale automotive software libraries, demonstrating precise specifications and automated testing for Autosar-compliant systems.

## Contribution

It introduces a formal, state-full modeling method for testing Autosar libraries with QuickCheck, showcasing its application in industrial automotive software testing.

## Key findings

- Successfully tested large parts of automotive libraries
- Demonstrated precise, formal specifications for API and external interactions
- Validated the effectiveness of model-based testing in automotive context

## Abstract

We demonstrate a specific method and technology for model-based testing of large software projects with the QuickCheck tool using property-based specifications. Our specifications are very precise, state-full models of the software under test (SUT). In our approach we define (a) formal descriptions of valid function call sequences (public API), (b) postconditions that check the validity of each call, and (c) call-out specifications that define and validate external system interactions (SUT calling external API). The QuickCheck tool automatically generates and executes tests from these specifications. Commercially, this method and tool have been used to test large parts of the industrially developed automotive libraries based on the Autosar standard. In this paper, we exemplify our approach with a circular buffer specified by Autosar, to demonstrate the capabilities of the model-based testing method of QuickCheck. Our example is small compared to the commercial QuickCheck models, but faithfully addresses many of the same challenges.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1703.06574/full.md

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/1703.06574/full.md

## References

12 references — full list in the complete paper: https://tomesphere.com/paper/1703.06574/full.md

---
Source: https://tomesphere.com/paper/1703.06574