首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 62 毫秒
1.
面向对象软件开发中基于类的测试   总被引:1,自引:0,他引:1  
面向对象软件测试是保证软件质量提高软件可靠性的关键问题,已经成为当前研究的热点.面向对象具有的封装性、继承性和多态性等特性,给程序设计带来了好处,但却给软件测试提出了新的要求,加大了测试难度.在分析了面向对象语言对软件测试的影响之后,讨论了软件测试的策略和技术并提出了一种适应于作为基本测试单元的类测试途径.因此,提出一...  相似文献   

2.
Advancements in hardware and software technologies have made possible the design of real-time systems and applications where stringent timing constraints are imposed on critical tasks. The design of such systems is more complex than that of temporally unrestricted systems because system correctness depends on the satisfaction of functional as well as temporal requirements. To aid users in correctly and efficiently designing systems, object-oriented frameworks provide a useful environment for significant reuse and reduction in design effort. In contrast to other application domains, there has been relatively little work on an application framework for the design of real-time systems. Facing the growing need for real-time applications, we propose a novel application framework called SESAG, which consists of five components, namely Specifier, Extractor, Scheduler, Allocator, and Generator. Within SESAG, several design patterns are proposed and used for the development of real-time applications. A new evaluation metric called relative design effort is proposed for evaluating SESAG. Experiences in using SESAG show a significant increase in design productivity through design reuse and a significant decrease in design time and effort. Two complex application examples have been developed using SESAG and evaluated using the new evaluation metric. The examples demonstrate relative design efforts of at most 18% of the design efforts required by conventional methods. Copyright © 2005 John Wiley & Sons, Ltd.  相似文献   

3.
病案管理系统的面向对象设计与实现   总被引:3,自引:1,他引:2  
病案管理系统作为医院管理信息系统的重要组成部分。介绍了一种病案管理系统的设计与实现方法,采用面向对象的软件分析与设计方法、运用统一建模语言UML来设计对象,并采用B/S的3层体系结构,用面向对象的程序开发语言Java实现。既是面向对象在复杂系统中的应用,也是对病案管理信息化的探索与实践。  相似文献   

4.

In software maintenance, after modifying the software a system needs regression testing. Execution of regression testing confirms that any modified code has no adverse effect as well as does not introduce new faults in the existing functionality of the software. When working with object-oriented programming code-based testing is generally expensive. In this study, we proposed a technique for regression testing using unified modeling language (UML) diagrams and code-based analysis for object-oriented software. In this research work, the design and code based technique with an evolutionary approach are presented to select the best possible test cases from the test suite. We used the dependency graph for intermediate representation for the objectoriented program to identify the change. The selection of test cases is done at the design level using the UML model. The models are compared to identify the change between these two models. The proposed approached maximizes the value of APFD.

  相似文献   

5.
面向对象的软件测试模型及策略研究   总被引:3,自引:0,他引:3  
以软件工程中面向对象软件开发模式为参考,具体阐述了面向对象分析、面向对象设计、面向对象编程的测试注意点和测试过程,并依照传统的单元测试、集成测试、系统测试三个测试步骤,借鏊传统测试方法以及面向对象软件测试层次结构,提出了面向对象软件测试的策略和一个实用面向对象的软件测试模型,并对相关问题进行了探讨。  相似文献   

6.
以软件工程中面向对象软件开发模式为参考,具体阐述了面向对象分析、面向对象设计、面向对象编程的测试注意点和测试过程,并依照传统的单元测试、集成测试、系统测试三个测试步骤,借鉴传统测试方法以及面向对象软件测试层次结构,详细探讨了面向对象单元测试、面向对象集成测试和面向对象系统测试的测试策略,并对相关问题进行了探讨。  相似文献   

7.
郑鸯  张玮 《微机发展》2004,14(9):105-107,111
从分析传统开发方法的不适应性,提出克服传统方法缺点的新途径。UML是一种通用的标准的统一建模语言,支持从需求分析开始的软件开发全过程,UML中的图形标记,尤其适用于描述面向对象的软件设计。用面向对象方法开发软件,在任何情况下,对象模型始终都是最重要、最基本、最核心的。文中给出了一种用UML来模拟对象模型的有效方法,通过可视化建模,使软件设计工具发挥更大的效用,更好地提高模型的重用性。  相似文献   

8.
面向对象的软件测试方法   总被引:4,自引:0,他引:4  
文章针对面向对象软件具有的特征,给出一个面向对象的测试模型.详细探讨了面向对象单元测试、面向对象集成测试和面向对象系统测试的测试策略,以及相应的测试用例设计方法。  相似文献   

9.
面向对象软件测试方法研究   总被引:1,自引:1,他引:0  
面向对象软件开发是一种新的减少成本、提高可用性、灵活性和高效的软件系统开发方法。软件测试是改善软件质量和正确性的重要技术,但目前还没有成熟的用于面向对象软件开发的测试方法。本文首先通过继承图描述面向对象软件测试方法,然后讨论了单元重复继承算法,该算法的时间复杂性为O(n3),并给出了具体实例,最后提出了继承层次测试方法。  相似文献   

10.
面向对象软件测试是面向对象软件开发的重要阶段,面向对象软件测试的用例设计是面向对象软件测试技术的重要组成部分。本文对面向对象软件测试技术的特点和层次的划分进行了研究,然后讨论了面向对象软件的测试用例设计的方法。  相似文献   

