• 제목/요약/키워드: test case

검색결과 10,253건 처리시간 0.039초

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.

통신 프로토콜 시험항목의 오류 발견 능력 분석을 위한 시뮬레이터의 설계 및 구현 (Design and implementation of simulator for fault coverage analysis of commuication protocol test case)

  • 김광현;허기택;이동호
    • 한국통신학회논문지
    • /
    • 제22권8호
    • /
    • pp.1823-1832
    • /
    • 1997
  • 본 논문은 유한 상태 기계 모델로 표현된 통신 프로토콜의 시험항목에 대한 오류 발견 능력 분석 방법을 제시한다. 시험항목에 대한 오류 발견 능력의 평가는 생성된 시험항목으로 어느 정도까지 오류를 발견해 낼 수 있는지를 측정하는 것이다. 시험항복의 오류 발견 능력 평가 방법은 주로 수학적 분석과 시뮬레이션을 이용한 방법이 사용되고 있다. 본 논문에서는 동신 프로토콜 시험항목의 오류 발견 능력 분석음 위해 시뮬레이터를 설계, 구현하였다. Inres 프로토콜을 시뮬레이터에 적용한 결과, 출력 오류와 상태 병합. 분리 오류는 100%의 높은 오류 발견율을 보였다. 구현된 오류 발견 능력 분석 시뮬레이터는 다양한 프로토콜에 적용 가능함으로써 새로운 오류 발견 능력 분석 도구로 사용될 수 있다.

  • PDF

학부 성형외과학 과목평가를 위한 짧은 사례문항의 개발과 시행: 3년간의 경험 (Development and Enforcement of Short Case Test Items for Evaluation in Undergraduate Course of Plastic Surgery: 3 Years Experience)

  • 황건;박준호;이세일
    • Archives of Plastic Surgery
    • /
    • 제33권2호
    • /
    • pp.225-232
    • /
    • 2006
  • The aim of this study is to evaluate the clinical competence of medical student using short case test items. Development of short case test items with definition of an assessment of subject, choice of clinical stations sampling, identification of components of clinical competence to be evaluated, and assessment of practicability and results exploitation. For the last three years 28, 48 and 30 topics were developed annually. Among them 20, 23 and 23 topics were selected. About 50 students were examined annually. The mean score was 72.7, 57.1, 64.3 respectively. The mean preparation time of the students for the examination was 9.8 hours. About 60% of the students prepared the test in small group activity. Our experience suggests that short case test items be feasible for evaluation of student learning in Plastic Surgery. This method should be considered as a useful tool to assess medical student's competence or even an examination for board certification.

활동기준원가시스템을 이용한 임상병리과 검사 서비스 원가 분석 (The Study on the Cost Analysis Based on ABC System in Clinical Laboratory)

  • 전기홍;김보경;안태식;조우현
    • 보건행정학회지
    • /
    • 제8권2호
    • /
    • pp.88-109
    • /
    • 1998
  • The main purpose of this study is to compare the traditional cost system and ABC(Activity Based Cost) system of clinical laboratory department in a hospital. The study subject was 296 services in clinical laboratory from March, 1997 to August, 1997. In a new costing system, cost for a lab test consist of direct cost element, activity based cost element, and allocated common cost element. In a traditional cost system, cost elements included direct cost element and indirect cost allocated based on test volumes The major findings of this research were as follows. 1. In the application of ABC system, total cost was analyzed as follows. Direct cost was 39.3% of total cost. Activity cost and allocation were 20.9% and 39.8%, respectively. The results of analysis to use traditional cost system were as follows. Direct cost was 39.3% and it was as same as the result of direct cost of ABC system. Indirect cost was 60.7%. 2. Activities of clinical laboratory of subject hospital were registration, pre-test operation, test, test result handling, delivery, culture, post-test operation, technical support, management support, and educational support. 3. The differences of the case of higher number of test case being carried out, the cost of ABC system was lower than the cost of traditional cost system. Otherwise in the case of lower number of test case being carried out, the rests have not been appropriately evaluated, and effective management were needed in clinical laboratory.

  • PDF

