摘要
当前在Python Web开发中,多使用第三方开源框架进行快速开发,为提高Web框架的自动化测试效率,对Django框架的自动化测试进行了分析和设计,使用Python和RobotFramework设计开发了Django框架自动化测试关键字库DjangoRFLibrary.在Django框架自动化测试中,有效地锁定代码缺陷的覆盖范围,更具灵活性.未来将继续设计Django API接口测试关键字库,实现Web GUI功能和Web API前后端的全面测试,并通过Jenkins进行集成自动化测试.
At present,in the Python Web development,the third-party open source framework is used for rapid development.To improve the efficiency of the automated testing of the Web framework,this article uses Robotframework to develop an automated testing framework for the Python Web framework Django.The main content includes designing the custom keyword library for the Django framework,and using it to perform GUI function testing and ORM reading and writing tests on the Django framework.
作者
康彦
KANG Yan(School of Information Technology,Anhui Vocational College of City Management,Hefei 340011,China)
出处
《湖南工程学院学报(自然科学版)》
2019年第1期41-44,共4页
Journal of Hunan Institute of Engineering(Natural Science Edition)
基金
安徽高校自然科学研究重点项目(KJ2018A0857)