期刊文献+

一种基于规则提取的自动化测试用例生成方法 被引量:2

An Effective Algorithm for Automated Test Suite Generation Based on ANN(Artificial Neural Netwrok) Rule-Extraction
下载PDF
导出
摘要 软件测试过程中,缩小测试用例集的规模,通常需要根据经验进行分析,找出输入输出间的非映射关系,这往往要耗费过多的测试资源。而人工神经网络在此问题的处理上有其特有的优势。因此文章提出了一种改进的规则提取方法,用于生成测试用例。通过构建神经网络模型,建立输入/输出之间的非线性映射关系,接着根据连接的权值,裁剪网络,去除与特定输出无关的输入属性。然后,在规则提取阶段仅保留两个与该输出最为相关的输入,并由此提取出IF-THEN规则,生成测试用例。文章完成了改进后规则提取算法各阶段的自动化,显著降低了在测试用例设计环节上的开销。最后,通过程序验证了该方法的有效性。 Sections 1 and 2 of the full paper explain the algorithm mentioned in the title,which we believe is more effective than previous ones.Their core consists of:"Test suite minimization usually needs analyzing the nonlinear relationships between input and output,which is an expensive,tedious and error-prone process in software testing.ANN has its unique advantages on these issues.We propose an approach that uses an improved ANN rule extraction method to generate test cases.For the specified output,this algortthm removes less significant inputs according to their weight magnitudes.There will be only at most two inputs according to their specified output.Then,we extract IF-THEN rules from a pruned ANN,which can be used to generate test cases.And all these pruning phase and rule extraction phase can be automated."Section 3 uses a small program to prove its validity;after analysis,section 3 presents the results in Table 2,thus showing that our algorithm reduces indeed considerably test domain analysis.
出处 《西北工业大学学报》 EI CAS CSCD 北大核心 2012年第2期296-300,共5页 Journal of Northwestern Polytechnical University
基金 西北工业大学2011届本科毕业设计重点支持项目资助
关键词 自动化测试 测试用例生成 人工神经网络(ANN) 规则提取 algorithms analysis artificial intelligence computer software decision making efficiency evaluation experiments feature extraction flowcharting models neural networks nonlinear systems sofeware engineering ariticial neural network(ANN) automated testing rule-extraction test suite generation
  • 相关文献

参考文献1

二级参考文献34

  • 1Quinlan J R. Comparing connectionist and symbolic learning methods. In Computational Learning Theory and Natural Learning Systems, Rivest R L (Ed.), Vol.1,Cambridge, MA, MIT Press, 1994, pp.445-456.
  • 2Chalup S, Hayward R, Diederich J. Rule extraction from artificial neural networks trained on elementary number classification tasks. In Proc. the 9th Australian Conference on Neural Networks, Brisbane, Australia, 1998,pp.265-270.
  • 3Maire F. Rule-extraction by backpropagation of polyhedra. Neural Networks, 1999, 12(4-5): 717-725.
  • 4Bologna G. Rule extraction from a multi layer perceptron with staircase activation functions. In Proc. the IEEE-INNS-ENNS International Joint Conference on Neural Networks, Como, Italy, 2000, 3: 419-424.
  • 5Vahed A, Omlin C W. Rule extraction from recurrent neural networks using a symbolic machine learning algorithm. In Proc. the 6th International Conference on Neural Information Processing, Dunedin, New Zealand,1999, pp.712-717.
  • 6Golea M. On the complexity of rule extraction from neural networks and network querying. In Proc. theAISB'96 Workshop on Rule Eztraction from TrainedNeural Networks, Brighton, UK, 1996, pp.51-59.
  • 7Roy A. On connectionism, rule extraction, and brainlike learning. IEEE Trans. Fuzzy Systems, 2000, 8(2):222-227.
  • 8Duch W, Adamczak R, Grabczewski K. A new methodology of extraction, optimization and application of crisp and fuzzy logical rules. IEEE Trans. Neural Networks, 2001, 12(2): 277-306.
  • 9Zhou Z H, Jiang Y, Chen S F, Extracting symbolic rules from trained neural network ensembles. AI Communications, 2003, 16(1): 3-15.
  • 10Towell G, Shavlilk J. The extraction of refined rules from knowledge based neural networks. Machine Learning,1993, 13(1): 71-101.

共引文献13

同被引文献17

引证文献2

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部