A Framework of Business Rule Extraction from Historic Testing Cases

Business rules could be used to guide the composition of testing cases. However it is difficult for companies to represent or gain their business rules merely depending upon domain experts. Meanwhile, historic testing cases accumulated during previous testing projects provide valuable materials for digging business rules. In this paper, a framework is proposed to extract business rules automatically from historic testing cases to help testing engineers to write new testcases. Firstly, keywords are extracted from historic testing cases based on frequency and freedom of acquired attribute-value pairs. Then, testing cases will be clustered based on semantic similarity of the extracted keywords. Business rules will be discovered and represented by attribute-value pairs. Finally, a case study is demonstrated to verify the validity of the framework.

[1]  Arie van Deursen,et al.  Extracting feature model changes from the Linux kernel using FMDiff , 2014, VaMoS '14.

[2]  Yuanyuan Zhang,et al.  Search based software engineering for software product line engineering: a survey and directions for future work , 2014, SPLC.

[3]  Li Yu,et al.  Context Enhanced Keyword Extraction for Sparse Geo-Entity Relation from Web Texts , 2016, APWeb Workshops.

[4]  Udo Kelter,et al.  Reasoning about product-line evolution using complex feature model differences , 2016, Automated Software Engineering.

[5]  Mitsuru Ishizuka,et al.  Keyword extraction from a single document using word co-occurrence statistical information , 2004, Int. J. Artif. Intell. Tools.

[6]  Brian Lott,et al.  Survey of Keyword Extraction Techniques , 2012 .

[7]  Christian Wartena,et al.  Keyword Extraction Using Word Co-occurrence , 2010, 2010 Workshops on Database and Expert Systems Applications.

[8]  Michael Isard,et al.  Total Recall: Automatic Query Expansion with a Generative Feature Model for Object Retrieval , 2007, 2007 IEEE 11th International Conference on Computer Vision.

[9]  Yukio Ohsawa,et al.  KeyGraph: automatic indexing by co-occurrence graph based on building construction metaphor , 1998, Proceedings IEEE International Forum on Research and Technology Advances in Digital Libraries -ADL'98-.

[10]  Gregory Tassey,et al.  Prepared for what , 2007 .

[11]  Sergio Segura,et al.  Automated analysis of feature models 20 years later: A literature review , 2010, Inf. Syst..