DocumentCode :
685511
Title :
Automating Inference of OCL Business Rules from User Scenarios
Author :
Duc-Hanh Dang ; Cabot, Jordi
Author_Institution :
AtlanMod, Ecole des Mines de Nantes-INRIA, Nantes, France
Volume :
1
fYear :
2013
fDate :
2-5 Dec. 2013
Firstpage :
156
Lastpage :
163
Abstract :
User Scenarios have been advocated as an effective means to capture requirements by describing the system-to-be at the instance or example level. This instance-level information is then used to infer a possible software specification consistent with the provided valid and invalid scenarios. So far existing approaches have often focused on the generation of static models but have omitted the inference of business rules that could complement the static models and improve the precision of the software specification. In this sense this paper provides a first set of invariant inference patterns that are applied on valid and invalid snapshots in order to generate OCL~(Object Constraint Language) integrity constraints that the system should always satisfy. We strengthen the confidence of inferred results based on the user´s feedback of generated examples and counterexamples for the considered constraint. The approach is realized with a prolog-based tool that could support the designer to effectively define OCL integrity constraints in a semi-automatic way.
Keywords :
PROLOG; business data processing; formal specification; OCL business rules; OCL integrity constraints; Prolog-based tool; inference automation; instance-level information; invariant inference patterns; object constraint language; software specification; static model generation; user scenarios; Context; Context modeling; Inference algorithms; Pattern matching; Remuneration; Software; Business Rules; Invariants; OCL; Patterns; Prolog; Snapshots; User Scenarios;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering Conference (APSEC), 2013 20th Asia-Pacific
Conference_Location :
Bangkok
ISSN :
1530-1362
Print_ISBN :
978-1-4799-2143-0
Type :
conf
DOI :
10.1109/APSEC.2013.31
Filename :
6805402
Link To Document :
بازگشت