DocumentCode
708008
Title
Test Generation from Business Rules
Author
Jensen, Simon Holm ; Thummalapenta, Suresh ; Sinha, Saurabh ; Chandra, Satish
fYear
2015
fDate
13-17 April 2015
Firstpage
1
Lastpage
10
Abstract
Enterprise applications are difficult to test because their intended functionality is either not described precisely enough or described in cumbersome business rules. It takes a lot of effort on the part of a test architect to understand all the business rules and design tests that "cover" them, i.e., exercise all their constituent scenarios. Part of the problem is that it takes a complicated set up sequence to drive an application to a state in which a business rule can even fire. In this paper, we present a business rule modeling language that can be used to capture functional specification of an enterprise system. The language makes it possible to build tool support for rule authoring, so that obvious deficiencies in rules can be detected mechanically. Most importantly, we show how to mechanically generate test sequences--i.e., test steps and test data--needed to exercise these business rules. To this end, we translate the rules into logical formulae and use constraint solving to generate test sequences. One of our contributions is to overcome scalability issues in this process, and we do this by using a novel algorithm for organizing search through the space of candidate sequences to discover covering sequences. Our results on three case studies show the promise of our approach.
Keywords
business data processing; formal specification; program testing; specification languages; business rule modeling language; candidate sequence; constraint solving; covering sequence; design test; enterprise system; functional specification; logical formulae; rule authoring; test architect; test generation; test sequence; Algorithm design and analysis; Business; Context; Databases; Syntactics; Systematics; Testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Testing, Verification and Validation (ICST), 2015 IEEE 8th International Conference on
Conference_Location
Graz
Type
conf
DOI
10.1109/ICST.2015.7102608
Filename
7102608
Link To Document