• Title/Summary/Keyword: Test Cases

Search Result 4,768, Processing Time 0.028 seconds

An Automatic Test Case Generation Method from Checklist (한글 체크리스트로부터 테스트 케이스 자동 생성 방안)

  • Kim, Hyun Dong;Kim, Dae Joon;Chung, Ki Hyun;Choi, Kyung Hee;Park, Ho Joon;Lee, Yong Yoon
    • KIPS Transactions on Software and Data Engineering
    • /
    • v.6 no.8
    • /
    • pp.401-410
    • /
    • 2017
  • This paper proposes a method to generate test cases in an automatic manner, based on checklist containing test cases used for testing embedded systems. In general, the items to be tested are defined in a checklist. However, most test case generation strategies recommend to test a system with not only the defined test items but also various mutated test conditions. The proposed method parses checklist in Korean file and figures out the system inputs and outputs, and operation information. With the found information and the user defined test case generation strategy, the test cases are automatically generated. With the proposed method, the errors introduced during manual test case generation may be reduced and various test cases not defined in checklist can be generated. The proposed method is implemented and the experiment is performed with the checklist for an medical embedded system. The feasibility of the proposed method is shown through the test cases generated from the checklist. The test cases are adequate to the coverages and their statistics are correct.

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.

Automatic Generation Method of Exceptional Test Cases for improving User Requirement Quality on Broadcast Receiver Software (방송 수신 소프트웨어의 사용자 요구 품질 향상이 가능한 예외상황 테스트케이스 자동생성 기법)

  • Choi, In-Hwa;Cho, Min-Ju;Paik, Jong-Ho;Hwang, Jun
    • Journal of Broadcast Engineering
    • /
    • v.17 no.3
    • /
    • pp.529-539
    • /
    • 2012
  • Testing is an important part of quality control in the software life cycle. One of the most important issues in the software testing is to generate the appropriate test cases. Generally, the software can be tested based on product understanding. However, it is not easy to create test cases that can ensure the quality of the software according to the clients' request. Especially, it is difficult to create test cases for abnormal or exceptional situations. In this paper, we present a novel approach to generate exceptional test cases at the design level of UML model. Furthermore, we describe the results of actual experiment where DAB(Digital Audio Broadcasting) parsing program is tested with previous method and also with the proposed method. The results implies that our proposed method of generating test cases for exceptional situations detect more faults than that of previous method by 7.08%.

