• Title/Summary/Keyword: Object-Oriented Testing

Search Result 57, Processing Time 0.026 seconds

A Use of Extended Use Cases and Hierarchical State-Based Testing Methods for the Testing of Object-Oriented Information Systems (객체지향 정보시스템의 테스팅을 위한 확장된 유스케이스의 사용과 계층적 상태 기반 테스팅 방법)

  • 박광호
    • The Journal of Information Technology and Database
    • /
    • v.6 no.2
    • /
    • pp.29-43
    • /
    • 1999
  • Object-oriented development methodologies require consistent and seamless object-oriented paradigm to be applied from analysis to testing. Testing must focuses on the state of aggregated objects. This paper suggests testing methods that satisfy such requirements. In order to confirm appropriate implementation of the user requirements, the methods apply extended use case[Jacobson et al., 1992] that are prepared form analysis stage. Testing must be performed based on the use cases because the user requirements are formally documented in the use cases. The notations of the original use case are modified for the state-based testings. The testing methods consist of a unit testing and four-level of integration testing. Particularly, the level 0 testing is based on FREE state machine [Binder, 1995, 1996]. The testing methods have been applied to 3 projects and proved their practicability.

  • PDF

Statistical Investigation on Class Mutation Operators

  • Ma, Yu-Seung;Kwon, Yong-Rae;Kim, Sang-Woon
    • ETRI Journal
    • /
    • v.31 no.2
    • /
    • pp.140-150
    • /
    • 2009
  • Although mutation testing is potentially powerful, it is a computationally expensive testing method. To investigate how we can reduce the cost of object-oriented mutation testing, we have conducted empirical studies on class mutation operators. We applied class mutation operators to 866 classes contained in six open-source programs. An analysis of the number and the distribution of class mutants generated and preliminary data on the effectiveness of some operators are provided. Our study shows that the overall number of class mutants is smaller than for traditional mutants, which offers the possibility that class mutation can be made practically affordable.

  • PDF

Implementation of the LDAP interoperability testing tool with object-oriented approach (객체 지향 접근을 통한 LDAP 상호운용성 시험도구 구현)

  • Kim Youn-su;Lee Soong-Hee;Lee Jong Hyup
    • The Journal of Korean Institute of Communications and Information Sciences
    • /
    • v.30 no.5B
    • /
    • pp.247-252
    • /
    • 2005
  • The testing tools implemented up to now for the LDAP(Light-weight Directory Access Protocol) interoperability tests are not easy to modify or add new test items since their source codes are not open. The object-oriented approach, therefore, is required to implement such a testing tool which can be easily modified or add new test items. Thus we designed the architecture for the testing tool applying the object-oriented approach. Java language, appropriate for the object-oriented approach, was used to implement the testing tool. The newly implemented testing tool can modify partly to adapt to the already stored data in the test suite information even during tests. Five LDAP servers can be tested simultaneously with the same configuration setup. Actual testing for the two LDAP servers validates the usefulness of the designed architecture with the proper working of the implemented testing tool according to the architecture.

Object-Oriented Software Interaction Test Techniques using Design/CPN (Design/CPN을 이용한 객체지향 소프트웨어 상호작용 테스트 기법)

  • Li, Ren-Ge;Koo, Yeon-Seol
    • The KIPS Transactions:PartD
    • /
    • v.11D no.3
    • /
    • pp.649-658
    • /
    • 2004
  • An object-oriented system is organized by a set of interacting objects and the system behavior is represented by the cooperating interaction bet ween objects. The characteristics of object-oriented software. such as inheritance and polymorphism, increase the difficulty of the object-oriented software testing. At running time of a program, one call from a member function can bind to other member functions because of the dynamic characteristics such as concurrence, dynamic binding and interaction. Therefore, there need the research about considering the characteristics of object-oriented software and concurrently testing the interaction between objects. In this paper, we propose the techniques as follows. First, we construct a flattened state chart diagram by considering the inheritance and polymorphism. Next, we model the system with CPN(Colored Petri Net) that usually is applying the system modeling and simulation. Last, we propose a test case generation techniques for testing the interaction between objects in object-oriented software by applying a Design/CPN tool.

Object Oriented Fault Detection for Fault Models of Current Testing (전류 테스팅 고장모델을 위한 객체기반의 고장 검출)

  • Bae, Sung-Hwan;Han, Jong-Kil
    • The Journal of the Korea institute of electronic communication sciences
    • /
    • v.5 no.4
    • /
    • pp.443-449
    • /
    • 2010
  • Current testing is an effective method which offers higher fault detection and diagnosis capabilities than voltage testing. Since current testing requires much longer testing time than voltage testing, it is important to note that a fault is untestable if the two nodes have same values at all times. In this paper, we present an object oriented fault detection scheme for various fault models using current testing. Experimental results for ISCAS benchmark circuits show the effectiveness of the proposed method in reducing the number of faults and its usefulness in various fault models.

