The present invention provides a method and system to verify the test results of a computer software, the method includes: storing test element attribute information; and generating and storing verification points of content information; and generating and storing the test object description document; extracting test object description elements in the document attributes and element attribute values, and generate the set of information verification points; to obtain the corresponding verification points of content information; access testing system, access to the object to be tested before the execution of test data and object test after the implementation of the data to be tested; according to the actual test results of test data, before executing the test execution after the data and the verification method of the verification of content information generated object information; the actual test the information and the expected results are matched to generate verification result information; information output results. In order to solve the problem that computer software test results verify that the points can be reused in a number of test cases, and to achieve full coverage of computer software test results, verify the point combination.
【技术实现步骤摘要】
本专利技术关于计算机软件测试领域,具体的讲是一种计算机软件测试结果的验证方 法及系统。
技术介绍
软件产品的测试是指在不同的阶段和粒度,从不同的角度和业务要求编写并执 行测试案例,然后根据测试案例执行的结果,评价软件产品的可用性、易用性、安全性等方 面是否满足需求。其中的测试结果验证功能,直接关系到软件产品的评价与交付,具有很重 要的意义。在现有技术中,软件测试理论、测试方法乃至自动化测试实践,在测试结果的验证 方面都具有较多的不足,具体表现为(一 )缺少对测试结果是否满足预期要求的通用的验证功能,由于没有可以通用 的测试结果验证方法,需要在各个案例中重复编写验证判断算法,缺少批量集中执行的功 能,无法提高软件产品测试效率。( 二)逐个在案例脚本中编写测试结果的验证方法,导致测试结果验证的覆盖率 较低,使得测试验证点有遗漏而导致软件缺陷的产生。
技术实现思路
本专利技术实施例提供了一种计算机软件测试结果的验证方法及系统,以解决计算机 软件测试结果验证点可在多个测试案例中重复使用的问题,并实现全覆盖的计算机软件测 试结果验证点组合。本专利技术的目的之一是,提供一种计算 ...
【技术保护点】
1.一种计算机软件测试结果的验证方法,其特征是,所述的方法包括:存储待测业务领域中具有重复使用意义的包含元素属性名、元素属性取值和取值类型的测试元素属性信息;根据所述的测试元素属性信息生成包含验证点名、元素属性名、验证点类型、测试执行前操作、测试执行后操作、验证方法和预期结果的验证点内容信息,并存储所述的验证点内容信息;接受用户提交的包含待测功能名、测试元素名、元素属性名的测试对象描述文档,并存储所述的测试对象描述文档;提取用户选定的测试对象描述文档中的元素属性和元素属性取值,并根据排列组合算法生成所述测试对象描述文档所有的包含测试数据和验证点名的验证点集合信息;根据所述验 ...
【技术特征摘要】
【专利技术属性】
技术研发人员:陈肇权,李英昌,夏曦,曾剑辉,
申请(专利权)人:中国工商银行股份有限公司,
类型:发明
国别省市:11
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。