• 제목/요약/키워드: Model-based Testing

검색결과 1,602건 처리시간 0.028초

A UML-based Approach towards Test Case Generation and Optimization

  • Shahid Saleem;Saif U. R. Malik;Bilal Mehboob;Roobaea Alroobaea;Sultan Algarni;Abdullah M. Baqasah;Naveed Ahmad;Muhammad Hasnain
    • KSII Transactions on Internet and Information Systems (TIIS)
    • /
    • 제18권3호
    • /
    • pp.633-652
    • /
    • 2024
  • Software testing is an important phase as it ensures the software quality. The software testing process comprises of three steps: generation, execution, and evaluation of test cases. Literature claims the usage of single and multiple 'Unified Modeling Language' (UML) diagrams to generate test cases. Using multiple UML diagrams increases test case coverage. However, the existing approaches show limitations in test case generation from UML diagrams. Therefore, in this research study, we propose an approach to generate the test cases using UML State Chart Diagram (SCD), Activity Diagram (AD), and Sequence Diagram (SD). The proposed approach transforms UML diagrams into intermediate forms: SCD Graph, AD Graph, and SD Graph respectively. Furthermore, by integrating these three graphs, a System Testing Graph (STG) is formed. Finally, test cases are identified from STG by using a traversal algorithm such as Depth First Search (DFS) that is an optimization method. The results show that the proposed approach is better compared to existing approaches in terms of coverage and performance. Moreover, the generated test cases have the ability to detect faults at the unit level, integration, and system level testing.

Modified information criterion for testing changes in generalized lambda distribution model based on confidence distribution

  • Ratnasingam, Suthakaran;Buzaianu, Elena;Ning, Wei
    • Communications for Statistical Applications and Methods
    • /
    • 제29권3호
    • /
    • pp.301-317
    • /
    • 2022
  • In this paper, we propose a change point detection procedure based on the modified information criterion in a generalized lambda distribution (GLD) model. Simulations are conducted to obtain empirical critical values of the proposed test statistic. We have also conducted simulations to evaluate the performance of the proposed methods comparing to the log-likelihood method in terms of power, coverage probability, and confidence sets. Our results indicate that, under various conditions, the proposed method modified information criterion (MIC) approach shows good finite sample properties. Furthermore, we propose a new goodness-of-fit testing procedure based on the energy distance to evaluate the asymptotic null distribution of our test statistic. Two real data applications are provided to illustrate the use of the proposed method.

