On extracting tests from a testable model in the context of domain engineering
Software testing is the traditional way to verify the functionality of a given software system against its requirements. In domain engineering, these requirements consist of variabilities and commonalities observed in a domain and captured in a domain model . We remark that the latter may be used to obtain an elaborate design; however tests cannot be derived from it. This observation proceeds from the fact that testing techniques relevant to single-system engineering cannot deal with the variability intrinsic to a domain. Therefore, in the context of domain engineering, we claim that there is a need for a new modeling approach enabling domain testing. We have proposed elsewhere [1, 3, 4] a testable  domain model (based on the domain requirements) that takes the form of generative contracts. In this paper, we present a test extraction technique applicable to this testable model. This technique generates tests for validating behavioural aspects of an implemented member of the domain against that member's requirements. That is, upon selecting a specific member to test, the variability of domain tests is eliminated, resulting in member-specific tests, which are to be bound to artefacts of that member's corresponding implementation in order to obtain executable tests for this member. A case study on a domain-specific testable model will illustrate the steps of our proposed test extraction technique.
|Keywords||Contracts, Domain engineering, Generative models, Software modeling, Software testing|
|Conference||13th IEEE International Conference on the Engineering of Complex Computer Systems, ICECCS 2008|
Bashardoust-Tajali, S. (Soheila), & Corriveau, J. (2008). On extracting tests from a testable model in the context of domain engineering. Presented at the 13th IEEE International Conference on the Engineering of Complex Computer Systems, ICECCS 2008. doi:10.1109/ICECCS.2008.17