基于模型驱动的Web应用自动化测试平台设计与应用
2022,30(5):30-36
摘要:为了提高Web应用的测试效率和测试覆盖率,保证Web应用软件的质量,设计了基于模型驱动的Web应用自动化测试平台。该平台结合了基于UML模型的测试用例生成、基于关键字驱动思想的框架设计和复杂多层的自动化测试框架,实现了测试用例自动设计生成及测试自动化执行,增加了测试脚本的复用性,显著提高了测试效率和测试覆盖率。最后,给出应用实例,并与现有的测试方法和平台进行对比,突出本平台的可行性和应用价值。
关键词:自动化测试;模型驱动;测试用例;关键字驱动;Web应用
Design and application of model-driven Automatic Test platform for Web applications
Abstract:In order to improve the test efficiency and test coverage of Web application and ensure the quality of Web application software, an automatic test platform for Web application based on model driven is designed. The platform combines the test case generation based on UML model, the framework design based on keyword-driven idea and the complex multi-layer automated testing framework, realizes the automatic design and generation of test cases and the automatic execution of tests, increases the reusability of test scripts, and significantly improves test efficiency and test coverage. Finally, an application example is given and compared with the existing test methods and platforms to highlight the feasibility and application value of the platform.
Key words:Auto-testing; Model-driven; Test case; Keyword-driven; Web application
收稿日期:2021-10-26
基金项目:国防基础科研计划重点项目(JCKY2016212B004),国家自然科学基金青年(61903348),中国工程物理研究院军民融合(HT2004-02-KY127-009)。