A Comprehensive Review on Regression Test Case Prioritization Techniques for Web Services

  • Hasnain, Muhammad;Ghani, Imran;Pasha, Muhammad Fermi;Lim, Chern Hong;Jeong, Seung Ryul
    • KSII Transactions on Internet and Information Systems (TIIS)
    • /
    • 제14권5호
    • /
    • pp.1861-1885
    • /
    • 2020
  • Test Case Prioritization (TCP) involves the rearrangement of test cases on a prioritized basis for various services. This research work focuses on TCP in web services, as it has been a growing challenge for researchers. Web services continuously evolve and hence require reforming and re-execution of test cases to ensure the accurate working of web services. This study aims to investigate gaps, issues, and existing solutions related to test case prioritization. This study examines research publications within popular selected databases. We perform a meticulous screening of research publications and selected 65 papers through which to answer the proposed research questions. The results show that criteria-based test case prioritization techniques are reported mainly in 41 primary studies. Test case prioritization models, frameworks, and related algorithms are also reported in primary studies. In addition, there are eight issues related to TCP techniques. Among these eight issues, optimization and high effectiveness are most discussed within primary studies. This systematic review has identified that a significant proportion of primary studies are not involved in the use of statistical methods in measuring or comparing the effectiveness of TCP techniques. However, a large number of primary studies use 'Average Percentage of Faults Detected' (APFD) or extended APFD metrics to compute the performance of techniques for web services.

Selecting Test Cases for Result Inspection to Support Effective Fault Localization

  • Li, Yihan;Chen, Jicheng;Ni, Fan;Zhao, Yaqian;Wang, Hongwei
    • Journal of Computing Science and Engineering
    • /
    • 제9권3호
    • /
    • pp.142-154
    • /
    • 2015
  • Fault localization techniques help locate faults in source codes by exploiting collected test information and have shown promising results. To precisely locate faults, the techniques require a large number of test cases that sufficiently exercise the executable statements together with the label information of each test case as a failure or a success. However, during the process of software development, developers may not have high-coverage test cases to effectively locate faults. With the test case generation techniques, a large number of test cases without expected outputs can be automatically generated. Whereas the execution results for generated test cases need to be inspected by developers, which brings much manual effort and potentially hampers fault-localization effectiveness. To address this problem, this paper presents a method to select a few test cases from a number of test cases without expected outputs for result inspection, and in the meantime selected test cases can still support effective fault localization. The experimental results show that our approach can significantly reduce the number of test cases that need to be inspected by developers and the effectiveness of fault localization techniques is close to that of whole test cases.

건습반복 부식촉진시험 및 장기폭로시험의 상관성에 대한 연구 (A Study on Correlation Between Cyclic Drying-Wetting Accelerated Corrosion Test and Long-term Exposure Test)

  • 박상순
    • 한국구조물진단유지관리공학회 논문집
    • /
    • 제20권4호
    • /
    • pp.136-143
    • /
    • 2016
  • 염해에 의한 철근콘크리트 구조물의 내구수명을 평가하는 방법에는 여러 가지가 있지만, 가장 확실한 방법은 염해환경에 노출된 시편에 대한 철근 부식시험을 시행하는 것이다. 그러나 이러한 방법은 장기간이 소요된다는 단점이 있으며 이를 보완한 촉진부식시험 결과는 장기시험과의 상관성이 규명되지 않아 적용에 한계가 따른다. 따라서 본 연구에서는 부식촉진시험과 장기폭로시험간의 상관성을 분석하는 것을 연구의 목표로 한다. 부식속도가 가장 빠른 간만대 환경을 모사한 최적 건습반복시험방법을 찾고 해양환경폭로시험장의 간만대에 장기간 노출된 시편의 철근부식모니터링 시험결과와의 비교를 통해 촉진부식시험과 장기폭로시험간의 상관계수를 도출하였다. 또한 재료의 배합별 특성을 파악하기 위해 물,결합재비 60%를 기준으로 플라이애시를 20% 치환한 배합과 고로슬래그 미분말을 30% 치환한 배합을 비교하였으며, 물-결합재비가 35%인 고강도 배합에 대해서도 시험을 실시하였다. 반전지전위법에 의한 부식 모니터링 결과 일정기간의 건조와 습윤의 반복 조건보다는 염수를 시편 상부에 침지시켜 염수 및 산소의 공급이 계속되는 염수 ponding 시험법이 24~36% 정도 부식을 촉진시키는 것으로 나타났다. 각 배합별로는 모든 시험법에서 OPC60, FA, BS, OPC35 순으로 부식이 발생하였다. 간만대의 장기폭로시험과의 상관성 분석 결과 건습반복 부식촉진시험의 경우 4.23~5.52의 상관계수를 가지고 있었으며, 염수 ponding 시험법의 경우 6.54~7.82의 상관계수를 나타내었다.

