In this thesis we provide a unit testing approach for multi-purposes object-oriented programming languages in the style of Java and C#. Our approach includes the definition of a test specification language which results from extending the programming language with new designated specification constructs. This way, the software developer does not need to learn a completely new language. At the same time, adding new constructs allows to increase the abstraction of the language regarding the specification of interaction-based tests. In order to execute a specified test, programming language code is automatically generated from a test specification. Our testing approach is presented in terms of a formal framework. On the one hand, this enables us to identify and analyze the requirements on the design of the specification language in a formal way. On the other hand, on the formal basis we can, likewise, give a formal definition of the code generation algorithm which, in turn, allows us to formally prove its correctness. Finally, we provide a correctness proof regarding the code generation algorithm

,
Universiteit Leiden
F.S. de Boer (Frank)
hdl.handle.net/1887/16243
Computer Security

Grüner, A. (2015, December 10). Testing Object Interaction. Retrieved from http://hdl.handle.net/1887/16243