基于Spring的API自动化测试系统的设计与实现  被引量:1

Design and Implementation of API Automation Testing System Based on Spring

在线阅读下载全文

作  者:陈茉莉[1,2] 张会林[1,2] 刘波[3] 张洋洋[1,2] 

机构地区:[1]上海理工大学光电信息与计算机工程学院,上海200093 [2]上海市现代光学系统重点实验室,上海200093 [3]邵阳学院电气系,湖南邵阳422002

出  处:《通信电源技术》2015年第5期93-95,共3页Telecom Power Technology

摘  要:随着移动APP数据量的指数级增长,用户对软件质量的要求越来越高,软件测试的重要性日益突出。在目前的大环境中,测试主要还是靠手工来完成。手工测试不可避免地会带来很多偏差。因此,API测试的自动化,能有效地提高测试效率。文中开发了基于Spring的API自动化测试系统。这个系统专门用于API的测试,主要采用了Spring的框架,利用Spring的IOC将代码简化,采用分层设计的思想,运用Spring的DAO模式将业务逻辑和数据分层,结合TestNG测试框架,将测试用例和测试代码分离。With the exponential growth of mobile APP data,the user is more and more high to the software quality re-quest,the importance of the software tests is prominent day by day.In the current environment,the testing is still primari-ly relied on manual to complete.The manual tests inevitably will bring a lot of deviation.Therefore,using automation to test the API,will effectively improve the efficiency of testers.This article has developed API automation test system based on the Spring.This system is specially applied in the API test.It mainly used the Spring frame,simplified the code by the IOC of Spring,using the thought of lamination design,separated the business logic and data by DAO mode of Spring,com-bined with the TestNG testing frame,separated the testing cases and testing code.

关 键 词:API SPRING框架 TestNG框架 DAO模式 

分 类 号:TP274[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象