摘要
软件测试是保证软件质量的重要手段,尤其是自动化测试可以提高测试效率,降低成本。测试用例的自动获取尤其是黑盒测试用例的自动生成是软件测试的关键和难点。在借助边界值和等价划分等数学原理得到的典型值的基础上,结合自定义的树型模型设计了全面覆盖算法和快速搜索有效用例算法两种面向不同方面的算法。并通过在假设的模型下运用两种算法进行测试数据的生成与测试结果的对比。测试结果表明两种算法各有其自身的优势,有可适用的测试场合、轮次。
Software test is an important artifice to assure the quality of software, especially test case automatic generation could improve test efficiency and reduce costs. It is sticking and difficult points to automatically generate test cases, especially black- testing cases automatic generation. Presents two methods for black- testing case automatic generation, which are based on the tree model designed, and on the typical data which are gained through the mathematies theories, such as boundary data selection, equivalent compartmentalizing and so on. It also compares the test sequent which is got frown the two methods based on the given model. Test results indicate each of the two methods has its own advantage, and has its own test scene and test turns.
出处
《计算机技术与发展》
2009年第2期77-80,共4页
Computer Technology and Development
基金
吉林省科技发展计划重大科技攻关项目(吉科合字:20040305)
关键词
软件测试
黑盒测试
测试用例自动生成
两两组合测试
software testing
black- box testing
test case automatic generation
pair combination testing