양안시검사의 조절평가 연구 (The Study of Accommodation Assessment in Binocular Functional Test)

  • 조영래;박현주
    • 한국안광학회지
    • /
    • 제12권1호
    • /
    • pp.61-67
    • /
    • 2007
  • 시기능 평가는 조절과 폭주 검사로 이루어지는데, 예비검사나 문진에서 파악된 환자의 증상에 따라 필요한 검사를 하게 되며 폭주와 조절의 균형이 중요하게 된다. 이 연구는 조절검사를 통해 조절평가가 환자의 시기능과 어떤 상관관계가 있는지 연관성을 파악하고자 하였다. 검사대상은 안질환이 없는 만 18세에서 36세까지의 성인남녀 100명에 대해 양안완전교정 후 균형을 취한 도수를 장입하고 실시하였고, vision tester (Shinnippon VT10)와 visual chart(Shinnippon CT30)를 사용하였다. 크로스실린더에 의한 조절래그는 높은 경우가 39명(39.0%), 낮은 경우가 14명(14.0%)이었으며, 근방의 허성상대폭주력은 높은 경우가 23명(23.0%), 낮은 경우가 38(38.0%)명이었다. 근방의 실성상대폭주력은 높은경우가 29명, 낮은 경우가 23명이었으며, 조절력은 낮은 경우가 18명이었다.

  • PDF

BPMN 기반 경로 탐색을 이용한 테스트 케이스 생성 기법 (A Method of Test Case Generation Using BPMN-Based Path Search)

  • 박세준;강동수
    • 정보처리학회논문지:소프트웨어 및 데이터공학
    • /
    • 제6권3호
    • /
    • pp.125-134
    • /
    • 2017
  • SOA (Service Oriented Architecture)를 기반으로 하는 소프트웨어는 비즈니스 요구사항에 기민하게 대응할 수 있어 사용이 확대되고 있다. SOA는 느슨한 서비스 결합과 메시지 교환 중심 아키텍처라는 특징 때문에 기존의 테스팅 방법 적용이 제한된다. 본 논문에서는 BPMN (Business Process Model and Notation)을 이용해 테스트 케이스를 생성하는 기법을 제안한다. 먼저 프로세스를 모델링하고, 이를 통해 비즈니스 흐름 그래프(BFG)를 생성한다. BFG의 입출력 차수를 대칭하고, 오일러 경로를 탐색하여 테스트 케이스를 생성한다. BPMN을 이용한 테스트 케이스 생성 기법은 SOA 기반 시스템에 적용 가능하며, 테스트 케이스 수를 감소시킬 수 있다.

정적 테스트를 통한 소프트웨어 테스트 효율성 향상에 대한 사례 연구 (A Case Study on the Improvement of Software Test Effectiveness through Static Testing)

  • 김효영;한혁수
    • 한국정보과학회논문지:소프트웨어및응용
    • /
    • 제34권3호
    • /
    • pp.212-218
    • /
    • 2007
  • 아직까지 소프트웨어 개발조직에서는 사전검증 활동 및 충분한 테스트 설계가 수행되지 않고 있으며, 따라서 개발 초기에 식별, 수정될 수 있는 결함들까지 테스트시 검출되기 때문에 투입 노력 대비 테스트의 효율성은 떨어진다. 이러한 문제의식을 바탕으로 본 논문은 구현이전단계에서의 사전검증이 수행 되지 않고, 테스트 케이스 설계가 충분히 진행되지 않은 경우에 테스트의 효율성을 향상시킬 수 있는 방법을 실사례를 통해 제안하고 있다. 테스트 단계에서의 코드 리뷰와 코드 품질 분석을 통해 테스트 우선순위 선정, 테스트별 테스트 케이스 설계 등의 주요 활동과 테스트팀과 개발팀과의 역할을 구체적으로 제시한다.