A clinical study of allergic rhinitis (알레르기 비염에 관한 임상적 연구)

  • 채병윤
    • The Journal of Korean Medicine
    • /
    • v.21 no.3
    • /
    • pp.149-165
    • /
    • 2000
  • As recent developments of Immunology and Nuclear medicine, serum IgE and IgG values are helpful in the diagnosis and evaluation of the therapeutic effects of nasal allergies. But in Korea, air pollution and the increased use of food additives have become leading factors in nasal allergies, It seems to be induced by environmental change, especially industrialization and urbanization, so allergic rhinitis in our environment has changed in accordance with the changes made in the living environment. Therefore this study is attempted in order to observe a clinical analysis which places more importance on allergic rhinitis. We studied 200 patients who had visited Kyunghee Oriental Medical Center with allergic rhinitis from January 1, 1999 to December 31, 1999 The results were as follows: 1. The sex distribution was 114 males(57%) and 86 females(43%). In age distribution, the average age was 25. In males, ages ranged from 3 to 66 years old and the average was 23.81. In females, ages ranged from 4 to 67 years old and the average was 28.57. The peak age was 30~39 years old(24%); under 9 years old and 10~19 years old were each 18%; 20~29 years old was 22%; 40~49 years old was 11 %; over 50 years old 6.5%. The gulf between males and females showed a statistically significant difference(P<0.025). 2. In the age of onset, male' s maximum was 62.5, minimum was 0.25; female s maximum was 59.5, minimum was 0.2. Under 9 years old was the most with 34%(male 24%, female 10%), 10~19 years old was 18%, 20~29 years old was 22.5%, 30~39 years old was 13.50%, over 40 years old was 12%, The gulf between males and females were showed statistically significant difference.(p<0.014) 3. The average duration of the disease was 5.67 years. In male and female, the maximum was 30, the minimum was 0.05; under 5 years old was the most with 62%(male 34.50%, female 27.50%); 6~10 years old was 23%. So, under 10 years old was 85%. There was no statistically significant difference in the duration of disease. 4. Regarding type of residence, 47.50% of patients with allergic rhinitis lived in apartments, 52.50% lived in houses. In males, 29.50% lived in apartments, 27.50% lived in houses. In females, 18% lived in apartments, 25% lived in houses. There was no statistically significant difference in the residence by T-test and chi-test. 5. In the distribution of season, spring is the most with 29.5% of patients, winter 28%, fall 25.5%, and summer 17%. But there was no statistically significant difference. 6. After observing 200 patients with allergic rhinitis, classifying main symptoms into 5 types, sneezing was the main symptom in 177cases(88.50%), nasal obstruction in 176cases(88%), rhinorrhea in 169cases(84.5%), post nasal discharge in 87cases(43.50%), and itching in I04cases(52%). The Cumulus ration is 98.50% and symptoms overlapped with an average 3.57±0.1 times but in an analysis of variance of these symptoms, the gulf between males and females was not recognized as statistically significant by T-test and ANOVA. 7. Patients whose families have allergic diseases account for 90 cases(45%) : 49cases(24.50%) male and 41cases(20.50%) female. There were 4 cases (71.11 %) whose families have allergic rhinitis, 9cases(10%) of asthma, and 7.78% with allergic dermatitis. There were 61 (67.80%) cases of patients whose parents have allergic diseases; cases wherein the patient s child had allergic diseases numbered 13 (14.45%); and cases with a sibling with allergic diseases totalled 16cases (17.80%). There was no statistically significant difference in allergic disease regarding sex, parents, or siblings by chi-test. 8. Blood type: For males, type A is the most common, with 37cases(18.5%), followed by type B with 32cases(16%), type O 28cases(l4%) and type AB 13cases(6.5%). For females, type B is the most common, with 30cases(15%), followed by type O with 23cases(l1.5%), type A with 18cases(9%) and type AB with 13cases(6.5%). There was no statistically significant difference in blood type by chi-test. 9. In the selection of prefered food, most patients prefer cool food, with 98 such cases(49%), tepid food in 54cases(27%) and warm food in 48cases(24%). These showed a statistically significant difference in the selection of prefered food between males and females by chi-test(p<0.009). 10. The state of Past History was classified into II types. chronic hypertrophic rhinitis is the most common with 11cases (18.64%), tonsil and adenoid hypertrophy is 8cases(l3.56%), sinusitis is 6cases(10.17%), nasal septum deviation is 4cases, nasal polyp is 2cases, others are 10cases(l6.95%). No statistically significant difference in past history between males and females was shown, but a statistically significant difference was shown when males and females were compared with total cases by T-test(p<0.002, P<0.0008). 11. Regarding complications, 37 patients (28.91%) had sinusitis: 22cases(17.19%) in male, 15cases(11.72%) in female. Chronic hypertrophic rhinitis was found in 15cases(11.72%). Others are under 10%. There was no statistically significant difference in the type of complications between males and females, but a statistically significant difference was shown when males and females were compared with total cases by T-test(P<0.00l, P<0.007). 12. In the treatment, medication was used 1691 times, an average of 2.58 times. No.34 was used 370 times for 124 cases, an average of 2.98 times. No. 152 was used 318 times for 106 cases, an average of 3.00 times. No.151 was used 307 times for 97cases, an average of 3.16 times. No. 31 was used 117 times for 33 cases, an average of 3.55 times. No 25 was used 116 times for 33 cases, an average of 3.52 times. 13. In the duration of treatment, the most frequent is 1 week(69cases, 34.50%), the maximum is 20weeks, and the minimum is 1week. A treatment period of 2~3 weeks accounted for 32% of cases, a period of 4~5weeks accounted for 13.5%. The gulf between males and females showed a statistically significant difference in the duration of treatment.(p<0.01). There was a statistical significance when the males were compared with total cases by ANOVA(P<0.03). 14. A comparison between before-treatment and after-treatment showed a statistically significant difference in treatment by T-test (p<0.01) and F-test (p<0.0058).

  • PDF

Empirical Study on Test Case Prioritization Techniques of Regression Testing (회귀 테스팅의 테스트 케이스 우선 순위화 기법의 실험적 연구)

  • So Sun Sup;Chae Yigeun
    • The KIPS Transactions:PartD
    • /
    • v.12D no.2 s.98
    • /
    • pp.283-288
    • /
    • 2005
  • Test case prioritization methods schedule test cases for execution when we can not practically run all test cases for regression testing. We proposed a new prioritization method that is based on historical execution and mr detection data. And we conducted an experiment to compare the proposed method with existing Random and LRU methods using the fault age under the long run environment as criterion. The experiment shows several interesting results. First, our results show that they are complementary. Random method shows good performance for programs that have many error-detectable test cases and HED is more effective for the programs that can be detected by very small amount of test cases. But LRU is more effective for the programs that have relatively medium amount of error detectable test cases. Next, the performance of prioritization method is affected by the size of test suites. Two experiments that have different size of test suites show considerably different fault ages and performance order. And lastly, the $20\%$ of test cases shows considerably good performance compared to the execution result of the full test suite.