Testing of Interaction Patterns for Hot Spots in an Object-oriented Framework (객체 지향 프레임웍의 가변부위에 대한 상호작용 패턴의 테스트 방법)

  • Roh, Sung-Hwan;Jeon, Tae-Woong
    • Journal of KIISE:Software and Applications
    • /
    • v.32 no.7
    • /
    • pp.592-600
    • /
    • 2005
  • Systematically extracting the test patterns of hot spots in an object-oriented software framework is a prerequisite for thoroughly testing the framework's functionality in a variety of contexts in which the framework is extended for reuse. This paper proposes a method for analyzing the design patterns and extracting the test patterns from the interaction test patterns of hot spots in an object-oriented framework. Based on the design pattern of the framework's hot spot, our method captures the object behavior allowed in that hot spot by means of statecharts, which are then used to generate the interaction test patterns and test cases. The generated test patterns and test cases can be applied repeatedly to applications which are built from extending the framework.

Estimating the Function Point for the Object Oriented Information Systems (객체지향 기반의 정보시스템 개발 프로젝트에서의 기능점수 예측 기법에 관한 연구)

  • Jeong, Seung-Ryul;Lee, Suk-Joon
    • The Journal of Information Systems
    • /
    • v.16 no.1
    • /
    • pp.111-133
    • /
    • 2007
  • The purpose of this study is to present a new function point estimation approach for the Object-Oriented information systems. In order to fulfill this purpose, we first review the literature on Function Point Analysis of IFPUG, Unified Modeling Language, and Unified Process. Then, we derive a method and rules for estimating Function Points based on Use Cases and Class Diagrams. To analyze the appropriateness of the proposed approach, we conduct the empirical testing. 143 use cases are collected from production, marketing, distribution, sales, and other areas from the Object-Oriented systems development projects. We compare our new approach with the existing methods that are usually used for traditional systems development projects. The results show that our proposed approach is more appropriate for the Object-Oriented environment.

  • PDF

Class testing of Object-oriented program (객체지향 프로그램의 클래스 테스팅)

  • Dong-Ju, Im;Ho-Jin, Choi
    • Journal of the Korea Society of Computer and Information
    • /
    • v.5 no.2
    • /
    • pp.7-13
    • /
    • 2000
  • I propose implementation-based class testing technique based on the test adequacy criterion of an object-oriented program. Considering inter-data member dependences and a set of axioms for test data adequacy, it generates sequences of methods as test cases which satisfy a flow graph-based testing criterion. For a derived class testing. it considers inheritance relationship and the resuability of the testing information for its parent classes which verified the reduction of test cost through the experiment.

  • PDF

The class testing based on a dependence graph (종속성 그래프 기반 클래스 테스팅)

  • Im, Dong-Ju;Bae, Sang-Hyun
    • Journal of Internet Computing and Services
    • /
    • v.1 no.1
    • /
    • pp.105-113
    • /
    • 2000
  • The representation of a procedural program cannot be applied directly to object oriented program representation consisting of class, object, inheritance, and dynamic binding. Furthermore, preexisting program dependence represented the dependence among statements, but not among variables. That is, it could not solve the problem of which variables make an effect on given variables. Consequently, this study presents the method dependence model representing implementation level information including the dependence among variables in an object oriented program. I also propose implementation-based class testing technique based on the test adequacy criterion of an object-oriented program. Considering inter-data member dependences and a set of axioms for test data adequacy, it generates sequences of methods as test cases which satisfy a flow graph-based testing criterion. For a derived class testing, it considers inheritance relationship and the resuability of the testing information for its parent classes which verified the reduction of test cost through the experiment.

  • PDF

Development of a Power Plant Simulation Tool Based on Object-Oriented Modeling (객체지향 모델링에 기반한 발전소 시뮬레이션 툴 개발)

  • 전상규;손기헌
    • Proceedings of the Korea Society for Simulation Conference
    • /
    • 2004.05a
    • /
    • pp.136-140
    • /
    • 2004
  • A power-plant simulation tool has been developed for training the plant operators and testing a plant control system. The simulation tool is composed of a graphic editor, a component model builder and a system simulation solver. Such new programing techniques as object-oriented modeling and GUI(Graphical User Interface) are employed in developing the simulation tool. The graphic editor is based on the OpenGL library for effective implementation of GUI while the component model builder is based on object-oriented programming for efficient generalization of component models. The developed tool has been verified through the simulation of a real power plant.

  • PDF