2014
DOI: 10.1007/978-3-642-54804-8_27
|View full text |Cite
|
Sign up to set email alerts
|

An Expressive Semantics of Mocking

Abstract: Abstract. We present a semantics of mocking, based on a process calculuslike formalism, and an associated mocking framework. We can build expressive mocking specifications from a small, orthogonal set of operators. Our framework detects and rejects ambiguous specifications as a validation measure. We report our experience testing software components for the car industry, which needed the full power of our framework.

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
9
0

Year Published

2014
2014
2022
2022

Publication Types

Select...
2
2
2

Relationship

3
3

Authors

Journals

citations
Cited by 8 publications
(9 citation statements)
references
References 5 publications
0
9
0
Order By: Relevance
“…1 Namely, apart from simple checking of operation results for particular values also call-out specifications can be given. These specifications are given in a process algebra-like language [5] and describe the calls to other parts/ operations of the SUT that the operation is allowed or required to make. The tracing of such calls during testing to check against call-out specifications is done by mocking the calls in question following the gray-box testing philosophy, see Sect.…”
Section: Quickcheckmentioning
confidence: 99%
See 1 more Smart Citation
“…1 Namely, apart from simple checking of operation results for particular values also call-out specifications can be given. These specifications are given in a process algebra-like language [5] and describe the calls to other parts/ operations of the SUT that the operation is allowed or required to make. The tracing of such calls during testing to check against call-out specifications is done by mocking the calls in question following the gray-box testing philosophy, see Sect.…”
Section: Quickcheckmentioning
confidence: 99%
“…In an earlier paper [1], using a small but complete case study from an automotive domain, we have described the method and challenges in model-Email address: wojciech.mostowski@hh.se (Wojciech Mostowski) c 2018, This manuscript version is made available under the CC-BY-NC-ND 4.0 license http://creativecommons.org/licenses/by-nc-nd/4.0/ ing, the mocking mechanism [5], controllable data generators, and, for our project case studies in the automotive domain, the C programming language integration. For the purpose of the presentation, we use a simple coffee machine example.…”
Section: Introductionmentioning
confidence: 99%
“…There was far more to the Volvo project than could be described here. We needed to develop a property-based approach to mocking (Svenningsson, Svensson, Smallbone, Arts, Norell, and Hughes, 2014). We needed to develop ways to cluster models of individual components into an integrated model of a subsystem, because AUTOSAR subsystems are typically implemented monolithically, but specified as a collection of interacting components.…”
Section: In Conclusionmentioning
confidence: 99%
“…An AUTO-SAR module often depends on and makes calls to other AUTOSAR modules. These external modules are mocked [14]; the models include a specification of which (mocked) calls to other modules are to be expected, and what results they should return. In addition to testing a model on its own, it is also possible to combine models together in a cluster.…”
Section: Case Study: Autosar Unit Testsmentioning
confidence: 99%