• Title/Summary/Keyword: test case

Search Result 10,251, Processing Time 0.037 seconds

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)
    • /
    • v.18 no.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 (통신 프로토콜 시험항목의 오류 발견 능력 분석을 위한 시뮬레이터의 설계 및 구현)

  • 김광현;허기택;이동호
    • The Journal of Korean Institute of Communications and Information Sciences
    • /
    • v.22 no.8
    • /
    • pp.1823-1832
    • /
    • 1997
  • In this ppaer, fault coverage analysis of a conformance test case for communication protocols, specified as a deterministic finite state machine(DFSM) is presented. The fault coverage analysis of a test case is defined by measuring the extent of the faults detected using a generated test case. The method that evaluates fault coverage analysis for a test case, has been researched by arithmetic analysis and simulation. In this paper, we designed and implemented a simulator for fault coverage analysis of a communication protocol teat case. With this result for Inres protocol, output fault and state merge and split fault have a high fault coverage of 100%. This simulator can be widely used with new fault coverage analysis tools by applying it to various protocols.

  • PDF

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

  • Hwang, Kun;Park, Jun Ho;Lee, Se Il
    • Archives of Plastic Surgery
    • /
    • v.33 no.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 (활동기준원가시스템을 이용한 임상병리과 검사 서비스 원가 분석)

  • 전기홍;김보경;안태식;조우현
    • Health Policy and Management
    • /
    • v.8 no.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)
    • /
    • v.14 no.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
    • /
    • v.9 no.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 (건습반복 부식촉진시험 및 장기폭로시험의 상관성에 대한 연구)

  • Park, Sang-Soon
    • Journal of the Korea institute for structural maintenance and inspection
    • /
    • v.20 no.4
    • /
    • pp.136-143
    • /
    • 2016
  • There are various method for evaluating the durability life of concrete structures due to salt damage. The best way is to perform a corrosion test for a rebar embedded in concrete specimen was exposure to marine environment. However, this method has the disadvantage that it takes a long period of time. Also, accelerated corrosion test which was complemented complements the time-consuming weakness is limited to apply because it could not reveal a correlation between long-term exposure test. Accordingly, the purpose of this study is to derive a correlation coefficient between cycle drying-wetting accelerated corrosion test and long-term exposure test. Corrosion initiation time was measured in four types of concrete samples, i.e., two samples mixed with fly ash(FA) and blast furnace slag(BS), and the other two samples having two water/cement ratio(W/C = 0.6, 0.35) without admixture(OPC 60 and OPC 35). The accelerated corrosion test was carried out by two case, i.e., one is a cyclic drying-wetting method(case 1), and the other is a artificial seawater ponding test method(case 2). Whether corrosion occurs, it was measures using half-cell potential method. The results indicated that case 1 is to accelerated the corrosion of rebar about 24~36% as compared with case 2, then the corrosion of rebar embedded in concrete occurred according to the order of OPC60, FA, BS, OPC35. Correlation coefficient between accelerated corrosion test and long-term exposure test, case 1 is 4.23 to 5.42, and case 2 is 6.54 to 7.82.

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

  • Cho, Young-Rae;Park, Hyun-Ju
    • Journal of Korean Ophthalmic Optics Society
    • /
    • v.12 no.1
    • /
    • pp.61-67
    • /
    • 2007
  • The binocular functional test was performed in test of both accommodation and convergence. The balance of accommodation and convergence was important. Objects were 100 adults in 18-36 years old ages. The used apparatus was vision tester(Shinnippon VT10)and visual chart(Shinnippon CT30). Accommodative lag test by fused cross cylinder were that in case of high 39.0%, in case of low 14.0%. Negative relative accommodation were that in case of high 23.0%, in case of low 38.0%. Positive relative accommodation were that in case of high 29.0%, in case of low 23.0%. In 18% were case of low accommodation.

  • PDF

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

  • Park, JeJun;Kang, DongSu
    • KIPS Transactions on Software and Data Engineering
    • /
    • v.6 no.3
    • /
    • pp.125-134
    • /
    • 2017
  • The SOA (Service Oriented Architecture) based softwares are escalated because of quickly coping with business requirement. SOA can not apply to existing test method because of loosely coupled service and massage exchange architecture. In this paper, we suggest a method of test case generation using BPMN (Business Process Model and Notation). First we model processes, then make Business Flow Graph (BFG). After searching the euler path through symmetrized BFG about input and output degrees, we generate test cases. A method of test case generation using BPMN can apply at SOA-based system, and reduce the number of test cases.

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

  • Kim, Hyo-Young;Han, Hyuk-Soo
    • Journal of KIISE:Software and Applications
    • /
    • v.34 no.3
    • /
    • pp.212-218
    • /
    • 2007
  • Not enough verification or enough design of test is not performing in many software developments organization as yet. Therefore, defects that can be detected and corrected during the beginning phases of development are usually found during dynamic testing, it is often observed that testing is inefficient compared to effort for testing. This study aims to suggest a method for effective testing through case study. It is useful in case of not verification and not enough design of test in the previous phase than coding. We show in a concrete way major activities that determine prioritization of testing and level of test case design through static testing, i.e. code review and analysis of code quality. And also we show role between test team and development team.