WO2016137035A1 - Test case generation device and method, and computer-readable recording medium for recording program for executing same - Google Patents
Test case generation device and method, and computer-readable recording medium for recording program for executing same Download PDFInfo
- Publication number
- WO2016137035A1 WO2016137035A1 PCT/KR2015/001867 KR2015001867W WO2016137035A1 WO 2016137035 A1 WO2016137035 A1 WO 2016137035A1 KR 2015001867 W KR2015001867 W KR 2015001867W WO 2016137035 A1 WO2016137035 A1 WO 2016137035A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- simulation
- function information
- test case
- tracking data
- simulation tracking
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
Definitions
- Embodiments of the present invention relate to a test case generating device and method and a computer-readable recording medium having recorded thereon a program for executing the same. More particularly, a test case generating device capable of generating a test case of a specific software. And a computer-readable recording medium having recorded thereon a method and a program for executing the same.
- Software testing is a very important step in improving software quality. About 30 to 60 percent of development costs are spent testing software.
- the requirements of each stage of development should be analyzed in a way to minimize the additional costs incurred during the development stage of the software and to increase the reusability and extensibility of the outputs generated at each stage of development. It is necessary to design requirements separately from the design stage and extract test cases. In this sense, creating test cases based on requirements is a very important part of the test work that determines the quality of the software.
- the conventional test case generation method simply generates a test case from source code of software.
- the conventional test case generation method has a problem that too many unnecessary test cases are generated because virtual data is used.
- the conventional test case generation method has a problem in that it is not possible to substitute actual data, so that a user cannot obtain a test case to be verified.
- An embodiment of the present invention provides a test case generating apparatus and method for generating a test case by generating a test case from source code of a specific software and linking simulation tracking data obtained by modeling the specific software through a simulation tool.
- a computer readable recording medium having recorded thereon a program for executing this is provided.
- embodiments of the present invention provide a test case generating device and method capable of generating necessary test cases without generating unnecessary and extensive test cases, and a computer-readable recording medium having recorded thereon a program for executing the test cases. .
- an embodiment of the present invention provides a computer-readable recording medium having a test case generating device and method capable of obtaining a real test case that is not virtual, and a program for executing the same.
- the function information storage unit for storing the function information provided from the source code analyzer;
- a simulation tracking data extraction unit for extracting simulation tracking data from a log file provided from a simulation tool;
- a mapping unit generating a simulation tracking table by mapping the simulation tracking data provided from the simulation tracking data extraction unit to the function information provided from the function information storage unit.
- a case case calculator configured to receive the simulation tracking table generated by the mapping unit and calculate a test case.
- the function information stored in the function information storage may be displayed on the screen of the display device.
- simulation tracking data extracted by the simulation tracking data extractor may be displayed on the screen of the display device.
- the function information and the simulation tracking data provided to the mapping unit may be displayed on the screen of the display device.
- the simulation tracking data may be partial data in the log file.
- the mapping unit may automatically classify the function information according to a preset order and format, and the simulation tracking data may be selected by an input device including a mouse or a keyboard and provided to the mapping unit.
- the simulation tracking table may be a comma-separated values (CSV) file.
- CSV comma-separated values
- Test method generation method the storage step of storing the function information provided from the source code analyzer; An extraction step of extracting simulation tracking data from a log file provided from a simulation tool; A mapping step of mapping the simulation tracking data to the function information to generate a simulation tracking table; And calculating a test case from the simulation tracking table.
- the function information may be displayed on the screen of the display device.
- the simulation tracking data may be displayed on the screen of the display device.
- mapping of the simulation tracking data to the function information may be displayed on the screen of the display device.
- the simulation tracking data may be partial data in the log file.
- the mapping may automatically classify the function information according to a preset order and format, and the simulation tracking data of the mapping may be selected by an input device including a mouse or a keyboard.
- the simulation tracking table may be a comma-separated values (CSV) file.
- CSV comma-separated values
- a recording medium is a computer-readable recording medium that records a program for executing the test case generation method described above.
- test case is generated from the source code of a specific software, and the simulation software generates the test case. It has the advantage of generating test cases by linking simulation trace data obtained by modeling.
- test case can be generated by interlocking the data of the static analysis support tool and the data of the dynamic analysis support tool.
- test case may be generated by interworking data of a program semantic verification support tool such as Sparrow and data of a simulation-based verification support tool such as model space.
- program semantic verification support tool such as Sparrow
- simulation-based verification support tool such as model space
- FIG. 1 is a schematic block diagram of a test case generation system including a test case generation device according to an embodiment of the present invention.
- FIG. 2 is a detailed block diagram of the test case generating apparatus 300 shown in FIG. 1.
- FIG. 3 is a diagram illustrating that the test case generating device 300 shown in FIG. 2 displays predetermined information on a screen of a display device.
- FIG. 4 is an example of specific software modeled using the simulation tool 200 shown in FIG. 1.
- FIG. 5 is a graph showing output values of Mux illustrated in FIG. 4 over time.
- FIG. 7 is a diagram for describing an example of a simulation tracking table generated by the mapping unit 350 illustrated in FIG. 2.
- FIG. 8 is a diagram illustrating an example of a test case calculated by the test case calculator 370 shown in FIG. 2.
- FIG. 1 is a schematic block diagram of a test case generation system including a test case generation device according to an embodiment of the present invention.
- a test case generating apparatus 300 receives a predetermined information, a file, or data from a source code analyzer 100 and a simulation tool 200, and receives a predetermined information.
- Test cases can be generated using information, files, or data, and the generated case cases can be output.
- the test case generating apparatus 300 receives the function information from the source code analyzer 100.
- the function information is output from the source code analyzer 100.
- the source code analyzer 100 is a static code analysis tool, and may generate function information by analyzing source code of a specific software.
- the function information output from the source code analyzer 100 may include a kind, a type, and a name of each of the various functions used in the source code.
- the function information output from the source code analyzer 100 may include code metric information such as the maximum nesting level, the number of calls, the number of calls, the complexity, the coherence degree, the control flow graph, the function call relationship, the source header. It can also contain information such as associations.
- function information output from the source code analyzer 100 may include rule violation information by rule, by severity, and by source code location.
- the test case generating apparatus 300 receives a log file from the simulation tool 200.
- the log file is output from the simulation tool 200.
- the simulation tool 200 is a tool that can model specific software in a virtual space inside a computer, not source code. Therefore, the specific software may be represented as a predetermined model through the simulation tool 200.
- the log file output from the simulation tool 200 includes a predetermined input value selected by an input device such as a mouse or a keyboard by a user or a computer, and an output value by the input value.
- an input device such as a mouse or a keyboard by a user or a computer
- an output value by the input value may be one or plural.
- the specific software modeled by the simulation tool 200 is the same as the specific software indicated by the source code input to the source code analyzer 100. That is, the function information of the source code analyzer 100 and the log file of the simulation tool 200 input to the case case generating apparatus 300 according to the embodiment of the present invention are not related to different software, but to the same software. It is about.
- the test case generating apparatus 300 generates a test case using the function information provided from the source code analyzer 100 and the log file provided from the simulation tool 200.
- the test case generating apparatus 300 will be described in detail with reference to FIG. 2.
- FIG. 2 is a detailed block diagram of the test case generating apparatus 300 shown in FIG. 1.
- the test case generating apparatus 300 may include a function information storage unit 310, a simulation tracking data extractor 330, a mapping unit 350, and a test case calculator 370.
- the function information storage unit 310 stores function information.
- the function information is provided from the source code analyzer 100 shown in FIG.
- the test case generating apparatus 300 may display the function information stored in the function information storage 310 on the screen of the display device. A specific example will be described with reference to FIG. 3.
- FIG. 3 is a diagram illustrating that the test case generating device 300 shown in FIG. 2 displays predetermined information on a screen of a display device.
- the test case generating apparatus 300 illustrated in FIG. 2 may display the function information stored in the function information storage 310 illustrated in FIG. 2 on the screen of the display device, such as 'A'. . This is to show the function information to the user using the test case generating apparatus 300 shown in FIG.
- the function information stored in the function information storage unit 310 shown in FIG. 2 includes a Kind, a Type, and a Name for each function. .
- the simulation trace data extractor 330 extracts simulation trace data from a log file.
- the log file is provided from the simulation tool 200 shown in FIG. 1, and the simulation tracking data means a lot of data included in the log file.
- the simulation trace data may be some data among the numerous data included in the log file. An example of the simulation tracking data will be described in detail with reference to FIGS. 4 to 6.
- FIG. 4 is an example of specific software modeled using the simulation tool 200 shown in FIG. 1
- FIG. 5 is a graph showing output values over time of Mux shown in FIG. 4
- FIG. 6 is simulation tracking data. Is one example.
- the log file provided from the simulation tool 200 stores data about each block name, time, input port, output port, and value for each port of the modeling shown in FIG. 4. Include.
- the simulation trace data may be all data in the log file and may be some data in the log file.
- the simulation tracking data extractor 330 shown in FIG. 2 extracts all data in the log file as simulation tracking data and stores the extracted simulation tracking data.
- the simulation tracking data extracting unit 330 illustrated in FIG. 2 may extract some predetermined data from among the data in the log file as illustrated in FIG. 6. have. Save the extracted simulation trace data.
- the test case generating apparatus 300 may display simulation tracking data stored in the simulation tracking data extracting unit 330 on the screen of the display device, as illustrated in 'B' of FIG. 3. Can be. This is to show simulation tracking data to a user who uses the test case generating apparatus 300.
- the mapping unit 350 receives the function information from the function information storage unit 310 and the simulation tracking data from the simulation tracking data extracting unit 330. And, mapping data is generated by mapping simulation tracking data to function information.
- the test case generating apparatus 300 may display the mapping unit 350 provided with the function information and the simulation tracking data on the screen of the display apparatus, as illustrated in "C" of FIG. 3.
- the mapping unit 350 receives the function information from the function information storage unit 330, and automatically classifies the provided function information according to a preset order and format.
- An example of classified function information is shown as 'C' in FIG. 3.
- the classified function information may be sorted in the order of Kind, Type, and Name.
- the mapping unit 350 receives simulation tracking data from the simulation tracking data extractor 330.
- the received simulation tracking data may be a value selected by an input device such as a mouse or a keyboard from the simulation tracking data.
- the mapping unit 350 automatically classifies the function information provided from the function information storage unit 330 according to a preset order and format and tracks the simulation selected by the input device. Data is provided as the value of a specific function.
- mapping unit 350 After the mapping unit 350 classifies the function information and receives the simulation trace data, the mapping unit 350 generates a simulation trace table.
- An example of the simulation tracking table will be described with reference to FIG. 7.
- FIG. 7 is a diagram for describing an example of a simulation tracking table generated by the mapping unit 350 illustrated in FIG. 2.
- left tables Time, in1, and out1 are simulation tracking data
- right table Func is function information.
- a packed symbol ' ⁇ ' means that predetermined simulation tracking data of the left table Time, in1, and out1 are mapped to a function SYS () of the right table Func.
- the simulation tracking table generated by the mapping unit 350 may be output from the mapping unit 350 in the form of a comma-separated values (CSV) file.
- CSV comma-separated values
- the test case calculator 370 receives a simulation tracking table generated by the mapping unit 350 and calculates a test case from the provided simulation tracking table.
- the test case calculator 370 may receive a CSV file output from the mapping unit 350 to calculate a test case. An example of the generated test case will be described with reference to FIG. 8.
- FIG. 8 is a diagram illustrating an example of a test case calculated by the test case calculator 370 shown in FIG. 2.
- the calculated test case may confirm that simulation tracking data is combined with function information analyzing the source code.
- the conventional test case may not include a decimal point value such as 0.0xxxx, but is calculated by the test case generating apparatus according to the embodiment of the present invention.
- the test case may include the decimal point value in the case case.
- test case generating apparatus 300 combines the simulation tracking data obtained through the simulation tool with the function information obtained through the source code analyzer, thereby making it unnecessary and vast for a user who wants to verify a specific software. This has the advantage of providing test cases that are actually needed rather than test cases.
- FIG. 9 is a flowchart illustrating a test case generation method according to an embodiment of the present invention.
- a test case generation method may include a storage step 910, an extraction step 920, a mapping step 930, and a calculation step 940.
- the storage step 910 stores the function information provided from the source code analyzer 100 shown in FIG.
- the function information may include a kind, a type, and a name of each of the various functions used in the source code.
- the function information may include code metric information such as maximum nesting level, called number, call count, complexity, and cohesion, and may also include information such as control flow graph, function call relation, and source header association. have.
- the function information may include rule violation information by rule, by severity, and by source code location.
- the storing step 910 may display the stored function information on the screen of the display device.
- the extraction step 920 extracts simulation tracking data from the log file provided from the simulation tool 200 shown in FIG. 1.
- the log file includes a predetermined input value selected by an input device such as a mouse or a keyboard by a user or a computer, and an output value by the input value.
- an input device such as a mouse or a keyboard by a user or a computer
- an output value by the input value.
- each of the input value and the output value may be one or plural.
- the simulation trace data may be some of the numerous data included in the log file.
- the extraction step 920 may display the extracted simulation tracking data on the screen of the display device.
- the mapping step 930 maps simulation tracking data to function information to generate a simulation tracking table.
- the mapping step 930 automatically classifies the function information according to a preset order and format, receives the simulation tracking data selected by the input device, and converts the provided simulation tracking data into a value of a specific function. Be sure to Then, a simulation tracking table in which simulation tracking data is mapped to function information is generated.
- mapping step 930 a process of automatically classifying function information according to a preset order and format and receiving simulation tracking data selected by an input device as a value of a specific function on a screen of the display device. I can display it.
- the simulation tracking table may be in the form of a comma-separated values (CSV) file.
- CSV comma-separated values
- the calculating step 940 calculates a test case from the simulation tracking table.
- test case generation method is unnecessary for a user who wants to verify a specific software by combining simulation tracking data obtained through a simulation tool with function information obtained through a source code analyzer.
- the advantage is that you can provide the test cases that you actually need.
- the above-described embodiments may be implemented in the form of program instructions that can be executed by various computer components, and recorded on a computer-readable recording medium.
- the computer-readable recording medium may include program instructions, data files, data structures, etc. alone or in combination.
- Program instructions recorded on the computer-readable recording medium may be those specially designed and configured for the present invention, or may be known and available to those skilled in the computer software arts.
- Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical recording media such as CD-ROMs, DVDs, and magneto-optical media such as floptical disks. optical media) and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like.
- the hardware device may be configured to operate as one or more software modules to carry out the process according to the invention, and vice versa.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
본 발명의 실시 형태는, 테스트 케이스 생성 장치와 방법 및 이를 실행하기 위한 프로그램을 기록한 컴퓨터로 판독가능한 기록매체에 관한 것으로, 좀 더 상세하게는 특정 소프트웨어의 테스트 케이스를 생성할 수 있는 테스트 케이스 생성 장치와 방법 및 이를 실행하기 위한 프로그램을 기록한 컴퓨터로 판독가능한 기록매체에 관한 것이다.Embodiments of the present invention relate to a test case generating device and method and a computer-readable recording medium having recorded thereon a program for executing the same. More particularly, a test case generating device capable of generating a test case of a specific software. And a computer-readable recording medium having recorded thereon a method and a program for executing the same.
소프트웨어의 테스트는 소프트웨어의 문제를 최소화하기 위해서 반드시 필요하다. 최근 소프트웨어의 품질이 중요해지면서 소프트웨어 분야에서는 보다 다양하고 향상된 테스트 방법을 요구하고 있다. 그 이유는 소프트웨어의 테스트를 수행하는 대상인 임베디드 시스템 및 소프트웨어 시스템들이 단일에서 이종 복합으로 변화해 가면서 소프트웨어의 규모가 점점 커져가고 있기 때문이다. Software testing is essential to minimize software problems. Recently, as the quality of software becomes more important, the software field is demanding more various and improved test methods. The reason is that as the embedded systems and software systems that test the software are changing from single to heterogeneous, the software is getting bigger.
소프트웨어의 품질향상에 있어서 소프트웨어 테스팅은 매우 중요한 단계이다. 개발비용 중 약 30∼60%가 소프트웨어의 테스팅에 소요되고 있다. Software testing is a very important step in improving software quality. About 30 to 60 percent of development costs are spent testing software.
종래의 소프트웨어 테스팅은 소프트웨어를 개발하는 과정 중에서 마지막 단계로서, 소프트웨어 개발 생명주기의 전통적인 방법을 적용하게 된다. 그렇지만 마지막 단계에서 적용하는 소프트웨어의 테스팅은 소프트웨어의 개발에 추가비용이 발생할 수 있고, 결함을 수정하는데 상당한 비용이 발생하게 된다.Conventional software testing is the last step in the software development process, applying traditional methods of the software development life cycle. However, testing the software in the final stages can add extra cost to the development of the software and incur significant costs to fix the defects.
따라서, 소프트웨어의 개발 단계에서 발생할 수 있는 추가 비용을 최소화하고, 각 개발 단계에서 산출된 결과물에 대한 재사용성(reusability) 및 확장성(extensibility)을 높이기 위한 방법으로 각 개발 단계별 요구사항을 분석하고, 설계 단계에서부터 요구사항을 구분하여 설계하며, 테스트 케이스를 추출하는 것이 필요하다. 이러한 의미에서 요구사항을 기반으로 하는 테스트 케이스의 생성은 소프트웨어의 질을 결정하는 테스트 작업에서 매우 중요한 부분을 차지하는 작업이다.Therefore, the requirements of each stage of development should be analyzed in a way to minimize the additional costs incurred during the development stage of the software and to increase the reusability and extensibility of the outputs generated at each stage of development. It is necessary to design requirements separately from the design stage and extract test cases. In this sense, creating test cases based on requirements is a very important part of the test work that determines the quality of the software.
종래의 테스트 케이스 생성 방법은, 단순히 소프트웨어의 소스코드로부터 테스트 케이스를 생성하였다. 종래의 테스트 케이스 생성 방법은, 가상의 데이터를 이용하기 때문에, 너무 많은 불필요한 테스트 케이스가 생성된다는 문제가 있다. The conventional test case generation method simply generates a test case from source code of software. The conventional test case generation method has a problem that too many unnecessary test cases are generated because virtual data is used.
또한, 종래의 테스트 케이스 생성 방법은, 실제의 데이터를 대입할 수 없어 사용자가 검증하고자 하는 테스트 케이스를 얻을 수 없다는 문제가 있다.In addition, the conventional test case generation method has a problem in that it is not possible to substitute actual data, so that a user cannot obtain a test case to be verified.
본 발명의 실시 형태는, 특정 소프트웨어의 소스코드로부터 테스트 케이스를 생성하되, 시뮬레이션 도구를 통해 상기 특정 소프트웨어를 모델링하여 얻은 시뮬레이션 추적 데이터를 연동시켜 테스트 케이스를 생성할 수 있는 테스트 케이스 생성 장치와 방법 및 이를 실행하기 위한 프로그램을 기록한 컴퓨터로 판독가능한 기록매체를 제공한다.An embodiment of the present invention provides a test case generating apparatus and method for generating a test case by generating a test case from source code of a specific software and linking simulation tracking data obtained by modeling the specific software through a simulation tool. A computer readable recording medium having recorded thereon a program for executing this is provided.
또한, 본 발명의 실시 형태는, 불필요하고 방대한 테스트 케이스가 생성되지 않고, 필요한 테스트 케이스를 생성할 수 있는 테스트 케이스 생성 장치와 방법 및 이를 실행하기 위한 프로그램을 기록한 컴퓨터로 판독가능한 기록매체를 제공한다.In addition, embodiments of the present invention provide a test case generating device and method capable of generating necessary test cases without generating unnecessary and extensive test cases, and a computer-readable recording medium having recorded thereon a program for executing the test cases. .
또한, 본 발명의 실시 형태는, 가상이 아닌 실제 테스트 케이스를 얻을 수 있는 테스트 케이스 생성 장치와 방법 및 이를 실행하기 위한 프로그램을 기록한 컴퓨터로 판독가능한 기록매체를 제공한다.In addition, an embodiment of the present invention provides a computer-readable recording medium having a test case generating device and method capable of obtaining a real test case that is not virtual, and a program for executing the same.
본 발명의 실시 형태에 따른 테스트 케이스 생성 장치는, 소스코드 분석기로부터 제공되는 함수 정보를 저장하는 함수 정보 저장부; 시뮬레이션 도구로부터 제공되는 로그 파일로부터 시뮬레이션 추적 데이터를 추출하는 시뮬레이션 추적 데이터 추출부; 및 상기 함수 정보 저장부로부터 제공된 상기 함수 정보에 상기 시뮬레이션 추적 데이터 추출부로부터 제공된 상기 시뮬레이션 추적 데이터를 매핑하여 시뮬레이션 추적 테이블을 생성하는 매핑부; 및 상기 매핑부에서 생성된 상기 시뮬레이션 추적 테이블을 제공받아 테스트 케이스를 산출하는 테이스 케이스 산출부;를 포함한다.An apparatus for generating test cases according to an embodiment of the present invention, the function information storage unit for storing the function information provided from the source code analyzer; A simulation tracking data extraction unit for extracting simulation tracking data from a log file provided from a simulation tool; And a mapping unit generating a simulation tracking table by mapping the simulation tracking data provided from the simulation tracking data extraction unit to the function information provided from the function information storage unit. And a case case calculator configured to receive the simulation tracking table generated by the mapping unit and calculate a test case.
여기서, 상기 함수 정보 저장부에 저장된 상기 함수 정보를 디스플레이 장치의 화면에 표시할 수 있다.Here, the function information stored in the function information storage may be displayed on the screen of the display device.
여기서, 상기 시뮬레이션 추적 데이터 추출부에서 추출된 상기 시뮬레이션 추적 데이터를 디스플레이 장치의 화면에 표시할 수 있다.Here, the simulation tracking data extracted by the simulation tracking data extractor may be displayed on the screen of the display device.
여기서, 상기 매핑부에 제공되는 상기 함수 정보와 상기 시뮬레이션 추적 데이터를 디스플레이 장치의 화면에 표시할 수 있다.Here, the function information and the simulation tracking data provided to the mapping unit may be displayed on the screen of the display device.
여기서, 상기 시뮬레이션 추적 데이터는, 상기 로그 파일 내의 일부 데이터일 수 있다.The simulation tracking data may be partial data in the log file.
여기서, 상기 매핑부는, 상기 함수 정보를 미리 설정된 순서와 형식에 따라 자동으로 분류하고, 상기 시뮬레이션 추적 데이터는 마우스 또는 키보드를 포함하는 입력 장치에 의해서 선택되어 상기 매핑부로 제공될 수 있다.The mapping unit may automatically classify the function information according to a preset order and format, and the simulation tracking data may be selected by an input device including a mouse or a keyboard and provided to the mapping unit.
여기서, 상기 시뮬레이션 추적 테이블은 CSV(Comma-Separated Values) 파일일 수 있다.Here, the simulation tracking table may be a comma-separated values (CSV) file.
본 발명의 실시 형태에 따른 테스트 케이스 생성 방법은, 소스코드 분석기로부터 제공되는 함수 정보를 저장하는 저장 단계; 시뮬레이션 도구로부터 제공되는 로그 파일로부터 시뮬레이션 추적 데이터를 추출하는 추출 단계; 상기 함수 정보에 상기 시뮬레이션 추적 데이터를 매핑하여 시뮬레이션 추적 테이블을 생성하는 매핑 단계; 및 상기 시뮬레이션 추적 테이블로부터 테스트 케이스를 산출하는 산출 단계;를 포함한다.Test method generation method according to an embodiment of the present invention, the storage step of storing the function information provided from the source code analyzer; An extraction step of extracting simulation tracking data from a log file provided from a simulation tool; A mapping step of mapping the simulation tracking data to the function information to generate a simulation tracking table; And calculating a test case from the simulation tracking table.
여기서, 상기 함수 정보를 디스플레이 장치의 화면에 표시할 수 있다.Here, the function information may be displayed on the screen of the display device.
여기서, 상기 시뮬레이션 추적 데이터를 디스플레이 장치의 화면에 표시할 수 있다.Here, the simulation tracking data may be displayed on the screen of the display device.
여기서, 상기 함수 정보에 상기 시뮬레이션 추적 데이터가 매핑되는 것을 디스플레이 장치의 화면에 표시할 수 있다.Here, the mapping of the simulation tracking data to the function information may be displayed on the screen of the display device.
여기서, 상기 시뮬레이션 추적 데이터는, 상기 로그 파일 내의 일부 데이터일 수 있다.The simulation tracking data may be partial data in the log file.
여기서, 상기 매핑 단계는, 상기 함수 정보를 미리 설정된 순서와 형식에 따라 자동으로 분류하고, 상기 매핑 단계의 상기 시뮬레이션 추적 데이터는 마우스 또는 키보드를 포함하는 입력 장치에 의해서 선택될 수 있다.The mapping may automatically classify the function information according to a preset order and format, and the simulation tracking data of the mapping may be selected by an input device including a mouse or a keyboard.
여기서, 상기 시뮬레이션 추적 테이블은 CSV(Comma-Separated Values) 파일일 수 있다.Here, the simulation tracking table may be a comma-separated values (CSV) file.
본 발명의 실시 형태에 따른 기록매체는, 상술한 테스트 케이스 생성 방법을 실행하기 위한 프로그램을 기록한 컴퓨터로 판독가능한 기록매체이다.A recording medium according to an embodiment of the present invention is a computer-readable recording medium that records a program for executing the test case generation method described above.
본 발명의 실시 형태에 따른 테스트 케이스 생성 장치와 방법 및 이를 실행하기 위한 프로그램을 기록한 컴퓨터로 판독가능한 기록매체를 사용하면, 특정 소프트웨어의 소스코드로부터 테스트 케이스를 생성하되, 시뮬레이션 도구를 통해 상기 특정 소프트웨어를 모델링하여 얻은 시뮬레이션 추적 데이터를 연동시켜 테스트 케이스를 생성할 수 있는 이점이 있다.Using a test case generating apparatus and method and a computer-readable recording medium having recorded thereon a program for executing the test case, the test case is generated from the source code of a specific software, and the simulation software generates the test case. It has the advantage of generating test cases by linking simulation trace data obtained by modeling.
또한, 정적 분석 지원 도구의 데이터와 동적 분석 지원 도구의 데이터를 연동하여 테스트 케이스를 생성할 수 있는 이점이 있다. In addition, the test case can be generated by interlocking the data of the static analysis support tool and the data of the dynamic analysis support tool.
또한, 스패로우(Sparrow)와 같은 프로그램 의미 분석 검증 지원 도구의 데이터와 모델 스페이스(Model Space)와 같은 시뮬레이션 기반 검증 지원 도구의 데이터를 연동하여 테스트 케이스를 생성할 수 있는 이점이 있다.In addition, a test case may be generated by interworking data of a program semantic verification support tool such as Sparrow and data of a simulation-based verification support tool such as model space.
또한, 불필요하고 방대한 테스트 케이스가 생성되지 않고, 필요한 테스트 케이스를 생성할 수 있는 이점이 있다.In addition, an unnecessary and massive test case is not generated, and there is an advantage that a required test case can be generated.
또한, 가상이 아닌 실제 테스트 케이스를 얻을 수 있는 이점이 있다.In addition, there is an advantage of obtaining a real test case, not a virtual one.
도 1은 본 발명의 실시 형태에 따른 테스트 케이스 생성 장치를 포함하는 테스트 케이스 생성 시스템의 개략적인 블록도이다.1 is a schematic block diagram of a test case generation system including a test case generation device according to an embodiment of the present invention.
도 2은 도 1에 도시된 테스트 케이스 생성 장치(300)의 구체적인 블록도이다.FIG. 2 is a detailed block diagram of the test
도 3은 도 2에 도시된 테스트 케이스 생성 장치(300)가 디스플레이 장치의 화면에 소정의 정보를 표시한 것을 보여주는 도면이다.FIG. 3 is a diagram illustrating that the test
도 4는 도 1에 도시된 시뮬레이션 도구(200)를 이용하여 모델링된 특정 소프트웨어의 일 예이다.FIG. 4 is an example of specific software modeled using the
도 5는 도 4에 도시된 Mux의 시간에 따른 출력값을 보여주는 그래프이다.FIG. 5 is a graph showing output values of Mux illustrated in FIG. 4 over time.
도 6은 시뮬레이션 추적 데이터의 일 예이다.6 is an example of simulation tracking data.
도 7은 도 2에 도시된 매핑부(350)에서 생성된 시뮬레이션 추적 테이블의 일 예를 설명하기 위한 도면이다.FIG. 7 is a diagram for describing an example of a simulation tracking table generated by the
도 8은 도 2에 도시된 테스트 케이스 산출부(370)에서 산출된 테스트 케이스의 일 예를 보여주는 도면이다.FIG. 8 is a diagram illustrating an example of a test case calculated by the
이하, 본 발명의 바람직한 실시예의 상세한 설명이 첨부된 도면들을 참조하여 설명된다. 도면들 중 인용부호들 및 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 인용부호들로 표시됨을 유의해야 한다. 참고로 본 발명을 설명함에 있어서 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 이하 첨부된 도면을 참조하여 본 발명의 실시 형태에 따른 테스트 케이스 생성 장치와 방법 및 이를 실행하기 위한 프로그램을 기록한 컴퓨터로 판독가능한 기록매체를 설명한다.DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, detailed descriptions of preferred embodiments of the present invention will be described with reference to the accompanying drawings. It should be noted that reference numerals and like elements among the drawings are denoted by the same reference numerals as much as possible even if they are shown in different drawings. For reference, in the following description of the present invention, if it is determined that a detailed description of related known functions or configurations may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted. DETAILED DESCRIPTION Hereinafter, a computer-readable recording medium recording a test case generating apparatus and method and a program for executing the same according to embodiments of the present invention will be described with reference to the accompanying drawings.
도 1은 본 발명의 실시 형태에 따른 테스트 케이스 생성 장치를 포함하는 테스트 케이스 생성 시스템의 개략적인 블록도이다.1 is a schematic block diagram of a test case generation system including a test case generation device according to an embodiment of the present invention.
도 1을 참조하면, 본 발명의 실시 형태에 따른 테스트 케이스 생성 장치(300)는, 소스코드 분석기(100)와 시뮬레이션 도구(200)로부터 소정의 정보, 파일 또는 데이터를 제공받고, 제공받은 소정의 정보, 파일 또는 데이터를 이용하여 테스트 케이스(test case)를 생성하고, 생성된 테이스 케이스를 출력할 수 있다.Referring to FIG. 1, a test
테스트 케이스 생성 장치(300)는 소스코드 분석기(100)로부터 함수 정보를 제공받는다. The test
함수 정보는 소스코드 분석기(100)에서 출력된다. 소스코드 분석기(100)는 정적 코드 분석 도구로서, 특정 소프트웨어의 소스코드를 분석하여 함수 정보를 생성할 수 있다. The function information is output from the
소스코드 분석기(100)에서 출력되는 함수 정보는, 소스코드에 사용된 여러 함수(function)들 각각의 종류(kind), 유형(type) 및 이름(name)을 포함할 수 있다. The function information output from the
또한, 소스코드 분석기(100)에서 출력되는 함수 정보는, 최대중첩레벨, 피호출수, 호출수, 복잡도, 응집도와 같은 코드 메트릭 정보를 포함할 수도 있고, 제어흐름그래프, 함수 호출 관계, 소스 헤더 연관 관계와 같은 정보도 포함할 수 있다. In addition, the function information output from the
또한, 소스코드 분석기(100)에서 출력되는 함수 정보는, 규칙별, 심각도별, 소스코드 위치별로 규칙 위반 사항 정보를 포함할 수도 있다.In addition, the function information output from the
테스트 케이스 생성 장치(300)는 시뮬레이션 도구(200)로부터 로그 파일을 제공받는다.The test
로그 파일은 시뮬레이션 도구(200)에서 출력된다. 시뮬레이션 도구(200)는 특정 소프트웨어를 소스코드가 아닌 컴퓨터 내부의 가상공간에 모델링할 수 있는 도구이다. 따라서, 시뮬레이션 도구(200)를 통해 특정 소프트웨어는 소정의 모델로 표현될 수 있다. The log file is output from the
시뮬레이션 도구(200)에서 출력되는 로그 파일은, 사용자(user) 또는 컴퓨터에 의해 마우스나 키보드와 같은 입력 장치가 선택한 소정의 입력값과 상기 입력값에 의한 출력값을 포함한다. 여기서, 상기 입력값과 상기 출력값 각각은 하나일 수도 있고, 복수일 수 있다.The log file output from the
시뮬레이션 도구(200)가 모델링하는 특정 소프트웨어는, 소스코드 분석기(100)로 입력된 소스코드가 나타내는 특정 소프트웨어와 동일한 것이다. 즉, 본 발명의 실시 형태에 따른 테이스 케이스 생성 장치(300)로 입력되는 소스코드 분석기(100)의 함수 정보와 시뮬레이션 도구(200)의 로그 파일은 각기 서로 다른 소프트웨어에 관한 것이 아니라 동일한 소프트웨어에 관한 것이다.The specific software modeled by the
테스트 케이스 생성 장치(300)는 소스코드 분석기(100)로부터 제공되는 함수 정보와 시뮬레이션 도구(200)로부터 제공되는 로그 파일을 이용하여 테스트 케이스를 생성한다. 이하에서는, 도 2를 참조하여 테스트 케이스 생성 장치(300)를 구체적으로 설명하도록 한다.The test
도 2은 도 1에 도시된 테스트 케이스 생성 장치(300)의 구체적인 블록도이다.FIG. 2 is a detailed block diagram of the test
도 2를 참조하면, 테스트 케이스 생성 장치(300)는 함수 정보 저장부(310), 시뮬레이션 추적 데이터 추출부(330), 매핑부(350) 및 테스트 케이스 산출부(370)를 포함할 수 있다.2, the test
함수 정보 저장부(310)는, 함수 정보를 저장한다. 함수 정보는 도 1에 도시된 소스코드 분석기(100)로부터 제공된다. The function
테스트 케이스 생성 장치(300)는 함수 정보 저장부(310)에 저장된 함수 정보를 디스플레이 장치의 화면에 표시할 수 있다. 구체적인 일 예를 도 3을 참조하여 설명한다.The test
도 3은 도 2에 도시된 테스트 케이스 생성 장치(300)가 디스플레이 장치의 화면에 소정의 정보를 표시한 것을 보여주는 도면이다.FIG. 3 is a diagram illustrating that the test
도 3을 참조하면, 도 2에 도시된 테스트 케이스 생성 장치(300)는 도 2에 도시된 함수 정보 저장부(310)에 저장된 함수 정보를 ‘A’와 같이 디스플레이 장치의 화면에 표시할 수 있다. 이는 도 2에 도시된 테스트 케이스 생성 장치(300)를 이용하는 사용자에게 함수 정보를 보여주기 위함이다.Referring to FIG. 3, the test
도 3의 ‘A’를 참조하면, 도 2에 도시된 함수 정보 저장부(310)에 저장된 함수 정보는, 함수(function)별 종류(Kind), 유형(Type) 및 이름(Name)을 포함한다.Referring to 'A' of FIG. 3, the function information stored in the function
다시, 도 2를 참조하면, 시뮬레이션 추적 데이터 추출부(330)는, 로그 파일로부터 시뮬레이션 추적 데이터(simulation trace data)를 추출한다. 로그 파일은 도 1에 도시된 시뮬레이션 도구(200)로부터 제공되고, 시뮬레이션 추적 데이터는 로그 파일 내에 포함된 수많은 데이터를 의미한다. 여기서, 시뮬레이션 추적 데이터는 로그 파일 내에 포함된 수많은 데이터들 중 일부 데이터일 수도 있다. 시뮬레이션 추적 데이터의 일 예를 도 4 내지 도 6을 참조하여 구체적으로 설명한다.Referring back to FIG. 2, the simulation
도 4는 도 1에 도시된 시뮬레이션 도구(200)를 이용하여 모델링된 특정 소프트웨어의 일 예이고, 도 5는 도 4에 도시된 Mux의 시간에 따른 출력값을 보여주는 그래프이고, 도 6은 시뮬레이션 추적 데이터의 일 예이다.FIG. 4 is an example of specific software modeled using the
시뮬레이션 도구(200)로부터 제공되는 로그 파일은, 도 4에 도시된 모델링의 각 블록 이름(Block Name), 시간(Time), 입력 포트(port), 출력 포트, 및 각 포트별 값에 관한 데이터를 포함한다. The log file provided from the
시뮬레이션 추적 데이터는, 로그 파일 내의 모든 데이터일 수 있고, 로그 파일 내의 일부 데이터일 수 있다. 시뮬레이션 추적 데이터가 로그 파일 내의 모든 데이터인 경우 도 2에 도시된 시뮬레이션 추적 데이터 추출부(330)는 로그 파일 내의 모든 데이터를 시뮬레이션 추적 데이터로 추출하고, 추출된 시뮬레이션 추적 데이터를 저장한다.The simulation trace data may be all data in the log file and may be some data in the log file. When the simulation tracking data is all data in the log file, the simulation tracking
시뮬레이션 추적 데이터가 로그 파일 내의 일부 데이터인 경우, 도 2에 도시된 시뮬레이션 추적 데이터 추출부(330)는, 도 6에 도시된 바와 같이, 로그 파일 내의 데이터들 중에서 미리 선정된 일부 데이터를 추출할 수 있다. 추출된 시뮬레이션 추적 데이터를 저장한다.When the simulation tracking data is some data in the log file, the simulation tracking
다시, 도 2를 참조하면, 테스트 케이스 생성 장치(300)는 시뮬레이션 추적 데이터 추출부(330)에 저장된 시뮬레이션 추적 데이터를, 도 3의 ‘B’에 도시된 바와 같이, 디스플레이 장치의 화면에 표시할 수 있다. 이는 테스트 케이스 생성 장치(300)를 이용하는 사용자에게 시뮬레이션 추적 데이터를 보여주기 위함이다.Referring back to FIG. 2, the test
매핑부(350)는, 함수 정보 저장부(310)로부터 함수 정보를, 시뮬레이션 추적 데이터 추출부(330)로부터 시뮬레이션 추적 데이터 제공받는다. 그리고, 함수 정보에 시뮬레이션 추적 데이터를 매핑하여 매핑 데이터를 생성한다.The
테스트 케이스 생성 장치(300)는 함수 정보와 시뮬레이션 추적 데이터를 제공받는 매핑부(350)를, 도 3의 ‘C’에 도시된 바와 같이, 디스플레이 장치의 화면에 표시할 수 있다. The test
매핑부(350)는 함수 정보 저장부(330)로부터 함수 정보를 제공받고, 제공받은 함수 정보를 미리 설정된 순서와 형식에 따라 자동으로 분류한다. 분류된 함수 정보의 일 예가 도 3의 ‘C’와 같다. 분류된 함수 정보는 종류(Kind), 유형(Type) 및 이름(Name) 순서로 정렬될 수 있다.The
매핑부(350)는 시뮬레이션 추적 데이터 추출부(330)로부터 시뮬레이션 추적 데이터를 제공받는다. 여기서, 제공받는 시뮬레이션 추적 데이터는 시뮬레이션 추적 데이터에서 마우스 또는 키보드와 같은 입력 장치에 의해서 선택된 값일 수 있다. The
정리하면, 도 3의 ‘C’와 같이, 매핑부(350)는 함수 정보 저장부(330)로부터 제공되는 함수 정보를 미리 설정된 순서와 형식에 따라 자동으로 분류하고, 입력 장치에 의해서 선택된 시뮬레이션 추적 데이터를 특정 함수의 밸류(Value) 값으로 제공받는다. In summary, as shown in 'C' of FIG. 3, the
매핑부(350)가 함수 정보를 분류한 후, 시뮬레이션 추적 데이터를 제공받으면, 매핑부(350)는 시뮬레이션 추적 테이블(simulation trace table)을 생성한다. 시뮬레이션 추적 테이블의 일 예를 도 7을 참조하여 설명한다.After the
도 7은 도 2에 도시된 매핑부(350)에서 생성된 시뮬레이션 추적 테이블의 일 예를 설명하기 위한 도면이다.FIG. 7 is a diagram for describing an example of a simulation tracking table generated by the
도 7을 참조하면, 도 2에 도시된 매핑부(350)에서 생성된 시뮬레이션 추적 테이블에서 좌측 테이블(Time, in1, out1)은 시뮬레이션 추적 데이터이고, 우측 테이블(Func)은 함수 정보이다. 도 7에서, 묶음 기호(‘}’)는 좌측 테이블(Time, in1, out1)의 소정의 시뮬레이션 추적 데이터들이 우측 테이블(Func)의 함수 SYS()에 매핑된다는 의미이다.Referring to FIG. 7, in the simulation tracking table generated by the
다시, 도 2를 참조하면, 매핑부(350)에서 생성되는 시뮬레이션 추적 테이블은 CSV(Comma-Separated Values) 파일의 형태로 매핑부(350)에서 출력될 수 있다.2, the simulation tracking table generated by the
테스트 케이스 산출부(370)는, 매핑부(350)에서 생성된 시뮬레이션 추적 테이블을 제공받고, 제공받은 시뮬레이션 추적 테이블로부터 테스트 케이스를 산출한다.The
테스트 케이스 산출부(370)은 매핑부(350)에서 출력되는 CSV 파일을 제공받아 테스트 케이스를 산출할 수 있다. 생성된 테스트 케이스의 일 예를 도 8을 참조하여 설명한다.The
도 8은 도 2에 도시된 테스트 케이스 산출부(370)에서 산출된 테스트 케이스의 일 예를 보여주는 도면이다.FIG. 8 is a diagram illustrating an example of a test case calculated by the
도 8을 참조하면, 산출된 테스트 케이스는, 소스코드를 분석한 함수 정보에 시뮬레이션 추적 데이터가 결합된 것을 확인할 수 있다. 이러한 테스트 케이스를 종래의 소스코드만을 이용하여 산출된 테스트 케이스와 비교해보면, 종래의 테스트 케이스에서는 0.0xxxx와 같은 소수점 단위의 값이 포함될 수 없지만 본 발명의 실시 형태에 따른 테스트 케이스 생성 장치에서 산출된 테스트 케이스는 상기 소수점 단위의 값이 테이스 케이스에 포함될 수 있다. Referring to FIG. 8, the calculated test case may confirm that simulation tracking data is combined with function information analyzing the source code. When comparing the test case with a test case calculated using only the conventional source code, the conventional test case may not include a decimal point value such as 0.0xxxx, but is calculated by the test case generating apparatus according to the embodiment of the present invention. The test case may include the decimal point value in the case case.
이와 같이, 본 발명의 실시 형태에 따른 테스트 케이스 생성 장치(300)는 시뮬레이션 도구를 통해 얻은 시뮬레이션 추적 데이터를 소스코드 분석기를 통해 얻은 함수 정보에 결합시킴으로써, 특정 소프트웨어를 검증하고자 하는 사용자에게 불필요하고 방대한 테스트 케이스가 아닌 실제적으로 필요한 테스트 케이스를 제공할 수 있는 이점이 있다.As such, the test
도 9는 본 발명의 실시 형태에 따른 테스트 케이스 생성 방법을 설명하기 위한 순서도이다.9 is a flowchart illustrating a test case generation method according to an embodiment of the present invention.
도 9를 참조하면, 본 발명의 실시 형태에 따른 테스트 케이스 생성 방법은, 저장 단계(910), 추출 단계(920), 매핑 단계(930) 및 산출 단계(940)를 포함할 수 있다.9, a test case generation method according to an embodiment of the present invention may include a storage step 910, an extraction step 920, a mapping step 930, and a calculation step 940.
저장 단계(910)는 도 1에 도시된 소스코드 분석기(100)로부터 제공되는 함수 정보를 저장한다. The storage step 910 stores the function information provided from the
함수 정보는, 소스코드에 사용된 여러 함수(function)들 각각의 종류(kind), 유형(type) 및 이름(name)을 포함할 수 있다. 또한, 함수 정보는, 최대중첩레벨, 피호출수, 호출수, 복잡도, 응집도와 같은 코드 메트릭 정보를 포함할 수도 있고, 제어흐름그래프, 함수 호출 관계, 소스 헤더 연관 관계와 같은 정보도 포함할 수 있다. 또한, 함수 정보는, 규칙별, 심각도별, 소스코드 위치별로 규칙 위반 사항 정보를 포함할 수도 있다.The function information may include a kind, a type, and a name of each of the various functions used in the source code. In addition, the function information may include code metric information such as maximum nesting level, called number, call count, complexity, and cohesion, and may also include information such as control flow graph, function call relation, and source header association. have. In addition, the function information may include rule violation information by rule, by severity, and by source code location.
저장 단계(910)는 저장된 함수 정보를 디스플레이 장치의 화면에 표시할 수 있다.The storing step 910 may display the stored function information on the screen of the display device.
추출 단계(920)는 도 1에 도시된 시뮬레이션 도구(200)로부터 제공되는 로그 파일로부터 시뮬레이션 추적 데이터를 추출한다.The extraction step 920 extracts simulation tracking data from the log file provided from the
로그 파일은, 사용자(user) 또는 컴퓨터에 의해 마우스나 키보드와 같은 입력 장치가 선택한 소정의 입력값과 상기 입력값에 의한 출력값을 포함한다. 여기서, 상기 입력값과 상기 출력값 각각은 하나일 수도 있고, 복수일 수 있다.The log file includes a predetermined input value selected by an input device such as a mouse or a keyboard by a user or a computer, and an output value by the input value. Here, each of the input value and the output value may be one or plural.
시뮬레이션 추적 데이터는 로그 파일 내에 포함된 수많은 데이터들 중 일부 데이터일 수도 있다.The simulation trace data may be some of the numerous data included in the log file.
추출 단계(920)는 추출된 시뮬레이션 추적 데이터를 디스플레이 장치의 화면에 표시할 수 있다.The extraction step 920 may display the extracted simulation tracking data on the screen of the display device.
매핑 단계(930)는 함수 정보에 시뮬레이션 추적 데이터를 매핑하여 시뮬레이션 추적 테이블을 생성한다. The mapping step 930 maps simulation tracking data to function information to generate a simulation tracking table.
구체적으로, 매핑 단계(930)는 함수 정보를 미리 설정된 순서와 형식에 따라 자동으로 분류하고, 입력 장치에 의해서 선택된 시뮬레이션 추적 데이터를 제공받고, 제공된 시뮬레이션 추적 데이터를 특정 함수의 밸류(Value) 값이 되도록 한다. 그런 후, 함수 정보에 시뮬레이션 추적 데이터가 매핑된 시뮬레이션 추적 테이블을 생성한다. Specifically, the mapping step 930 automatically classifies the function information according to a preset order and format, receives the simulation tracking data selected by the input device, and converts the provided simulation tracking data into a value of a specific function. Be sure to Then, a simulation tracking table in which simulation tracking data is mapped to function information is generated.
매핑 단계(930)에 있어서, 함수 정보를 미리 설정된 순서와 형식에 따라 자동으로 분류하고, 입력 장치에 의해서 선택된 시뮬레이션 추적 데이터를 특정 함수의 밸류(Value) 값으로 제공받는 과정을 디스플레이 장치의 화면에 표시할 수 있다.In the mapping step 930, a process of automatically classifying function information according to a preset order and format and receiving simulation tracking data selected by an input device as a value of a specific function on a screen of the display device. I can display it.
시뮬레이션 추적 테이블은 CSV(Comma-Separated Values) 파일의 형태일 수 있다.The simulation tracking table may be in the form of a comma-separated values (CSV) file.
산출 단계(940)는 시뮬레이션 추적 테이블로부터 테스트 케이스를 산출한다.The calculating step 940 calculates a test case from the simulation tracking table.
이와 같이, 본 발명의 실시 형태에 따른 테스트 케이스 생성 방법은, 시뮬레이션 도구를 통해 얻은 시뮬레이션 추적 데이터를 소스코드 분석기를 통해 얻은 함수 정보에 결합시킴으로써, 특정 소프트웨어를 검증하고자 하는 사용자에게 불필요하고 방대한 테스트 케이스가 아닌 실제적으로 필요한 테스트 케이스를 제공할 수 있는 이점이 있다.As described above, the test case generation method according to the embodiment of the present invention is unnecessary for a user who wants to verify a specific software by combining simulation tracking data obtained through a simulation tool with function information obtained through a source code analyzer. The advantage is that you can provide the test cases that you actually need.
이상 설명된 실시 형태는 다양한 컴퓨터 구성요소를 통하여 실행될 수 있는 프로그램 명령어의 형태로 구현되어 컴퓨터로 판독가능한 기록매체에 기록될 수 있다. 상기 컴퓨터로 판독가능한 기록매체는 프로그램 명령어, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. The above-described embodiments may be implemented in the form of program instructions that can be executed by various computer components, and recorded on a computer-readable recording medium. The computer-readable recording medium may include program instructions, data files, data structures, etc. alone or in combination.
상기 컴퓨터로 판독가능한 기록매체에 기록되는 프로그램 명령어는 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 분야의 당업자에게 공지되어 사용 가능한 것일 수도 있다.Program instructions recorded on the computer-readable recording medium may be those specially designed and configured for the present invention, or may be known and available to those skilled in the computer software arts.
컴퓨터로 판독가능한 기록매체의 예에는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM, DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 ROM, RAM, 플래시 메모리 등과 같은 프로그램 명령어를 저장하고 실행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령어의 예에는, 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드도 포함된다. 상기 하드웨어 장치는 본 발명에 따른 처리를 실행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical recording media such as CD-ROMs, DVDs, and magneto-optical media such as floptical disks. optical media) and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like. The hardware device may be configured to operate as one or more software modules to carry out the process according to the invention, and vice versa.
이상 첨부된 도면을 참조하여 본 발명의 실시 형태를 설명하였으나 이는 단지 예시일 뿐 본 발명을 한정하는 것이 아니며, 본 발명이 속하는 분야의 통상의 지식을 가진 자라면 본 실시 형태의 본질적인 특성을 벗어나지 않는 범위에서 이상에 예시되지 않은 여러 가지의 변형과 응용이 가능함을 알 수 있을 것이다. 예를 들어, 실시 형태에 구체적으로 나타난 각 구성 요소는 변형하여 실시할 수 있는 것이다. 그리고 이러한 변형과 응용에 관계된 차이점들은 첨부된 청구범위에서 규정하는 본 발명의 범위에 포함되는 것으로 해석되어야 할 것이다.The embodiments of the present invention have been described above with reference to the accompanying drawings, which are merely exemplary and are not intended to limit the present invention, and those skilled in the art do not depart from the essential characteristics of the present embodiment. It will be appreciated that various modifications and applications which are not illustrated above in the scope are possible. For example, each component specifically shown in embodiment can be modified and implemented. And differences relating to such modifications and applications will have to be construed as being included in the scope of the invention defined in the appended claims.
[부호의 설명][Description of the code]
100: 소스코드 분석기100: source code analyzer
200: 시뮬레이션 도구200: simulation tool
300: 테스트 케이스 생성 장치300: test case generating device
Claims (15)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR20150026209 | 2015-02-25 | ||
| KR10-2015-0026209 | 2015-02-25 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016137035A1 true WO2016137035A1 (en) | 2016-09-01 |
Family
ID=56788959
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/KR2015/001867 Ceased WO2016137035A1 (en) | 2015-02-25 | 2015-02-26 | Test case generation device and method, and computer-readable recording medium for recording program for executing same |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2016137035A1 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108073505A (en) * | 2016-11-17 | 2018-05-25 | 富士通株式会社 | Data processing equipment and data processing method |
| CN111240967A (en) * | 2020-01-03 | 2020-06-05 | 北京字节跳动网络技术有限公司 | Code generation method and device |
| CN113268415A (en) * | 2021-05-11 | 2021-08-17 | 卡斯柯信号(成都)有限公司 | Interlocking rule automatic test system and method based on test case |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060010429A1 (en) * | 2004-07-08 | 2006-01-12 | Denso Corporation | Method, system and program for model based software development with test case generation and evaluation |
| US20100333073A1 (en) * | 2009-06-29 | 2010-12-30 | Honeywell International Inc. | Systems and methods for automated generation of software tests based on modeling the software test domain |
| US20110258599A1 (en) * | 2006-03-31 | 2011-10-20 | Chunyue Li | Test automation method for software programs |
| US20130074040A1 (en) * | 2011-09-21 | 2013-03-21 | GM Global Technology Operations LLC | Software test case generation from a partial design model |
| WO2014011576A1 (en) * | 2012-07-10 | 2014-01-16 | Siemens Product Lifecycle Management Software Inc. | Synthesis of simulation models from systems engineering data |
-
2015
- 2015-02-26 WO PCT/KR2015/001867 patent/WO2016137035A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060010429A1 (en) * | 2004-07-08 | 2006-01-12 | Denso Corporation | Method, system and program for model based software development with test case generation and evaluation |
| US20110258599A1 (en) * | 2006-03-31 | 2011-10-20 | Chunyue Li | Test automation method for software programs |
| US20100333073A1 (en) * | 2009-06-29 | 2010-12-30 | Honeywell International Inc. | Systems and methods for automated generation of software tests based on modeling the software test domain |
| US20130074040A1 (en) * | 2011-09-21 | 2013-03-21 | GM Global Technology Operations LLC | Software test case generation from a partial design model |
| WO2014011576A1 (en) * | 2012-07-10 | 2014-01-16 | Siemens Product Lifecycle Management Software Inc. | Synthesis of simulation models from systems engineering data |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108073505A (en) * | 2016-11-17 | 2018-05-25 | 富士通株式会社 | Data processing equipment and data processing method |
| CN111240967A (en) * | 2020-01-03 | 2020-06-05 | 北京字节跳动网络技术有限公司 | Code generation method and device |
| CN111240967B (en) * | 2020-01-03 | 2023-09-15 | 北京字节跳动网络技术有限公司 | Code generation method and device |
| CN113268415A (en) * | 2021-05-11 | 2021-08-17 | 卡斯柯信号(成都)有限公司 | Interlocking rule automatic test system and method based on test case |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2013191458A1 (en) | License verification method and apparatus, and computer readable storage medium storing program therefor | |
| US9417991B2 (en) | Translation verification testing | |
| WO2019054613A1 (en) | Method and system for identifying open source software package on basis of binary file | |
| WO2014035043A1 (en) | Apparatus and method for diagnosing malicious applications | |
| CN105468797B (en) | An information processing method and device | |
| WO2012002635A1 (en) | System test apparatus | |
| CN110096444A (en) | A kind of management system, application method and equipment generating test case based on excel | |
| US20150106793A1 (en) | Detecting Byte Ordering Type Errors in Software Code | |
| CN113961919B (en) | Malware detection method and device | |
| WO2018016671A2 (en) | Dangerous code detection system for checking security vulnerability and method thereof | |
| WO2016137035A1 (en) | Test case generation device and method, and computer-readable recording medium for recording program for executing same | |
| CN112732567A (en) | Mock data testing method and device based on ip, electronic equipment and storage medium | |
| WO2013125866A1 (en) | Computer system and signature verification server | |
| WO2016064024A1 (en) | Abnormal connection detection device and method | |
| CN110286882B (en) | Foreground system design and verification method based on model detection | |
| WO2017204368A1 (en) | Web-based spreadsheet service providing device and method | |
| WO2022169007A1 (en) | User interface management system for automotive open system architecture configuration tool, and method therefor | |
| WO2018080009A1 (en) | Electronic apparatus for recording debugging information and control method thereof | |
| WO2022163908A1 (en) | Method for assessing data leakage risk within application, and recording medium and device for performing same | |
| WO2022145524A1 (en) | Method and apparatus for structuring different types of data | |
| WO2016085213A1 (en) | Computer-executable model reverse engineering method and apparatus | |
| WO2017082470A1 (en) | Apparatus and method for calculating risk of web site | |
| US7689905B1 (en) | Containment of terminal application run-time data for viewing when disconnected from a host server | |
| WO2018190487A1 (en) | Visualization method for trace analysis of test case design information, test case generation device, and computer-readable recording medium | |
| WO2022107957A1 (en) | Natural language processing-based obfuscated identifier recognition method, and recording medium and device for carrying out same |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15883424 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 220118) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15883424 Country of ref document: EP Kind code of ref document: A1 |