检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:陈茉莉[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[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15