Using constraints in teaching software modeling
MODELS'11 Proceedings of the 2011th international conference on Models in Software Engineering
Experiences using OCL for business rules on financial messaging
Proceedings of the 12th Workshop on OCL and Textual Modelling
Hi-index | 0.00 |
Detailed and unequivocal model specifications are a prerequisite for attaining the automated software development goal as promoted by the Model Driven Engineering paradigm. The use of Design by Contract assists in creating such model specifications. However, writing from scratch a large amount of assertions can be tedious, time-consuming, and error-prone. Consequently, a number of constraint patterns have been identified in the literature, and corresponding OCL specifications have been proposed. Automating their use in tools should speed the writing task and increase its correctness. Yet, no attention has been paid to the influence of such specifications on the testing process. We approach this area by proposing new OCL specification patterns for some of the existing constraint patterns. Our proposal should increase the efficiency while testing/debugging models and applications. Relevant examples and tool-support are used in order to explain and validate our approach.