摘要
在大量软件出现的今天,除开软件的功能是否完善外,对软件本身提出了更高的安全性和稳定性要求;一款软件在上线前需要进行大量的测试,以便提升软件的质量;由于开发人员参与了软件的研发及上线流程,导致了看待软件问题的局限性,而测试人员在编写测试用例时,往往由于依据文档的不一致性,使得测试用例的价值大打折扣;并且在实际软件的开发流程中,测试环节与开发严重脱节;往往只是为了出相应的测试报告而去测试,偏离了测试的初衷;针对以上问题,提出基于模型的用例生成方法,能够基于工作流程图、判定表、状态转换等多种测试方法,并在该方法中应用边界值与等价类的思想,够贯穿整个软件研发的生命周期,在软件研发初期就能够参与测试,提出设计方案的不足;并且能够自动生成测试用例,提高测试人员的效率。
With the emergence of a large number of software,in addition to whether the functions of the software are perfect,higher security and stability requirements are put forward to the software itself.A piece of software needs to be tested a lot before it goes live in order to improve the quality of the software.As developers participate in the software development and online process,it leads to limitations in viewing software issues.When testers write test cases,the value of test cases is often compromised due to the inconsistency of the basis documents.And in the actual software development process,the test link is seriously out of touch with the development.It is often just to test for the corresponding test report,which deviates from the original intention of the test.In response to the above problems,the model-based use case generation method proposed in this article can be based on a variety of test methods such as work flow charts,decision tables,and state transitions,and the idea of boundary values and equivalence classes is applied in this method,which can run through the entire software R&D life cycle,you can participate in testing at the early stage of software R&D,and propose deficiencies in the design plan.And can automatically generate test cases to improve the efficiency of testers.
作者
蒲卿路
王月波
刘涛
孙云
李继秀
PU Qinglu;WANG Yuebo;LIU Tao;SUN Yun;LI Jixiu(Southwest China Institute of Electronic Technology,Chengdu 610036,China)
出处
《计算机测量与控制》
2021年第12期22-26,32,共6页
Computer Measurement &Control
关键词
模型测试
边界值与等价类
工作流
判定表
状态转换图
model testing
boundary value and equivalence class
work flow
decision table
state transition diagram