基于多线程并发的JUnit与TestNG测试框架比较  被引量:4

Comparison of JUnit and TestNG Testing Framework Based on Concurrent Multi-Thread

在线阅读下载全文

作  者:汪添生 马朝晗 崔蔚 刘迪[1,4] 赵俊峰 夏飞 

机构地区:[1]国网信息通信产业集团有限公司,北京100761 [2]厦门亿力吉奥信息科技有限公司,厦门361000 [3]国网信通产业集团亿力科技公司,北京100053 [4]北京中电普华信息技术有限公司,北京100085 [5]国网江苏省电力公司通信分公司,南京210008

出  处:《计算机系统应用》2017年第5期29-34,共6页Computer Systems & Applications

摘  要:在多线程并发测试需求面前,Junit和TestNG这两个简单的单元测试框架一直被拿来作比较,而用户一般更偏向于配置简单、灵活、易操作且满足测试要求的测试框架.本文对Junit和TestNG两种多线程并发测试方式进行实验对比,目的在于验证两种框架对多线程并发测试的实现方式,为用户在实际测试场景中选择工具提出了依据.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 

分 类 号:TP311.53[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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