Server on the Distribution of Bovine Toxoplasma Antubodies by Latex Agglutination Test in Gyeongnam District (경남지역에서의 Latex응집반응을 이용한 소 톡소플라즈마 항체분포 조사)

  • 이병훈;류중운;황보원;변유성;조광제
    • Korean Journal of Veterinary Service
    • /
    • v.18 no.3
    • /
    • pp.36-41
    • /
    • 1995
  • This study was conducted to determine the serum antibodies against toxoplasma in bovine from gyeongnam district by latex agglutination(LA) test. LA test was carried out with Toxo-MT kit(Eikon chemical co). The result obtained were summerized as follow: 1. Positive rates of toxoplasma antibodies in 1,488 bovine sera was 5.0%(75 cases) by LA test. 2. The toxoplasma antibody detection rates against 823 korean cattle and 865 dairy cattle were 1.8%(11 cases) and 7.4%(64 cases) respectively. 3. In LA test serum antibody titers in 75 positive sera were shown as 54 cases(72.0% in 1:32, 9(12.0%) in 1:64, 7(9.4%) in 1:128, 3(3.40%) in 1:256, 1(1.3%) in 512 and 1(1.3%) in 1:2,048 respectively. 4. Positive rates of toxoplasma antibodies in cattls sera from each area were 0.2∼22.0%.

  • PDF

Automated Test Generation from Specifications Based on Formal Description Techniques

  • Chin, Byoung-Moon;Choe, Young-Han;Kim, Sung-Un;Jung, Jae-Il
    • ETRI Journal
    • /
    • v.19 no.4
    • /
    • pp.363-388
    • /
    • 1997
  • This paper describes a research result on automatic generation of abstract test cases from formal specifications by applying many related algorithms and techniques such as the testing framework, rural Chinese postman tour and unique input output sequence concepts. In addition, an efficient algorithm for verifying the strong connectivity of the reference finite state machine and the concept of unique event sequence are explained. We made use of several techniques to from an integrated framework for abstract test case generation from LOTOS and SDL specifications. A prototype of the proposed framework has been built with special attention to real protocol in order to generate the executable test cases in an automatic way. The abstract test cases in tree and tabular combined notation (TTCN) language will be applied to the TTCN compiler in order to obtain the executable test cases which re relevant to the industrial application.

  • PDF

Input/Output Relationship Based Adaptive Combinatorial Testing for a Software Component-based Robot System (소프트웨어 컴포넌트 기반 로봇 시스템을 위한 입출력 연관관계 기반 적응형 조합 테스팅 기법)

  • Kang, Jeong Seok;Park, Hong Seong
    • Journal of Institute of Control, Robotics and Systems
    • /
    • v.21 no.7
    • /
    • pp.699-708
    • /
    • 2015
  • In the testing of a software component-based robot system, generating test cases for the system is a time-consuming and difficult task that requires the combining of test data. This paper proposes an adaptive combinatorial testing method which is based on the input/output relationship among components and which automatically generates the test cases for the system. The proposed algorithm first generates an input/output relationship graph in order to analyze the input/output relationship of the system. It then generates the reduced set of test cases according to the analyzed type of input/output relationship. To validate the proposed algorithm some comparisons are given in terms of the time complexity and the number of test cases.

Automatic Generation of Software Test Cases using CFG (CFG를 이용한 소프트웨어 테스트 케이스의 자동 생성)

  • Yoon, Sung-Hee
    • Journal of the Korea Academia-Industrial cooperation Society
    • /
    • v.10 no.5
    • /
    • pp.985-991
    • /
    • 2009
  • A grammar-based test case generation (GBTG) algorithm takes a grammar G and generates a subset of the language L(G) accepted by G, and called test cases for software product testing. As most languages specified with CFG are recursive, usually L(G) is so large that it is not practical to execute all the of the generated cases. Therefore, this paper presents some "tags" : extra-grammatical annotations which are designed to restrict the generation. A number of control mechanisms have been developed to prune the number of test cases generated while still producing a test set that covers the majority of inputs to the system.

Survey on the Distrributions of Swine Toxoplasma Antibodies by Latex Agglutination Test in Gyeongnam Central Area (경남 중부지역에서의 Latex응집반응을 이용한 돼지 톡스플라즈마병 항체분포 조사)

  • 이병훈;황보훈;변유성;이순선;김차용;서명득
    • Korean Journal of Veterinary Service
    • /
    • v.15 no.2
    • /
    • pp.174-183
    • /
    • 1992
  • This study was conducted to determine the serum antibodies against toxoplasma in swine from breeding-pig farm, pig farm and abattoir by latex agglutination(LA) test. LA test was carried out with commercial Toxo-MT kit (Eiken chemical co.). The results obtained were summerized as follows : 1. The cut-off titer of positive and negative reactions by Toxo-MT antigen used in this experiment was determined as the serum dilution of 1 ; 32. 2. positive rates of toxoplasma antibodies in 823 swine sera were 17.0%(140 cases) by LA test. 3. The toxoplasma antibody detection rates against 194 swine sera in breeding-pig farm, 273 swine sera in pig farm and 356 swine in abattoir were 46.9%(91 cases), 8.4%(23 cases) and 7.3% (26 cases) , respectively. 4. In LA test serum antibody titers in 823 test sera were shown as 51 cases (36.4%) in 1 : 32, 40(28.6%) in 1;64, 17(12.1%) in 1:128, 14(10.0%) in 1:256, 10(7.1%) in 1:512, 5(3.6%) in 1:1,024, and 3(2.1%) in 1 : 2,048. 5. Positive rates of toxoplasma antibodies in swine sera from each breeding-pig farm were 20.0∼61.9%.

  • PDF