A Stochastic Differential Equation Model for Software Reliability Assessment and Its Goodness-of-Fit

  • Shigeru Yamada;Akio Nishigaki;Kim, Mitsuhiro ura
    • International Journal of Reliability and Applications
    • /
    • 제4권1호
    • /
    • pp.1-12
    • /
    • 2003
  • Many software reliability growth models (SRGM's) based on a nonhomogeneous Poisson process (NHPP) have been proposed by many researchers. Most of the SRGM's which have been proposed up to the present treat the event of software fault-detection in the testing and operational phases as a counting process. However, if the size of the software system is large, the number of software faults detected during the testing phase becomes large, and the change of the number of faults which are detected and removed through debugging activities becomes sufficiently small compared with the initial fault content at the beginning of the testing phase. Therefore, in such a situation, we can model the software fault-detection process as a stochastic process with a continuous state space. In this paper, we propose a new software reliability growth model describing the fault-detection process by applying a mathematical technique of stochastic differential equations of an Ito type. We also compare our model with the existing SRGM's in terms of goodness-of-fit for actual data sets.

  • PDF

소프트웨어 시험 인력의 추정 방법 (An Estimating Method for Software Testing Manpower)

  • 박주석
    • 정보처리학회논문지D
    • /
    • 제11D권7호
    • /
    • pp.1491-1498
    • /
    • 2004
  • 성공적인 프로젝트 계획은 활용 가능한 일정과 더불어 프로젝트를 완수하는데 요구되는 인력을 얼마나 정확히 추정하느냐에 달려있다. 새로운 또는 보다 나은 모델 개발에 많은 연구가 이루어졌지만 현존하는 소프트웨어 인력 추정 모델들은 소프트웨어 생명주기 전반에 걸쳐 투입되는 총 개발인력 또는 시간에 따른 단위시간당 개발인력 분포만을 제공하고 있다. 본 논문은 시간의 함수가 아닌 발견된 결함 수에 따라 시험단계에 투입되는 인력과 시험단계의 시험과정과 디버깅과정에 투입되는 인력을 추정하는 모델들을 제시하였다. 시험과 디버깅 과정에서 발견되는 결함에 기반한 투입 인력의 다항식 모델을 제안한다. 제안된 모델들은 5종의 다른 소프트웨어 프로젝트들에 적용되어 결정계수와 MMRE를 통해 모델의 적합성을 검증하였다.

Development of a Comprehensive Usability Testing and Analysis Framework for the Physical Interface Between Product and User

  • Lee, Won-Sup;Jung, Ki-Hyo;Lee, Hyun-Ju;Song, Hwag-Yu;Oh, Jang-Keun;You, Hee-Cheon
    • 대한인간공학회지
    • /
    • 제30권2호
    • /
    • pp.331-338
    • /
    • 2011
  • Objective: The present study developed a comprehensive usability testing and analysis framework based on a physical interface model of product and user and applied the proposed framework to usability testing of canister-type vacuum cleaner. Background: The development of a user-centered product design is important to satisfy customers who want to use the product with ease of use and to keep the manufacturer competitive in the market. Method: The proposed testing and analysis framework consists of (1) characterization of physical product-user interface, (2) preparation and administration of usability testing questionnaire, and (3) analysis and interpretation of usability testing results. A usability evaluation of five vacuum cleaners was planned and administered based on the proposed framework and its analysis produced detailed and overall usability testing results for various aspects such as tasks, usability criteria, and design components. Results: The testing results were further utilized to identify usability problems and preferred design features of the vacuum cleaners. Conclusion: The proposed usability testing and analysis framework was found effective to identify preferred features and problems of a product design in a systematic, holistic manner. Application: The proposed framework can be of effective use for practitioners of product design and development to obtain comprehensive, quantitative usability testing information in a systematic manner.

멀티미디어가 지원되는 SPRT 시스템 설계 및 구현 (Design and Implementation of Multimedia Supported SPRT System)

  • 범수균;오암석
    • 한국멀티미디어학회논문지
    • /
    • 제5권6호
    • /
    • pp.638-645
    • /
    • 2002
  • 컴퓨터 기반 교육의 잠재적인 이점은 개별화 교습이다. 그러나 컴퓨터를 기반으로 한 교습의 목표는 완전하게 실행될 수 없었다. 가장 큰 이유는 자연어 이해에 대한 제약과 내재된 많은 문제점이다. 그럼에도 불구하고 컴퓨터 기반 평가 길이를 적당히 조절함으로써 학습자의 학습능력을 평가할 수 있는 CAT(Computer-based Adaptive Testing)프로그램 개발은 가능하다. 평가를 위한 문항 수가 두드러지게 감소하면서 반면에 합격과 불합격 판정이 매우 정확하다. 본 논문에서는 SPRT(Sequential Probability Ratio Testing)방식을 이용한 평가시스템을 설계하고 구현하였다. 이 시스템은 개별화 수업을 위하여 다양한 멀티미디어 오브젝트를 지원하고 클라이언트/서버 환경과 학습자 피드백, 다중-SPRT 그리고 학습자 모델을 유지 관리한다. 아울러 문항의 독립성을 위하여 각 문항의 coefficient alpha 값을 측정하여 관리하는 기능을 지원한다.

  • PDF

MILS 기반 ADS 기능 검증을 위한 V2X 모델링에 관한 연구 (A Study on V2X Modeling for Virtual Testing of ADS Based on MIL Simulation)

  • 신성근;박종기;우창수;예창민;이혁기
    • 자동차안전학회지
    • /
    • 제15권3호
    • /
    • pp.34-42
    • /
    • 2023
  • Simulation-based virtual testing is known to be a major requirement for verifying the safety of autonomous driving functions. However, in the simulation environment, there is a difficulty in that all driving environments related to the autonomous driving system must be realistically modeled. In particular, C-ITS (Cooperative-Intelligent Transport Systems) is essential for urban autonomous driving of Lv.4, but the approach to modeling for C-ITS service in the MILS (Model in the Loop Simulation) environment is not yet clear. Therefore, this paper aims to deal with V2X (Vehicle to Everything) modeling methods to effectively apply C-ITS-based autonomous cooperative driving services in the MILS environment. First, major C-ITS services and use cases for autonomous cooperative driving are analyzed, and a modeling method of V2X signals for C-ITS service simulation is proposed. Based on the modeled V2X messages, the validity of the proposed approach is reviewed through simulations on the C-ITS service use case.

모델기반 테스트 기법 및 무장통제장치 적용 사례 (A Model-based Test Approach and Case Study for Weapon Control System)

  • 배정호;장부철;구봉주
    • 한국군사과학기술학회지
    • /
    • 제20권5호
    • /
    • pp.688-699
    • /
    • 2017
  • Model-based test, a well-known method of the black box tests, is consisted of the following four steps : model construction using requirement, test case generation from the model, execution of a SUT (software under test) and detection failures. Among models constructed in the first step, state-based models such as UML standard State Machine are commonly used to design event-based embedded systems (e.g., weapon control systems). To generate test cases from state-based models in the next step, coverage-based techniques such as state coverage and transition coverage are used. Round-trip path coverage technique using W-Method, one of coverage-based techniques, is known as more effective method than others. However it has a limitation of low failure observability because the W-Method technique terminates a testing process when arrivals meet states already visited and it is hard to decide the current state is completely same or not with the previous in the case like the GUI environment. In other words, there can exist unrevealed faults. Therefore, this study suggests a Extended W-Method. The Extended W-Method extends the round-trip path to a final state to improve failure observability. In this paper, we compare effectiveness and efficiency with requirement-item-based technique, W-Method and our Extended W-Method. The result shows that our technique can detect five and two more faults respectively and has the performance of 28 % and 42 % higher failure detection probability than the requirement-item-based and W-Method techniques, respectively.

모델 기반 스마트 TV 테스트 사례 (Case Study of Model-Based Test with Smart TV)

  • 이선열;배정호;채흥석
    • 정보처리학회논문지:소프트웨어 및 데이터공학
    • /
    • 제4권1호
    • /
    • pp.19-30
    • /
    • 2015
  • 스마트 TV 제조사들은 스마트 TV 테스트 비용을 줄이기 위하여 테스트 스크립트 자동 실행 환경을 구축하고 있다. 그러나 기존의 테스트 방법은 테스트 스크립트가 테스터에 의해 수동으로 작성되기 때문에, 테스트 스크립트의 재사용성은 높지 않다. 이는 새로운 TV 모델을 위한 테스트 스크립트가 새롭게 작성되어야 함을 의미한다. 본 논문에서는 재사용성이 높은 스마트 TV 테스트 모델 작성법을 제안하고 이를 이용한 스마트 TV 테스트 스크립트 생성 방법을 소개한다. 그리고 NetCast TV에 모델 기반 테스트 스크립트 생성 방법을 적용하여 유효성을 확인하였다.

불완전 결함 발견과 구문 반복 실행을 고려한 커버리지 기반 신뢰성 성장 모형 (A Coverage-Based Software Reliability Growth Model for Imperfect Fault Detection and Repeated Construct Execution)

  • 박중앙;박재홍;김영순
    • 정보처리학회논문지D
    • /
    • 제11D권6호
    • /
    • pp.1287-1294
    • /
    • 2004
  • 최근 소프트웨어 신뢰성을 평가하기 위해 신뢰성 측도와 커버리지 간의 관계가 연구되고 있다. 특히 커버리지에 기반한 소프트웨어 신뢰성 성장 모델에서 평균치 함수는 소프트웨어의 신뢰성 성장을 나타내는데 매우 중요한 역할을 한다. 본 논문은 커버리지에 기반한 기존 모형들의 문제점을 평균치 함수와 그 모형이 근거하는 가정을 바탕으로 파악하고, 그 문제점을 해결하기 위한 새로운 평균치 함수를 제안한다. 제안된 새로운 평균치 함수는 불완전 결함 발견과 구문의 반복 실행이 허용되는 일반적인 테스팅 환경에서 도출된 결과이다. 마지막으로 실제 데이터에 제안된 모형을 적용하여 그 성능을 평가한다.