基于Cypress的医疗Web平台自动化测试设计与实现OACSTPCD
Design and Implementation of Automated Testing for Medical Web Platform Based on Cypress
目的 把自动化测试应用于医疗Web平台(以下简称医疗平台),以提高医疗平台测试的效率并保证平台的稳定性.方法 分析Cypress原理及流程,搭建测试框架,并编写测试用例,再结合Cypress自动化测试框架编写测试代码,将自动化测试覆盖医疗平台的各个关键功能模块.结果 根据实际测试验证分析,随着回归测试量增多(回归测试大于3时),自动化测试相较于手动测试,能够显著提高测试效率.使用两项系统功能进行多次手动和自动化对比测试,结果显示,自动化测试速度明显快于手动测试,差异具有统计学意义(P<0.001).结论 基于Cypress框架的医疗平台自动化测试是一种有效的测试方案,可提高医疗平台的测试效率,为医疗平台开发测试提供了可靠的技术参考.
Objective To apply automated testing to medical Web platform(referred to as"medical platform"hereinafter)in order to improve the efficiency of testing and ensure the stability of the medical platform.Methods The principle and process of Cypress were analyzed,the test framework was built,and test cases were written.Then the test code was written in combination with the Cypress automated test framework to cover all key functional modules of the medical platform.Results Based on practical test verification analysis,as the volume of regression testing increased(when regression testing was greater than 3),automated testing could significantly improved test efficiency compared to manual testing.Multiple manual and automated comparative tests were conducted using two system functions,and it was observed that automated testing was significantly faster than manual testing,with a statistically significant difference(P<0.001).Conclusion Automated testing of medical platform based on the Cypress framework is an effective testing solution that can improve the efficiency of testing medical platform and provide reliable technical references for the development and testing of medical platform.
翟承珏;于泓涛;梁振
安徽医科大学 生物医学工程学院,安徽 合肥 230032爱特美德(安徽)智能科技有限公司,安徽 合肥 230032
预防医学
Cypress自动化测试医疗Web平台测试框架
Cypressautomated testingmedical Web platformtesting framework
《中国医疗设备》 2024 (003)
14-19 / 6
2020年度安徽高校自然科学研究项目(KJ2020ZD16);安徽省自然科学基金(K2020200).
评论