本文已被:浏览 1407次 下载 3394次
Received:September 02, 2016 Revised:November 07, 2016
Received:September 02, 2016 Revised:November 07, 2016
中文摘要: 在多线程并发测试需求面前,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.
keywords: multi-thread concurrent testing JUnit TestNG
文章编号: 中图分类号: 文献标志码:
基金项目:
引用文本:
汪添生,马朝晗,崔蔚,刘迪,赵俊峰,夏飞.基于多线程并发的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
汪添生,马朝晗,崔蔚,刘迪,赵俊峰,夏飞.基于多线程并发的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