摘要
测试用例由于关系到测试执行的效率,是自动化测试技术中的关键环节,根据测试需求设计高效的测试用例对提高自动化测试效率起着至关重要的作用。目前大多数的研究多集中在使用UML的一种模型生成测试用例,这种方法可能造成不准确的需求分析。将统一建模语言UML与自动化测试相结合,提出了基于UML用例图和状态图自动生成测试用例的方法,并结合作业提交系统对此方法进行了验证,该方法可以使测试和开发同时进行,尽早发现错误,提高测试效率。
The test case is related to the efficiency of the test execution, so it is the key technology in automatic test. According to the test requirements designing efficient test case, it plays an important role to improve the testing efficiency. At present, most of the studies focused on generating test cases by one model of UML. Use this method may lead to the inaccurate result of test requirements. The unified modeling language UML and the combination of automated testing, this paper proposed a method of test case generation based on UML use case diagram and state diagram. This method has been verified by the Web homework system, and it can make the testing and development at the same time, so we can find the error as soon as possible, and improving the efficiency of testing.
出处
《电子技术(上海)》
2016年第4期52-54,共3页
Electronic Technology