11.
面向对象软件度量自动化参考模型MOOP   总被引:7,自引:0,他引:7       下载免费PDF全文
评估软件质量涉及到定性和定量两个方面。在定量的度量方面,要考虑两个问题,一是度量什么,二是如何度量。面向对象技术的新特点给软件度量提出了新的要求。本文提出了一种针对面向对象程序分析的度量自动化参考模型MOOP,该模型采用三层结构:翻译层、表示层、分析层,具有可重定编译前端、中间表示与语言无关、度量集可定制等优点。基于MOOP参考模型,我们设计了一种面向对象度量自动化系统MOOP-Kit。  相似文献   

12.
类测试软件开发中是面向对象软件软件开发中十分重要的一个环节,也是影响程序正确性、可靠性以及稳定性的关键性因素。该文主要提出了一种面向对象的软件测试技术中的类测试方法,并从基于服务的和基于状态的类测试两个方面论述了类测试的思想和方法。  相似文献   

13.
基于UML的面向对象的需求分析方法   总被引:2,自引:0,他引:2  
统一建模语言UML是面向对象软件开发的重要新技术,本文阐述了UML的特点、UML的语言机制、并给出UML技术在软件需求分析过程中的应用。  相似文献   

14.
统一建模语言UML是面向对象软件开发的重要新技术,本文阐述了UML的特点、UML的语言机制、并给出UML技术在软件需求分析过程中的应用。  相似文献   

15.
随着计算机编程技术在自动化工程软件应用中的发展,越来越多的PLC编程系统均支持新的程序设计理念和方法。为了使得这些方法和理念能够在PLC的编程中得以利用,提高PLC程序的编程效率和程序质量,结合多年的自动化工程软件设计和开发经验,以西门子S7系列PLC为基础,探讨了面向对象的程序设计理念和方法在程序设计和开发中的应用,提出了适应自动化工程要求的软件设计原则、步骤和方法。实践证明,该方法可以缩短程序设计时间,提高程序使用的可靠性。  相似文献   

16.
The major contribution of this paper is the application of modern analysis techniques to the important Message Passing Interface standard, work done in order to obtain information useful in designing both application programmer interfaces for object-oriented languages, and message passing systems. Recognition of ‘Design Patterns’ within MPI is an important discernment of this work. A further contribution is a comparative discussion of the design and evolution of three actual object-oriented designs for the Message Passing Interface ( MPI-1SF ) application programmer interface (API), two of which have influenced the standardization of C++ explicit parallel programming with MPI-2, and which strongly indicate the value of a priori object-oriented design and analysis of such APIs. Knowledge of design patterns is assumed herein. Discussion provided here includes systems developed at Mississippi State University (MPI++), the University of Notre Dame (OOMPI), and the merger of these systems that results in a standard binding within the MPI-2 standard. Commentary concerning additional opportunities for further object-oriented analysis and design of message passing systems and APIs, such as MPI-2 and MPI/RT, are mentioned in conclusion. Connection of modern software design and engineering principles to high performance computing programming approaches is a new and important further contribution of this work. Copyright © 2001 John Wiley & Sons, Ltd.  相似文献   

17.
We describe a Prolog-based approach to the development of language processors (such as preprocessors, frontends, evaluators, tools for software modification and analysis). The design of the corresponding environment Laptob for prological language processing is outlined. Language processor definitions in Laptob are basically Prolog programs. The programs might contain grammars, that is, we consider logic grammars. The programs can be typed, and they can be higher-order. The adaptation and composition of the logic programs themselves is supported by meta-programming. The environment offers tool support for efficient scanning, testing, and application development based on a make-system. We report on recent and ongoing applications of the Prolog-based approach.  相似文献   

18.
This paper presents our experience in testing an object-oriented software: the Telemetry and Telecommand System (TMTC). The TMTC runs along a distributed architecture comprising microcomputers plus a Data Base server inter-connected via LAN under TCP/IP protocol. This in-house developed software was designed according to the Object Modelling Technique (OMT). TMTC's software components represent clusters of classes related to functionality and building blocks of generic services. In order to establish a systematic way for the testing activities we have adapted the Hierarchical Approach (HA), proposed by Shel Siegel, to the experience and culture of the team. The HA, focusing on object-oriented testing, has fitted well with the aim of detecting as many faults as possible in the early phases of the development. In the HA almost all classes are individually tested before being gradually integrated into groups. Groups of classes are defined according to the scenarios specified in the system design phase. This has considerably reduced the testing effort. This paper also discusses the system class number in comparison with the number of stubs and drivers generated for testing. The difficulties to test a distributed application for satellite controlling and monitoring are likewise examined.  相似文献   

19.
面向对象软件测试是保证面向对象软件开发项目质量的重要手段,而测试用例设计是实施面向对象软件测试的重要方面。从软件测试的技术出发,讨论了软件测试的技术特点,如何选择合适的测试方法,如何进行测试用例设计与工具选择,结合项目说明了测试实施和阶段划分。该领域的测试理论和技术还待完善,最终目的是克服软件测试的局限性,提高软件质量。  相似文献   

20.
面向对象软件覆盖度量的研究和软件测试工具的实现   总被引:2,自引:0,他引:2  
面向对象软件测试技术的研究是面向对象方法不可缺少的一环,但是面对面向对象技术所引入的新特点,传统的测试技术已经无法有效地进行测试。因此,结合传统的测试技术,提出了一种新的面向对象软件覆盖度量-基于段的面向对象覆盖度量(object-oriented segment coverage),解决了传统的覆盖度量没有考虑到继承和多态等语言特征对面向对象软件软件测试过程的影响的不足,可以比传统的结构化覆盖度量获得更精确的测试覆盖数据。同时,还分析了一个已实现的、具有高度可重用性和灵活性的面向多种OO语言的测试工具的系统结构。  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号