首页> 外文学位 >A study on reproducible testing for distributed multithreaded Java programs.
【24h】

A study on reproducible testing for distributed multithreaded Java programs.

机译:分布式多线程Java程序的可再现测试的研究。

获取原文
获取原文并翻译 | 示例

摘要

Distributed Multithreaded (DM) programs are becoming more popular along with the development of network and Internet technology. Regarding the aspects of concurrency and communications such as message-passing, shared memory, and Remote Procedure Call (RPC), nondeterministic behavior in a Distributed Multithreaded (DM) program has become one of the biggest sources of difficulties in regression testing. Reproducible testing aims at providing methods and techniques to deal with this problem in testing nondeterministic programs. Such techniques cover the controlled execution of the program by using a separate control mechanism that forces the execution with a given test case.; In this thesis, we describe a reproducible testing method for DM programs. We propose an extended design notation—PMSC (Parallel Message Sequence Chart) based on MSC (Message Sequence Chart) to explicitly represent the static information of DM programs such as flow controls, thread interaction and synchronization, and object behavior. We also introduce a test case specification in Petri net, which is sufficient for describing a certain degree of deterministic behavior of concurrent programs. By constructing test constraints from the test case specification in Petri net, we can use the test constraints as a test scenario for our testing.; Based on the PMSC model and test constraints, we provide a new test control mechanism and algorithm that the test{09}controller (TC) consists of multiple test controllers for multiple processes. A prototype is developed to evaluate the performance of our reproducible testing approach. It shows that our approach can control a certain degree of deterministic execution with given test constraints. And the multiple test controllers can reduce the number of communications among the test controllers and the processes of the program.
机译:随着网络和Internet技术的发展,分布式多线程(DM)程序正变得越来越流行。关于并发和通信方面,例如消息传递,共享内存和远程过程调用(RPC),分布式多线程(DM)程序中的不确定行为已成为回归测试中最大的困难来源之一。可重现的测试旨在提供在不确定性程序测试中解决此问题的方法和技术。这些技术通过使用一个单独的控制机制来覆盖程序的受控执行,该机制强制执行给定测试用例。在本文中,我们描述了一种用于DM程序的可再现测试方法。我们提出了一种扩展设计符号-基于MSC(消息序列图)的PMSC(并行消息序列图),以明确表示DM程序的静态信息,例如流控制,线程交互和同步以及对象行为。我们还在Petri网中引入了一个测试用例规范,该规范足以描述并发程序在某种程度上的确定性行为。通过在Petri网中根据测试用例规范构造测试约束,我们可以将测试约束用作测试的测试方案。基于PMSC模型和测试约束,我们提供了一种新的测试控制机制和算法,即test {09} controller(TC)由用于多个过程的多个测试控制器组成。开发了一个原型来评估我们可重复测试方法的性能。它表明我们的方法可以在给定测试约束下控制一定程度的确定性执行。并且,多个测试控制器可以减少测试控制器之间的通信数量以及程序的进程。

著录项

  • 作者

    Cai, Xiubin.;

  • 作者单位

    University of Windsor (Canada).;

  • 授予单位 University of Windsor (Canada).;
  • 学科 Computer Science.
  • 学位 M.Sc.
  • 年度 2000
  • 页码 111 p.
  • 总页数 111
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 自动化技术、计算机技术;
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号