DocumentCode :
2516266
Title :
Testing the Implementation of Business Rules Using Intensional Database Tests
Author :
Willmor, David ; Embury, Suzanne M.
Author_Institution :
Sch. of Comput. Sci., Manchester Univ.
fYear :
2006
fDate :
29-31 Aug. 2006
Firstpage :
115
Lastpage :
126
Abstract :
One of the key roles of any information system is to enforce the business rules and policies set by the owning organisation. As for any important functionality, it is necessary to verify the implementation of any business rule carefully, through thorough testing. However, business rules have some specific features which make testing a particular challenge. They represent a more fine-grained unit of functionality than is usually considered by testing tools (programs, module, UML models, etc.) and their implementations are typically spread across a system (or perhaps some specific layer of a system). There is no convenient one-to-one relationship between programs and business rules that can facilitate their testing. To the best of our knowledge, no tools, methods or guidelines exist for helping software developers to test the implementation of business rules. Standard testing tools can help to a certain extent, but they leave the rule-specific work entirely in the programmer´s hands. In this paper, we discuss the problems of testing business rules, and elicit the key features of a good test suite for a collection of business rules. We focus in particular on constraint business rules - an important class of rule that is commonly applied to the persistent data managed by the information system. We show how intensional database tests provide a suitable platform on which to implement business rule tests rapidly, and show how existing intensional test suites can be automatically adapted to test business rules. We have applied these ideas in a case study, which has allowed us to compare the relative costs of creating and executing these augmented test suites, as well as providing some evidence of their ability to detect faults in business rule implementations
Keywords :
business data processing; database management systems; program testing; constraint business rule implementation testing; intensional database tests; software testing; Automatic testing; Guidelines; Information management; Information systems; Management information systems; Software testing; Software tools; Spatial databases; System testing; Unified modeling language;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Testing: Academic and Industrial Conference - Practice And Research Techniques, 2006. TAIC PART 2006. Proceedings
Conference_Location :
Windsor
Print_ISBN :
0-7695-2672-1
Type :
conf
DOI :
10.1109/TAIC-PART.2006.28
Filename :
1691677
Link To Document :
بازگشت