Abstract:
Software test is an important way to improve software quality assurance. Automatic test data generation is an important composition of test automation. This paper introduces a technique of automatic test data generation based on regular expressions. The data generated by this kind of techniques are random, can be controlled, can be defined, meaningful, error-free, and other characteristics. especially large object/special types are supported in this technique. It can solve the problem in automatic test data generation and has better expansibility.
Key words:
software test,
regular expressions,
automatic test data generation
摘要: 软件测试是提高软件可靠性、保证软件质量的重要手段。数据自动生成是测试自动化的重要组成部分。提出一种基于正则表达式的测试数据自动生成技术,生成的数据应该具有随机性、可控制、可定义、有意义、无错误等特性,特别是对大字段/专有类型等特殊类型的支持,可以解决目前测试数据自动生成存在的问题,具有良好的扩展性。
关键词:
软件测试,
正则表达式,
测试数据自动生成
CLC Number:
DONG Min; BI Sheng; QI De-yu. Automatic Test Data Generation Technology Based on Regular Expressions[J]. Computer Engineering, 2009, 35(16): 29-31.
董 敏;毕 盛;齐德昱. 基于正则表达式的测试数据自动生成技术[J]. 计算机工程, 2009, 35(16): 29-31.