| 注册
首页|期刊导航|计算机应用与软件|基于死锁的并发类单元测试用例自动生成

基于死锁的并发类单元测试用例自动生成

臧丽娜

计算机应用与软件2017,Vol.34Issue(4):1-5,21,6.
计算机应用与软件2017,Vol.34Issue(4):1-5,21,6.DOI:10.3969/j.issn.1000-386x.2017.04.001

基于死锁的并发类单元测试用例自动生成

AUTOMATIC GENERATION OF CONCURRENT CLASS UNIT TEST CASES BASED ON DEADLOCK

臧丽娜1

作者信息

  • 1. 北京化工大学信息科学与技术学院 北京 100029
  • 折叠

摘要

Abstract

Automated generation of multithreaded program unit test cases is a technology to save test costs.In order to improve the efficiency of concurrent unit test case generation, the article analyzes the potential deadlock code in the concurrency class according to the characteristics of deadlock failure, and then automatically generates test cases for these codes.The experiment is carried out on the concurrent class of 7 commonly used Java class libraries.Experimental results show that the proposed method (CTCG) not only finds an existing deadlock failure, but also generates fewer test cases and less time when a deadlock failure is detected,and improve the efficiency of the automatic generation of concurrent class unit test cases.

关键词

并发类/死锁/单元测试/测试用例生成

Key words

Concurrent class/Deadlock/Unit test/Tests generating

分类

信息技术与安全科学

引用本文复制引用

臧丽娜..基于死锁的并发类单元测试用例自动生成[J].计算机应用与软件,2017,34(4):1-5,21,6.

基金项目

国家自然科学基金项目(61472025,61170082). (61472025,61170082)

计算机应用与软件

OA北大核心CSTPCD

1000-386X

访问量0
|
下载量0
段落导航相关论文