• 查询稿件
  • 获取最新论文
  • 知晓行业信息

基于专家系统的测试案例自动分析研究

Automatic analysis of test cases based on expert system

  • 摘要: 文章设计了测试案例自动分析专家系统,通过提取测试案例和测试序列特征,研究了专家系统的核心—规则库和推理机制,实现CTCS-3级列车运行控制系统测试案例的自动分析。同时,提出将测试序列转换为XML脚本,设计测试序列XML脚本的关键标记符,便于计算机自动解析;采用二分搜索算法查找车载数据中测试序列及测试案例的数据段,以此提高专家系统分析效率。结果表明:使用文中描述的结构和方法,可提高测试案例自动分析的效率和准确性。

     

    Abstract: The paper designed an expert system for automatic analysis of test cases, according to the feature of the test cases and the test sequence, researched on the rule base and reasoning mechanism which were the core of expert system, implemented the automatic analysis of test cases for CTCS-3 train control system, proposed to convert the test sequence into XML script and designed the key marker of the XML which was convenient for computer automatic analysis. The binary search algorithm was used to find the data segment of test sequences and test cases in vehicle data, improve the efficiency of analysis of the expert system. The results showed that the efficiency and accuracy of automatic analysis of test cases could be improved.

     

/

返回文章
返回