###
计算机系统应用英文版:2017,26(5):29-34
本文二维码信息
码上扫一扫!
基于多线程并发的JUnit与TestNG测试框架比较
(1.国网信息通信产业集团有限公司, 北京 100761;2.厦门亿力吉奥信息科技有限公司, 厦门 361000;3.国网信通产业集团亿力科技公司, 北京 100053;4.北京中电普华信息技术有限公司, 北京 100085;5.国网江苏省电力公司通信分公司, 南京 210008)
Comparison of JUnit and TestNG Testing Framework Based on Concurrent Multi-Thread
(1.State Grid Information & Telecommunication Co. Ltd., Beijing 100761, China;2.Xiamen Great Power Geo Information Technology Co. Ltd., Xiamen 361000, China;3.Great Power Science and Technology Corporation State Grid Information & Telecommunication Group, Beijing 100053, China;4.Beijing China-Power Information Technology Co. Ltd., Beijing 100085, China;5.State Grid Jiangsu Electric Power Company & Telecommunication Branch, Nanjing 210008, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1407次   下载 3394
Received:September 02, 2016    Revised:November 07, 2016
中文摘要: 在多线程并发测试需求面前,Junit和TestNG这两个简单的单元测试框架一直被拿来作比较,而用户一般更偏向于配置简单、灵活、易操作且满足测试要求的测试框架.本文对Junit和TestNG两种多线程并发测试方式进行实验对比,目的在于验证两种框架对多线程并发测试的实现方式,为用户在实际测试场景中选择工具提出了依据.
中文关键词: 多线程  并发测试  JUnit  TestNG
Abstract:In front of multi-threaded concurrent test requirements, Junit and TestNG these two simple unit test framework has been used to compare, but users generally prefer to the test framework that configuration is simple, flexible, and easy to operate and satisfied the test requirements. This thesis has made an experimental comparison of Junit and TestNG on multi-threaded concurrent test methods, to verify the two frameworks implementation for multithreaded concurrent test, and provides the basis for the user to select the tool in the actual test scenario for users.
文章编号:     中图分类号:    文献标志码:
基金项目:
引用文本:
汪添生,马朝晗,崔蔚,刘迪,赵俊峰,夏飞.基于多线程并发的JUnit与TestNG测试框架比较.计算机系统应用,2017,26(5):29-34
WANG Tian-Sheng,MA Zhao-Han,CUI Wei,LIU Di,ZHAO Jun-Feng,XIA Fei.Comparison of JUnit and TestNG Testing Framework Based on Concurrent Multi-Thread.COMPUTER SYSTEMS APPLICATIONS,2017,26(5):29-34