KR102024275B1 - Test program development system and its method using script - Google Patents

Test program development system and its method using script Download PDF

Info

Publication number
KR102024275B1
KR102024275B1 KR1020190067734A KR20190067734A KR102024275B1 KR 102024275 B1 KR102024275 B1 KR 102024275B1 KR 1020190067734 A KR1020190067734 A KR 1020190067734A KR 20190067734 A KR20190067734 A KR 20190067734A KR 102024275 B1 KR102024275 B1 KR 102024275B1
Authority
KR
South Korea
Prior art keywords
test
information
script file
script
test program
Prior art date
Application number
KR1020190067734A
Other languages
Korean (ko)
Inventor
김재일
Original Assignee
한화시스템(주)
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 한화시스템(주) filed Critical 한화시스템(주)
Priority to KR1020190067734A priority Critical patent/KR102024275B1/en
Application granted granted Critical
Publication of KR102024275B1 publication Critical patent/KR102024275B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

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

The present invention relates to a test program development system using a script and to a method thereof, capable of easily applying a test item, a control between tests, and a definition of a test format result by using a script file when designing and implementing a test program for a plurality of items to be tested as a technique for designing a maintenance equipment test program. The system comprises: a script file storage unit for analyzing a plurality of test characteristics to store a script file having commonality with respect to each test; and a test program operation processing unit for, when a command for a random test is inputted, defining test information, control information, determination information, and environment information necessary for a corresponding test program by using the script file stored in the script file storage unit so as to process a corresponding test to be performed.

Description

스크립트를 활용한 시험 프로그램 개발 시스템 및 그 방법{Test program development system and its method using script}Test program development system and its method using script}

본 발명은 스크립트를 활용한 시험 프로그램 개발 시스템 및 그 방법에 관한 것으로서, 특히 장비 시험 프로그램 설계 기술로서 다수의 시험 대상 품목에 대한 시험 프로그램을 설계 및 구현 시 스크립트 파일을 이용하여 시험 항목, 시험 간 제어 및 시험 형식 결과 정의를 쉽게 적용할 수 있도록 한 스크립트를 활용한 시험 프로그램 개발 시스템 및 그 방법에 관한 것이다. The present invention relates to a test program development system using a script and a method thereof, and in particular, as test equipment design technology, test items and test-to-test control using a script file when designing and implementing a test program for a plurality of test target items. And a test program development system and method using a script for easily applying test form result definitions.

일반적으로, 소프트웨어 개발자가 개발 시스템에 의해 개발한 소프트웨어를 시험 대상 타겟에 적재하여 수행 제어 및 시험을 하기 위해서는 해당 타겟 시스템으로 접속하여 명령어를 직접 입력하고, 결과 메시지를 통하여 기능 확인을 진행하였다.In general, in order to perform the performance control and test by loading the software developed by the development system on the test target, the software developer directly accesses the target system, directly inputs a command, and confirms the function through the result message.

더욱이 분산된 타겟 시스템을 대상으로 한 기능간의 수행 제어 및 시험을 위해서는 각각의 타겟 시스템에 접속하여 개별적인 명령어 입력을 반복적으로 수행하고, 개별적으로 출력되는 결과 메시지를 확인하는 과정이 매우 복잡하여, 용이하게 정상 유무를 판단하기가 어려운 환경이다.Moreover, in order to perform performance control and test between the functions of the distributed target system, it is very complicated to connect each target system repeatedly to perform individual command inputs and to check the resulting output messages. It is difficult to judge the normal condition.

또한, 이와 같이 타겟 시스템 단위의 개별적인 수행 절차로 수행되기 때문에 전체적으로 상호 연동되는 기능 시험이나 구성 설정 등의 작업에는 많은 시간과 노력이 요구된다.In addition, since it is performed as an individual execution procedure of the target system unit as described above, a lot of time and effort are required for work such as functional test or configuration setting that are interoperable as a whole.

따라서, 이러한 시간과 노력을 감소시키기 위해 타겟 시스템에서 개별적인 명령어 단위를 하나의 스크립트 파일로 구성하여 한번에 실행하는 방법도 있다. 그러나, 이러한 경우도 단순 명령어를 순차적으로 수행하여 운용시간을 단축할 수 있는 이점이 있으나, 분산된 시스템에 대하여 통합적으로 실행하는 방법은 제공하지 못한다는 문제점이 있다.Therefore, in order to reduce the time and effort, there is a method of executing individual command units in a script file in the target system and executing them at once. However, even in such a case, there is an advantage that the operation time can be shortened by sequentially performing simple commands, but there is a problem that a method of integrally executing the distributed system is not provided.

종래의 시험 프로그램은 도 1에 도시된 바와 같이 크게 2가지의 구조로 구분될 수 있다. 도 1은 종래 기술에 따른 시험 프로그램의 구조를 설명하기 위한 도면이다. Conventional test programs can be largely divided into two structures, as shown in FIG. 1 is a view for explaining the structure of a test program according to the prior art.

도 1을 참조하면, 종래의 시험 프로그램은, 하나의 장비에 대해 하나의 프로그램 형태를 갖는 단일형 프로그램 구조와, 하나의 체계를 구성하는 각 하부 장비들에 대한 시험을 위해 각각의 시험 프로그램을 개발하고 이를 통합 관리하는 운용 프로그램으로 구성되는 확장형 프로그램 구조로 구분될 수 있다.Referring to FIG. 1, a conventional test program develops a single program structure having one program form for one device, and each test program for testing each sub-device constituting one system. This can be divided into an extended program structure consisting of an operation program for integrated management.

종래의 시험 프로그램은, 프로그램 관리 대상의 차이가 존재하나 내부적인 특성은 프로그램 실행 순서에 따라 동작하도록 구성되었다. 즉, 시험 프로그램의 시작부터 종료까지 진행되는 과정이 하나의 코드로 고정되어 있고, 코드의 실행 순서에 따라 시험에 필요한 절차 내용, 제어, 처리, 결과 정리 등이 고정되게 진행된다. 따라서 시험프로그램 수정 시 코드 수정, 코드 수정에 따른 관련 검증 및 보증활동이 동반되어야 하는 단점을 가지게 된다.In the conventional test program, there are differences in the object of program management, but the internal characteristics are configured to operate according to the program execution order. That is, the process from the start to the end of the test program is fixed as one code, and the procedure contents, control, processing, and result cleanup necessary for the test are fixed according to the execution order of the code. Therefore, when the test program is modified, the code has to be accompanied by the related verification and assurance activities.

도 1에 도시된, 단일형 프로그램 구조는 해당하는 장비에 대한 시험만을 수행하게 되어 체계 장비의 변화에 대해 1대 1 지원이 수행되어야 하며, 체계 장비의 추가에 따른 원 코드에 대한 수정 등으로 확장성에 한계를 보이게 된다. As shown in FIG. 1, the unitary program structure performs only a test for a corresponding equipment, so that one-to-one support should be performed for changes in the system equipment, and the extensibility may be improved by modifying the original code according to the addition of the system equipment. The limit is shown.

그리고, 확장형 프로그램 구조는 운용 소프트웨어에 의해 시험되어야 하는 시험 대상품을 선택하면, 해당되는 시험 소프트웨어(DLL형태)를 호출하여 시험대상품에 대한 시험 내용, 시험 과정 정보, 시험 결과 등의 데이터를 운용 소프트웨어로 전달하는 방식으로, 운용 소프트웨어는 시험의 시작/중지/결과 저장 등의 제어를 담당한다. When the extended program structure selects a test product to be tested by the operating software, the corresponding test software (DLL type) is called to operate data such as test contents, test procedure information, and test results for the test product. In this way, the operating software is responsible for controlling the start / stop of testing and the storage of results.

확장형 프로그램 구조는 하나의 운용 프로그램을 통해 시험에 필요한 시험 프로그램을 관리하는 구조로 프로그램 관리 면에서 효율성이 있다고 사료되며, 체계 장비의 추가가 있을 시 시험 프로그램만 추가 개발을 통해 확장성을 확보하였다고 볼 수 있다. The extended program structure is a structure that manages the test program required for the test through one operation program. It is considered to be efficient in terms of program management. When additional system equipment is added, only the test program is secured for further expansion. Can be.

그러나, 단일형 프로그램 구조와 비슷하게 체계 장비의 변화에 대해 원 코드에 대한 수정/재 빌드 과정이 수행되어야 하는 불편함은 여전히 존재하게 된다.However, there is still inconvenience that modification / rebuild of original code should be performed for changes of system equipment similar to unitary program structure.

따라서, 본 발명은 상기한 문제점을 해결하기 위한 것으로, 본 발명의 목적은, 장비 시험 프로그램 설계 기술로서 다수의 시험 대상 품목에 대한 시험 프로그램을 설계 및 구현 시 스크립트 파일을 이용하여 시험 항목, 시험 간 제어 및 시험 형식 결과 정의를 쉽게 적용할 수 있도록 한 스크립트를 활용한 시험 프로그램 개발 시스템 및 그 방법을 제공함에 있다. Accordingly, the present invention is to solve the above problems, an object of the present invention is to design a test program for a plurality of items to be tested as an equipment test program design technology, using a script file when designing and implementing a test item, test between The present invention provides a test program development system and method using a script to easily apply control and test format result definitions.

즉, 본 발명의 목적은, 범용성을 가지는 시험프로그램 구조에 대한 설계 방법을 바탕으로, 시험 수행에 필요한 스크립트 파일을 활용하여 다수의 시험 프로그램을 개발할 수 있도록 한 스크립트를 활용한 시험 프로그램 처리 시스템 및 그 방법을 제공함에 있다. That is, an object of the present invention, based on a design method for a test program structure having a general purpose, a test program processing system using a script to develop a plurality of test programs by using a script file required for test execution and its In providing a method.

본 발명의 바람직한 실시 예에 따른 스크립트를 활용한 시험 프로그램 개발 시스템은, 다수의 시험 특성을 분석하여 각 시험에 대한 공통성을 갖는 스크립트 파일을 저장하는 스크립트 파일 저장부; 및 임의의 일 시험에 대한 명령어가 입력되는 경우, 상기 스크립트 파일 저장부에 저장된 스크립트 파일을 이용하여 해당 시험 프로그램에 필요한 시험 정보, 제어 정보, 판단 정보 및 환경 정보를 정의하여 해당 시험을 수행하도록 처리하는 시험 프로그램 운용 처리부를 포함할 수 있다. Test program development system using a script according to a preferred embodiment of the present invention, the script file storage unit for analyzing a plurality of test characteristics to store a script file having a common for each test; And when a command for any one test is input, by using the script file stored in the script file storage unit to define the test information, control information, judgment information and environmental information necessary for the test program to perform the test It may include a test program operation processing unit.

상기 스크립트 파일 저장부에 저장된 스크립트 파일은 엑셀 또는 XML 형식으로 저장될 수 있다. The script file stored in the script file storage unit may be stored in Excel or XML format.

상기 시험 프로그램 운용 처리부는, 상기 스크립트 파일 저장부와 접속되어 스크립트 파일 저장부에 저장된 스크립트 파일을 인터페이싱하는 인터페이스 모듈; 상기 스크립트 파일 저장부에 저장된 스크립트 파일을 이용하여 시험이 진행되는 전체 구성을 정립하는 시험 정보 모듈; 상기 스크립트 파일 저장부에 저장된 스크립트 파일을 이용하여 통신 및 계측기 제어를 통해 시험이 진행될 수 있도록 제어 정보를 정립하는 제어 정보 모듈; 상기 스크립트 파일 저장부에 저장된 시험 결과의 판단에 필요한 스크립트 파일을 이용하여 사용자에게 시험 결과에 대한 판단 근거를 제시하고 결과 판단을 수행할 수 있도록 시험 프로그램의 판단 정보를 정립하는 판단 정보 모듈; 및 상기 스크립트 파일 저장부에 저장된 스크립트 파일을 이용하여 시험에 필요한 환경 정보를 정립하는 환경 정보 모듈을 포함할 수 있다. The test program operation processor may include an interface module connected to the script file storage unit to interface a script file stored in a script file storage unit; A test information module for establishing an entire configuration of a test by using a script file stored in the script file storage unit; A control information module for establishing control information so that a test can be performed through communication and instrument control using a script file stored in the script file storage unit; A judgment information module configured to present the judgment reason for the test result to the user and establish the judgment information of the test program by using the script file necessary for the determination of the test result stored in the script file storage unit; And an environment information module for establishing environment information necessary for a test using a script file stored in the script file storage unit.

상기 시험 정보 모듈에서 정립되는 구성은 시험 사전 절차, 시험 중 절차, 사후 절차, 대기 절차 중 적어도 하나의 구성을 포함할 수 있다. The configuration established in the test information module may include at least one of a pre-test procedure, a test procedure, a post procedure, and a standby procedure.

상기 제어 정보 모듈에서 정립되는 제어 정보는, 랜 통신 제어를 위한 정보, 시리얼 통신 제어를 위한 정보, 계측기(DMM, AWG) 제어를 위한 정보 중 적어도 하나의 정보를 포함할 수 있다. The control information established by the control information module may include at least one of information for LAN communication control, information for serial communication control, and information for controlling instrument (DMM, AWG).

상기 판단 정보 모듈에서 정립되는 시험 프로그램의 판단 정보는 BIT 일치 정보, 허용 범위에 대한 정보, 사용자 판단에 필요한 정보 중 적어도 하나의 정보를 포함할 수 있다. The determination information of the test program established in the determination information module may include at least one of BIT matching information, information on an allowable range, and information necessary for user determination.

상기 환경 정보 모듈에서 정립되는 환경 정보는 IP 번호, 계측기 번호, 시험 수 정보 중 적어도 하나의 정보를 포함할 수 있다.The environmental information established by the environmental information module may include at least one of an IP number, an instrument number, and test number information.

한편, 본 발명의 바람직한 실시 예에 따른 스크립트를 활용한 시험 프로그램 개발 방법은, 다수의 시험 특성을 분석하여 각 시험에 대한 공통성을 갖는 스크립트 파일을 별도의 외부 메모리에 저장하는 단계; 및 임의의 일 시험에 대한 명령어가 입력되는 경우, 상기 메모리에 저장된 스크립트 파일을 이용하여 해당 시험 프로그램에 필요한 시험 정보, 제어 정보, 판단 정보 및 환경 정보를 정의하여 해당 시험을 수행하도록 처리하는 단계를 포함할 수 있다. On the other hand, the test program development method using a script according to a preferred embodiment of the present invention, analyzing a plurality of test characteristics and storing a script file having a common for each test in a separate external memory; And when a command for any one test is input, defining test information, control information, judgment information, and environment information necessary for a corresponding test program using a script file stored in the memory, and processing to perform the corresponding test. It may include.

상기 메모리에 저장된 스크립트 파일은 엑셀 또는 XML 형식으로 저장될 수 있다. The script file stored in the memory may be stored in Excel or XML format.

상기 해당 시험을 수행하도록 처리하는 단계는, 상기 메모리에 저장된 스크립트 파일을 이용하여 시험이 진행되는 전체 구성을 정립하는 단계; 상기 메모리에 저장된 스크립트 파일을 이용하여 통신 및 계측기 제어를 통해 시험이 진행될 수 있도록 제어 정보를 정립하는 단계; 상기 메모리에 저장된 시험 결과의 판단에 필요한 스크립트 파일을 이용하여 사용자에게 시험 결과에 대한 판단 근거를 제시하고 결과 판단을 수행할 수 있도록 시험 프로그램의 판단 정보를 정립하는 단계; 및 상기 메모리에 저장된 스크립트 파일을 이용하여 시험에 필요한 환경 정보를 정립하는 단계를 포함할 수 있다. The processing of performing the corresponding test may include: establishing an entire configuration of the test by using a script file stored in the memory; Establishing control information so that a test can be performed through communication and instrument control using the script file stored in the memory; Establishing judgment information of a test program to present a judgment basis for a test result to a user using a script file necessary for determining a test result stored in the memory and to perform a result judgment; And establishing environment information necessary for a test using a script file stored in the memory.

상기 시험이 진행되는 전체 구성을 정립하는 단계에서 정립되는 구성은 시험 사전 절차, 시험 중 절차, 사후 절차, 대기 절차 중 적어도 하나 이상의 구성을 포함할 수 있다. The configuration established in the step of establishing the overall configuration in which the test is performed may include at least one or more of the pre-test procedure, in-test procedures, post-procedures, standby procedures.

상기 제어 정보를 정립하는 단계에서 정립되는 제어 정보는, 랜 통신 제어를 위한 정보, 시리얼 통신 제어를 위한 정보, 계측기(DMM, AWG) 제어를 위한 정보 중 적어도 하나 이상의 정보를 포함할 수 있다. The control information established at the step of establishing the control information may include at least one or more of information for LAN communication control, information for serial communication control, and information for controlling instruments (DMM, AWG).

상기 판단 정보를 정립하는 단계에서 정립되는 시험 프로그램의 판단 정보는 BIT 일치 정보, 허용 범위에 대한 정보, 사용자 판단에 필요한 정보 중 적어도 하나 이상의 정보를 포함할 수 있다. The determination information of the test program established at the step of establishing the determination information may include at least one or more of BIT matching information, information on an allowable range, and information necessary for user determination.

상기 환경 정보를 정립하는 단계에서 정립되는 환경 정보는 IP 번호, 계측기 번호, 시험 수 정보 중 적어도 하나의 정보를 포함할 수 있다. The environmental information established at the step of establishing the environmental information may include at least one of an IP number, an instrument number, and test number information.

본 발명에 따르면, 기존 프로그램의 구조 분석과 체계에 대한 시험 특성을 분석하여 공통성을 확인하고, 이를 통해 범용 시험프로그램의 구조가 설계되었다. 범용 시험프로그램을 통해 추가 시험프로그램 개발이 필요 시 스크립트 파일만을 추가 함으로써 프로그램 확장성을 향상시킬 수 있다. According to the present invention, the structural analysis of the existing program and the test characteristics of the system are analyzed to confirm commonality, and through this, the structure of the general-purpose test program is designed. General purpose test program can improve program extensibility by adding script file only when additional test program development is needed.

또한, 본 발명에 따르면, 범용 프로그램 바운더리 내의 시험 대상품에 대해서는 범용 프로그램 코드에 대한 수정/재 빌드 과정을 수행할 필요 없이 재사용이 가능하다.In addition, according to the present invention, a test product within a general program boundary can be reused without having to perform a modification / rebuild process for the general program code.

또한, 본 발명에 따르면, 범용 시험프로그램에 대한 하나의 프로그램만을 관리/수행함으로써, 관리 효율면에서도 효과가 있으며, 지속적인 시험을 통해 오류 피드백을 통한 소프트웨어 신뢰성 향상에도 기여할 수 있다. In addition, according to the present invention, by managing / executing only one program for a general-purpose test program, it is effective in terms of management efficiency, and contributes to improving software reliability through error feedback through continuous testing.

이하에 첨부되는 도면들은 본 실시 예에 관한 이해를 돕기 위한 것으로, 상세한 설명과 함께 실시 예들을 제공한다. 다만, 본 실시 예의 기술적 특징이 특정 도면에 한정되는 것은 아니며, 각 도면에서 개시하는 특징들은 서로 조합되어 새로운 실시 예로 구성될 수 있다.
도 1은 종래 기술에 따른 시험 프로그램의 구조를 설명하기 위한 도면.
도 2는 본 발명의 바람직한 실시 예에 따른 스크립트를 활용한 시험 프로그램 처리 시스템에 대한 블록 구성을 나타낸 도면.
도 3은 도 2에 도시된 시험 프로그램 운용 처리부에 대한 내부 상세 블록 구성을 나타낸 도면.
도 4는 본 발명의 바람직한 실시 예에 따른 스크립트를 활용한 시험 프로그램 처리 방법에 대한 동작 플로우챠트를 나타낸 도면.
BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings are provided to facilitate understanding of the present embodiment, and provide embodiments with a detailed description. However, the technical features of the present embodiment are not limited to the specific drawings, and the features disclosed in the drawings may be combined with each other to constitute a new embodiment.
1 is a view for explaining the structure of a test program according to the prior art.
2 is a block diagram of a test program processing system using a script according to a preferred embodiment of the present invention.
3 is a block diagram illustrating an internal detailed block configuration of the test program operation processor shown in FIG. 2;
4 is a flowchart illustrating an operation of a test program processing method using a script according to a preferred embodiment of the present invention.

본문에 개시되어 있는 본 발명의 실시 예들에 대해서, 특정한 구조적 내지 기능적 설명들은 단지 본 발명의 실시 예를 설명하기 위한 목적으로 예시된 것으로, 본 발명의 실시 예들은 다양한 형태로 실시될 수 있으며 본문에 설명된 실시 예들에 한정되는 것으로 해석되어서는 안 된다.With respect to the embodiments of the present invention disclosed in the text, specific structural to functional descriptions are merely illustrated for the purpose of describing the embodiments of the present invention, the embodiments of the present invention may be implemented in various forms and It should not be construed as limited to the described embodiments.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 형태를 가질 수 있는 바, 특정 실시 예들을 도면에 예시하고 본문에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 개시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.As the inventive concept allows for various changes and numerous embodiments, particular embodiments will be illustrated in the drawings and described in detail in the text. However, this is not intended to limit the present invention to the specific disclosed form, it should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention.

제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위로부터 이탈되지 않은 채 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다.Terms such as first and second may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as the second component, and similarly, the second component may also be referred to as the first component.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. When a component is referred to as being "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may be present in between. Should be. On the other hand, when a component is said to be "directly connected" or "directly connected" to another component, it should be understood that there is no other component in between.

본 출원에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 개시된 특징, 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "comprise" or "have" are intended to indicate that the disclosed feature, number, step, operation, component, part, or combination thereof exists, but one or more other features or numbers, It is to be understood that it does not exclude in advance the possibility of the presence or addition of steps, actions, components, parts or combinations thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art. Terms such as those defined in the commonly used dictionaries should be construed as having meanings consistent with the meanings in the context of the related art and shall not be construed in ideal or excessively formal meanings unless expressly defined in this application. Do not.

한편, 어떤 실시 예가 달리 구현 가능한 경우에 특정 블록 내에 명기된 기능 또는 동작이 순서도에 명기된 순서와 다르게 일어날 수도 있다. 예를 들어, 연속하는 두 블록이 실제로는 실질적으로 동시에 수행될 수도 있고, 관련된 기능 또는 동작에 따라서는 상기 블록들이 거꾸로 수행될 수도 있다.On the other hand, when an embodiment may be implemented differently, a function or operation specified in a specific block may occur differently from the order specified in the flowchart. For example, two consecutive blocks may actually be performed substantially simultaneously, and the blocks may be performed upside down depending on the function or operation involved.

이하, 본 발명의 바람직한 실시 예에 따른 스크립트를 활용한 시험 프로그램 처리 시스템 및 그 방법에 대하여 첨부한 도면을 참조하여 상세하게 설명하기로 한다. Hereinafter, a test program processing system using a script and a method thereof according to a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

본 발명의 상세 설명에 앞서, 본 발명의 개발 동향에 대하여 간단하게 살펴보자. Prior to the detailed description of the present invention, let's briefly look at the development trend of the present invention.

각 체계에 대한 시험의 특성을 분석한 결과, 시험 프로그램은 다수의 시험 대상품에 대한 시험을 위한 필수 구성요소로 전체 시험을 운용하기 위한 운용소프트웨어와, 각 시험을 수행하기 위한 개별 시험 프로그램으로 분류되었다. 즉, 체계(정비장비 측면에서는 '시험 대상품' 이라함.)에 대한 개발행위는 첫째, 사용자의 요구사항을 기반으로 발전하였으며, 둘째, 개발 시점의 기술 수준 및 동향에 맞춰 개발이 진행되었다. As a result of analyzing the characteristics of the test for each system, the test program is classified as an essential component for testing a large number of test products, operating software for running the entire test, and an individual test program for performing each test. It became. In other words, the development of the system (referred to as 'test product' in terms of maintenance equipment) was first developed based on the user's requirements, and second, development was carried out in accordance with the technology level and trend at the time of development.

따라서, 체계 개발의 베이스 라인 시점에서 체계의 구성은 아키텍처 및 구성품의 형태가 유사한 공통성을 띄며 개발이 진행되었다. 따라서, 모듈 기반의 범용 시험프로그램 개발에 관한 연구가 베이스 라인 별 공통성을 기반으로 도출 되었다. Therefore, at the baseline point of system development, the composition of the system was developed with similar commonalities between the architecture and components. Therefore, research on the development of module-based general purpose test program was derived based on the commonality of each baseline.

나아가, 체계의 발전에는 비종속적이지만 시험 대상품 측면에서는 공통성을 가지는 시험대상, 시험항목, 시험내용, 시험절차의 공통성을 바탕으로 모듈 기반의 범용 시험프로그램이 지속적으로 진화하고 있다. In addition, module-based general-purpose test programs continue to evolve based on the commonality of test subjects, test items, test contents, and test procedures that are independent of the system but are common in terms of test products.

모듈로 정의된 시험 구성요소에 대한 컨트롤을 프로그램 내부에 구성하여 구현하면, 수정사항 발생 시 마다 개발 환경 및 재 빌드의 절차를 수행하여야 하는 번거로움이 발생한다. If the control for the test component defined as module is configured and implemented in the program, the development environment and the rebuild procedure need to be performed whenever the modification occurs.

따라서, 본 발명은 해당되는 컨트롤 항목을 범용 시험프로그램 외부로 분리하여 스크립트 파일(EXCEL 또는 XML 형식)로 관리함으로써 기존의 단점을 보완하는 형태로 개발한 것이다. Therefore, the present invention was developed in a form that compensates for the existing disadvantages by separating the corresponding control items outside the general purpose test program and managing them in a script file (EXCEL or XML format).

도 2는 본 발명의 바람직한 실시 예에 따른 스크립트를 활용한 시험 프로그램 처리 시스템에 대한 블록 구성을 나타낸 도면이다. 2 is a block diagram illustrating a test program processing system using a script according to an exemplary embodiment of the present invention.

도 2를 참조하면, 본 발명의 바람직한 실시 예에 따른 스크립트를 활용한 시험 프로그램 처리 시스템은 운용 관리부(100), 시험 프로그램 운용 처리부(200) 및 스크립트 파일 저장부(300)을 포함할 수 있다. Referring to FIG. 2, a test program processing system using a script according to an exemplary embodiment of the present invention may include an operation management unit 100, a test program operation processing unit 200, and a script file storage unit 300.

운용 관리부(100)는 도면에는 도시되지 않았으나, 사용자에 의해 임의의 일 시험 프로그램을 수행하기 위한 명령어를 입력하기 위한 입력부, 시험 과정 및 시험 결과 정보를 디스플레이하는 디스플레이 장치를 포함할 수 있다. Although not shown in the drawing, the operation manager 100 may include an input unit for inputting a command for executing a test program by a user, and a display device for displaying test procedure and test result information.

상기 시험 프로그램 운용 처리부(200)는 상기 운용 관리부(100)의 입력부로부터 일 시험 프로그램 명령어가 입력되면, 해당 명령어를 수신하고, 수신된 명령어에 따라 프로그램 개발을 위한 해당하는 스크립트 파일을 스크립트 파일 저장부(300)로부터 리드하여 리드된 스크립트 파일을 이용하여 해당 프로그램을 수행하는 것이다. 여기서, 스크립트 파일 저장부(300)는 시험 대상 별로 각각의 시험 정보 저장 영역, 제어 정보 저장 영역, 판단 정보 저장 영역 및 환경 정보 저장 영역 등을 포함할 수 있으며, 상기 각 저장 영역에 저장되는 정보들은 엑셀 또는 XML 파일로 저장될 수 있다. When a test program command is input from an input unit of the operation management unit 100, the test program operation processing unit 200 receives a corresponding command and stores a corresponding script file for program development according to the received command. The program is executed using the script file read and read from 300. Here, the script file storage unit 300 may include each test information storage area, control information storage area, judgment information storage area, and environment information storage area for each test object, and the information stored in each of the storage areas may be Can be saved as an Excel or XML file.

상기 시험 프로그램 운용 처리부(200)는 상기한 바와 같은 스크립트 파일 저장부(300)에 저장된 해당 시험에 대한 스크립트 파일을 이용하여 해당 시험을 수행한 후, 시험 수행 결과에 대한 정보를 운용 관리부(100)로 제공하여 사용자가 시각적으로 확인할 수 있도록 할 수 있다. The test program operation processing unit 200 performs the test using the script file for the test stored in the script file storage unit 300 as described above, and then the operation management unit 100 for information on the test execution result It can be provided so that the user can visually check.

이하, 상기 시험 프로그램 운용 처리부(200)에 대한 상세 구성 및 그에 대한 상세 동작에 대하여 도 3을 참조하여 살펴보기로 한다. Hereinafter, a detailed configuration of the test program operation processor 200 and a detailed operation thereof will be described with reference to FIG. 3.

도 3은 도 2에 도시된 시험 프로그램 운용 처리부(200)에 대한 상세 블록 구성을 나타낸 도면이다. 3 is a block diagram illustrating a detailed block diagram of the test program operation processor 200 illustrated in FIG. 2.

도 3을 참조하면, 시험 프로그램 운용 처리부(200)는 제1 인터페이스 모듈(210), 제2 인터페이스 모듈(220), 시험 정보 모듈(230), 제어 정보 모듈(240), 판단 정보 모듈(250) 및 환경 정보 모듈(250)을 포함할 수 있다. Referring to FIG. 3, the test program operation processor 200 may include a first interface module 210, a second interface module 220, a test information module 230, a control information module 240, and a determination information module 250. And environmental information module 250.

상기 제1 인터페이스 모듈(210)은 상기 운용 관리부(100)와 접속되어, 사용자로부터 시험 프로그램의 개발을 위해 입력되는 명령어를 상기 시험 정보 모듈(230), 제어 정보 모듈(220), 판단 정보 모듈(250) 및 환경 정보 모듈(260)로 제공하고, 상기 시험 정보 모듈(230), 제어 정보 모듈(220), 판단 정보 모듈(250) 및 환경 정보 모듈(260)로부터 시험에 대한 수행 및 결과 정보를 운용 관리부(100)로 제공한다. The first interface module 210 is connected to the operation management unit 100, the command input for the development of a test program from the user to the test information module 230, control information module 220, determination information module ( 250 and the environment information module 260, and perform and result information on the test from the test information module 230, the control information module 220, the determination information module 250, and the environment information module 260. Provided to the operation management unit (100).

상기 제2 인터페이스 모듈(220)은 스크립트 파일 저장부(300)와 접속되어 상기 시험 정보 모듈(230), 제어 정보 모듈(220), 판단 정보 모듈(250) 및 환경 정보 모듈(260)에서의 시험 준비, 시험 수행 및 시험 결과 정보를 생성하기 위한 스크립트 파일을 스크립트 파일 저장부(300)로부터 리드하여 모듈 별 필요 정보를 시험 정보 모듈(230), 제어 정보 모듈(220), 판단 정보 모듈(250) 및 환경 정보 모듈(260)로 각각 제공한다. The second interface module 220 is connected to the script file storage unit 300 to test the test information module 230, the control information module 220, the determination information module 250, and the environment information module 260. A script file for preparing, performing a test, and generating test result information is read from the script file storage unit 300 to read necessary information for each module from the test information module 230, the control information module 220, and the determination information module 250. And environmental information module 260, respectively.

상기 시험 프로그램 운용 처리부(200)의 시험 정보 모듈(230)은 스크립트 파일 저장부(300)에 저장된 시험 정보 모듈(230)에서 필요한 스크립트 파일을 제2 인터페이스 모듈(220)을 통해 수신하여 시험 시나리오와 같이 시험이 진행되는 전체 구성을 정립한다. 여기서, 시험이 진행되는 전체 구성이란, 시험 사전 절차, 시험 중 절차, 사후 절차 및 대기 절차에 대한 프로그램 구성을 의미한다. The test information module 230 of the test program operation processor 200 receives a script file required by the test information module 230 stored in the script file storage unit 300 through the second interface module 220 and performs a test scenario. Similarly, establish the overall configuration of the test. Here, the overall configuration in which the test is conducted means a program configuration for the test pre-procedure, in-test procedure, post-procedure and waiting procedures.

상기 시험 프로그램 운용 처리부(200)의 제어 정보 모듈(240)은 스크립트 파일 저장부(300)에 저장된 제어 정보 모듈(240)에서 필요한 스크립트 파일을 제2 인터페이스 모듈(220)을 통해 수신하여 통신 및 계측기 제어를 통해 시험이 진행될 수 있도록 제어 정보를 구축한다. 여기서, 구축되는 제어 정보로는, 랜 통신 제어를 위한 정보, 시리얼 통신 제어를 위한 정보, 계측기(DMM, AWG) 제어를 위한 정보일 수 있다. The control information module 240 of the test program operation processing unit 200 receives a script file required by the control information module 240 stored in the script file storage unit 300 through the second interface module 220 to communicate and measure the instrument. Build control information to allow testing to proceed through control. The control information to be constructed may include information for LAN communication control, information for serial communication control, and information for controlling instruments (DMM, AWG).

상기 시험 프로그램 운용 처리부(200)의 판단 정보 모듈(250)은 스크립트 파일 저장부(300)에 저장된 시험 결과에 대한 판단에 필요한 스크립트 파일을 제2 인터페이스 모듈(220)을 통해 수신하여 사용자에게 즉, 제1 인터페이스 모듈(210)을 통해 운용 관리부(100)로 시험 결과에 대한 판단 근거를 제시하고 결과 판단을 수행할 수 있도록 시험 프로그램의 판단 정보를 정립한다. 여기서, 시험 프로그램의 판단 정보로는 BIT 일치 정보, 허용 범위에 대한 정보, 사용자 판단에 필요한 정보 등을 포함할 수 있다. The determination information module 250 of the test program operation processing unit 200 receives a script file necessary for the determination of the test result stored in the script file storage unit 300 through the second interface module 220 and transmits the same to the user. Through the first interface module 210, the operation management unit 100 presents the judgment basis for the test result and establishes judgment information of the test program to perform the result judgment. Here, the determination information of the test program may include BIT matching information, information on an allowable range, information necessary for user determination.

상기 시험 프로그램 운용 처리부(200)의 환경 정보 모듈(260)은 스크립트 파일 저장부(300)에 저장된 시험에 필요한 환경 정보를 정립하기 위한 필요 정보를 제2 인터페이스 모듈(220)을 통해 수신하여 시험시 필요한 부가적 정보를 포함하여 UUT 별 시험이 진행 될 수 있도록 환경을 정립하는 것이다. 여기서, 시험 시, 필요한 부가적 정보는 IP 번호, 계측기 번호, 시험 수 정보를 포함할 수 있다. The environment information module 260 of the test program operation processing unit 200 receives the necessary information for establishing the environment information for the test stored in the script file storage unit 300 through the second interface module 220 and performs the test. It is to establish the environment so that tests per UUT can be carried out, including additional information required. Here, the additional information required for the test may include an IP number, an instrument number, and test number information.

따라서, 스크립트 파일을 별도의 스크립트 파일 저장부(300)에 저장하고, 스크립트 파일 저장부(300)에 저장된 스크립트 파일을 시험 프로그램 운용 처리부(200) 내 시험 정보 모듈(230), 제어 정보 모듈(220), 판단 정보 모듈(250) 및 환경 정보 모듈(260))에서 원하는 동작이 수행될 수 있도록 각 모듈(230 내지 260)로 제공하여 시험 시 스크립트 파일을 파싱하여 시험이 진행되도록 하는 것이다. Therefore, the script file is stored in a separate script file storage unit 300, and the test information module 230 and the control information module 220 in the test program operation processing unit 200 store the script file stored in the script file storage unit 300. ), The decision information module 250 and the environment information module 260) are provided to each of the modules 230 to 260 so that a desired operation can be performed.

한편, 상기와 같은 범용 시험 프로그램을 통해 추가 시험 프로그램의 개발이 필요한 경우, 추가 시험 프로그램에 대한 스크립트 파일만을 스크립트 파일 저장부(300)에 추가 저장하여 저장된 스크립트 파일을 이용하여 새로운 추가 시험 프로그램을 용이하게 개발할 수 있는 것이다. On the other hand, if the development of the additional test program through the general test program as described above, the new additional test program by using a script file stored by additionally storing only the script file for the additional test program in the script file storage unit 300 easily. It can be developed.

상기한 본 발명에 따른 스크립트를 활용한 시험 프로그램 개발 시스템의 동작에 상응하는 본 발명에 따른 스크립트를 활용한 시험 프로그램 개발 방법에 대하여 도 4를 참조하여 단계적으로 설명해 보기로 하자. The test program development method using the script according to the present invention corresponding to the operation of the test program development system using the script according to the present invention will be described step by step with reference to FIG.

도 4는 본 발명의 바람직한 실시 예에 따른 스크립트를 활용한 시험 프로그램 개발 방법에 대한 동작 플로우챠트를 나타낸 도면이다. 4 is a flowchart illustrating an operation of a test program development method using a script according to an exemplary embodiment of the present invention.

도 4를 참조하면, 먼저 다수의 시험 특성을 분석하여 각 시험에 대한 공통성을 갖는 스크립트 파일을 별도의 외부 스크립트 파일 저장부에 저장한다(S401).Referring to FIG. 4, first, a plurality of test characteristics are analyzed and a script file having commonalities for each test is stored in a separate external script file storage unit (S401).

이어, 운용 관리 시스템으로부터 임의의 일 시험 프로그램 개발에 대한 명령어가 입력되었는지를 판단한다(S402).Subsequently, it is determined whether a command for developing any one test program is input from the operation management system (S402).

판단 결과, 임의의 일 시험 프로그램 개발 명령어가 입력된 경우, 스크립트 파일 저장부에 저장된 스크립트 파일을 리드한다(S403).As a result of the determination, when any one test program development command is input, the script file stored in the script file storage unit is read (S403).

이어, 리드된 스크립트 파일을 이용하여 시험에 필요한 필요 정보 즉, 시험 정보, 제어 정보, 판단 정보 및 환경 정보에 대하여 정립을 수행한다(S404).Subsequently, the necessary information necessary for the test, that is, the test information, the control information, the judgment information, and the environment information, is established using the read script file (S404).

상기 S404 단계에 대하여 좀 더 구체적으로 살펴보자. Let's look at the S404 step in more detail.

먼저, 범용 시험 프로그램을 개발하기 위해서는 도 3에 도시된 바와 같이 시험 정보 모듈, 제어 정보 모듈, 판단 정보 모듈 및 환경 정보 모듈을 포함할 수 있다. First, to develop a general-purpose test program, it may include a test information module, a control information module, a judgment information module, and an environment information module, as shown in FIG. 3.

시험 정보 모듈은 스크립트 파일 저장부에 저장된 시험 정보 모듈에서 필요한 스크립트 파일을 수신하여 시험 시나리오와 같이 시험이 진행되는 전체 구성을 정립한다. 여기서, 시험이 진행되는 전체 구성이란, 시험 사전 절차, 시험중 절차, 사후 절차 및 대기 절차에 대한 프로그램 구성을 의미한다. The test information module receives the script file required from the test information module stored in the script file storage unit and establishes the overall configuration of the test such as the test scenario. Here, the overall configuration in which the test is conducted means a program configuration for the test pre-procedure, in-test, post-procedure, and standby procedures.

그리고, 제어 정보 모듈은 스크립트 파일 저장부에 저장된 제어 정보 모듈에서 필요한 스크립트 파일을 수신하여 통신 및 계측기 제어를 통해 시험이 진행될 수 있도록 제어 정보를 정립한다. 여기서, 정립되는 제어 정보로는, 랜 통신 제어를 위한 정보, 시리얼 통신 제어를 위한 정보, 계측기(DMM, AWG) 제어를 위한 정보일 수 있다. The control information module receives the script file required by the control information module stored in the script file storage unit and establishes the control information so that the test can be performed through communication and instrument control. Here, the established control information may be information for LAN communication control, information for serial communication control, and information for controlling instruments (DMM, AWG).

또한, 판단 정보 모듈은 스크립트 파일 저장부에 저장된 시험 결과의 판단에 필요한 스크립트 파일을 수신하여 사용자에게 인터페이스 모듈을 통해 운용 시스템으로 시험 결과에 대한 판단 근거를 제시하고 결과 판단을 수행할 수 있도록 시험 프로그램의 판단 정보를 정립한다. 여기서, 정립되는 시험 프로그램의 판단 정보로는 BIT 일치 정보, 허용 범위에 대한 정보, 사용자 판단에 필요한 정보 등을 포함할 수 있다. In addition, the judgment information module receives a script file necessary for the determination of the test results stored in the script file storage unit, and presents the test program to the user through the interface module to the operating system to determine the test result and perform the test result. Establishes judgment information. Here, the determination information of the test program to be established may include BIT matching information, information on the allowable range, information necessary for user determination.

한편, 환경 정보 모듈은 스크립트 파일 저장부에 저장된 시험에 필요한 환경 정보를 정립하기 위한 필요 정보를 수신하여 시험 시 필요한 부가적 정보를 포함하여 UUT 별 시험이 진행 될 수 있도록 환경 정보를 정립하는 것이다. 여기서, 상기 정립되는 환경 정보는 IP 번호, 계측기 번호, 시험 수 정보를 포함할 수 있다. On the other hand, the environmental information module receives the necessary information for establishing the environmental information necessary for the test stored in the script file storage unit and establishes the environmental information so that the test for each UUT can be performed including additional information required for the test. Here, the established environmental information may include an IP number, an instrument number, and test number information.

따라서, 다수의 시험 프로그램에 대한 공통성을 가지는 스크립트 파일을 별도의 스크립트 파일 저장부에 저장하고, 스크립트 파일 저장부에 저장된 스크립트 파일을 상기 시험 정보 모듈, 제어 정보 모듈, 판단 정보 모듈 및 환경 정보 모듈에서 원하는 동작이 수행될 수 있도록 각 모듈로 제공하여 시험 시 스크립트 파일을 파싱하여 시험이 진행되도록 하는 것이다. Therefore, a script file having commonities for a plurality of test programs is stored in a separate script file storage unit, and the script file stored in the script file storage unit is stored in the test information module, the control information module, the judgment information module, and the environment information module. Each module is provided so that the desired operation can be performed so that the script can be parsed and tested.

상기와 같이, 시험에 필요한 각종 정보의 정립이 이루어지면, 정립된 각 정보 및 시험 시 해당 시험 결과를 운용 시스템으로 제공하여 운용자가 확인할 수 있도록 한다(S405).As described above, when the various information necessary for the test is made, the established test information and the corresponding test result are provided to the operation system so that the operator can check the information (S405).

상기와 같은 범용 시험 프로그램을 통해 추가 시험 프로그램의 개발이 필요한 경우(S406), 추가 시험 프로그램에 대한 스크립트 파일만을 스크립트 파일 저장부에 추가 저장하여 저장된 스크립트 파일을 이용하여 새로운 추가 시험 프로그램을 상기한 방법과 동일한 방법을 이용하여 개발할 수 있는 것이다(S407). If development of additional test programs is necessary through the general test program as described above (S406), the method further recalls a new additional test program using the stored script file by adding and storing only the script file for the additional test program in the script file storage unit. It can be developed using the same method as in (S407).

이상에서 설명한 본 발명의 실시 예를 구성하는 모든 구성요소들이 하나로 결합되어 동작하는 것으로 기재되어 있다고 해서, 본 발명이 반드시 이러한 실시 예에 한정되는 것은 아니다. 즉, 본 발명의 목적 범위 안에서라면, 그 모든 구성요소들이 하나 이상으로 선택적으로 결합하여 동작할 수도 있다. 또한, 그 모든 구성요소들이 각각 하나의 독립적인 하드웨어로 구현될 수 있지만, 각 구성요소들의 그 일부 또는 전부가 선택적으로 조합되어 하나 또는 복수 개의 하드웨어에서 조합된 일부 기능 혹은 모든 기능을 수행하는 프로그램 모듈을 갖는 컴퓨터 프로그램으로서 구현될 수도 있다. 또한, 이와 같은 컴퓨터 프로그램은 USB 메모리, CD 디스크, 플래쉬 메모리 등과 같은 컴퓨터가 읽을 수 있는 기록매체(Computer Readable Media)에 저장되어 컴퓨터에 의하여 읽혀지고 실행됨으로써, 본 발명의 실시 예를 구현할 수 있다. 컴퓨터 프로그램의 기록매체로서는 자기 기록매체, 광 기록매체, 캐리어 웨이브 매체 등이 포함될 수 있다.Although all components constituting the embodiments of the present invention described above are described as being combined into one operation, the present invention is not necessarily limited to these embodiments. In other words, within the scope of the present invention, all of the components may be selectively operated in combination with one or more. In addition, although all the components may be implemented in one independent hardware, each or some of the components may be selectively combined to perform some or all functions combined in one or a plurality of hardware. It may be implemented as a computer program having a. In addition, such a computer program is stored in a computer readable medium such as a USB memory, a CD disk, a flash memory, and the like, and is read and executed by a computer, thereby implementing an embodiment of the present invention. The recording medium of the computer program may include a magnetic recording medium, an optical recording medium, a carrier wave medium, and the like.

따라서, 본 발명에 기재된 실시 예 및 첨부된 도면들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시 예 및 첨부된 도면에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리 범위에 포함되는 것으로 해석되어야 할 것이다.Accordingly, the embodiments and the accompanying drawings described in the present invention are not intended to limit the technical spirit of the present invention, but are for explaining, and the scope of the technical idea of the present invention is not limited by the embodiments and the accompanying drawings. . The scope of protection of the present invention should be interpreted by the claims, and all technical ideas within the scope equivalent thereto should be construed as being included in the scope of the present invention.

또한, 본 발명에 따른 스크립트를 활용한 시험 프로그램 개발 시스템 및 그 방법을 실시 예에 따라 설명하였지만, 본 발명의 범위는 특정 실시 예에 한정되는 것은 아니며, 본 발명과 관련하여 통상의 지식을 가진 자에게 자명한 범위 내에서 여러 가지의 대안, 수정 및 변경하여 실시할 수 있다.In addition, although the test program development system and method using the script according to the present invention has been described according to the embodiment, the scope of the present invention is not limited to the specific embodiment, those skilled in the art related to the present invention. Many alternatives, modifications and variations may be made without departing from the scope of the disclosure.

100 : 운용 관리부
200 : 시험 프로그램 운용 처리부
210 : 제1 인터페이스 모듈
220 : 제2 인터페이스 모듈
230 : 시험 정보 모듈
240 : 제어 정보 모듈
250 : 판단 정보 모듈
260 : 환경 정보 모듈
100: operation management unit
200: test program operation processing unit
210: first interface module
220: second interface module
230: test information module
240: control information module
250: judgment information module
260: environmental information module

Claims (14)

스크립트를 활용한 시험 프로그램 개발 시스템에 있어서,
다수의 시험 특성을 분석하여 각 시험에 대한 공통성을 갖는 스크립트 파일을 저장하는 스크립트 파일 저장부; 및
임의의 일 시험에 대한 명령어가 입력되는 경우, 상기 스크립트 파일 저장부에 저장된 스크립트 파일을 이용하여 해당 시험 프로그램에 필요한 시험 정보, 제어 정보, 판단 정보 및 환경 정보를 정의하여 해당 시험을 수행하도록 처리하는 시험 프로그램 운용 처리부를 포함하고,
상기 시험 프로그램 운용 처리부는,
상기 스크립트 파일 저장부와 접속되어 스크립트 파일 저장부에 저장된 스크립트 파일을 인터페이싱하는 인터페이스 모듈;
상기 스크립트 파일 저장부에 저장된 스크립트 파일을 이용하여 시험이 진행되는 전체 구성을 정립하는 시험 정보 모듈;
상기 스크립트 파일 저장부에 저장된 스크립트 파일을 이용하여 통신 및 계측기 제어를 통해 시험이 진행될 수 있도록 제어 정보를 정립하는 제어 정보 모듈;
상기 스크립트 파일 저장부에 저장된 시험 결과의 판단에 필요한 스크립트 파일을 이용하여 사용자에게 시험 결과에 대한 판단 근거를 제시하고 결과 판단을 수행할 수 있도록 시험 프로그램의 판단 정보를 정립하는 판단 정보 모듈; 및
상기 스크립트 파일 저장부에 저장된 스크립트 파일을 이용하여 시험에 필요한 환경 정보를 정립하는 환경 정보 모듈을 포함하는 것인 스크립트를 활용한 시험 프로그램 개발 시스템.
In the test program development system using a script,
A script file storage unit for analyzing a plurality of test characteristics and storing a script file having commonalities for each test; And
When a command for any one test is input, the test file, control information, judgment information, and environment information necessary for the corresponding test program are defined using the script file stored in the script file storage unit to process the test. Including a test program operation processing unit,
The test program operation processing unit,
An interface module connected to the script file storage unit to interface a script file stored in a script file storage unit;
A test information module for establishing an entire configuration of a test by using a script file stored in the script file storage unit;
A control information module for establishing control information so that a test can be performed through communication and instrument control using a script file stored in the script file storage unit;
A judgment information module configured to present the judgment reason for the test result to the user and establish the judgment information of the test program by using the script file necessary for the determination of the test result stored in the script file storage unit; And
And an environment information module for establishing environment information necessary for a test using a script file stored in the script file storage unit.
제1항에 있어서,
상기 스크립트 파일 저장부에 저장된 스크립트 파일은 엑셀 또는 XML 형식으로 저장되는 것인 스크립트를 활용한 시험 프로그램 개발 시스템.
The method of claim 1,
Test file development system using the script that the script file stored in the script file storage is stored in Excel or XML format.
삭제delete 제1항에 있어서,
상기 시험 정보 모듈에서 정립되는 구성은 시험 사전 절차, 시험 중 절차, 사후 절차, 대기 절차 중 적어도 하나 이상의 구성인 것인 스크립트를 활용한 시험 프로그램 개발 시스템.
The method of claim 1,
And a configuration established in the test information module is at least one of a test pre-procedure, an in-test procedure, a post-procedure procedure, and a standby procedure.
제1항에 있어서,
상기 제어 정보 모듈에서 정립되는 제어 정보는, 랜 통신 제어를 위한 정보, 시리얼 통신 제어를 위한 정보, 계측기(DMM, AWG) 제어를 위한 정보 중 적어도 하나 이상의 정보를 포함하는 것인 스크립트를 활용한 시험 프로그램 개발 시스템.
The method of claim 1,
The control information established in the control information module is a test using a script that includes at least one or more of information for LAN communication control, information for serial communication control, and information for controlling instruments (DMM, AWG). Program development system.
제1항에 있어서,
상기 판단 정보 모듈에서 정립되는 시험 프로그램의 판단 정보는 BIT 일치 정보, 허용 범위에 대한 정보, 사용자 판단에 필요한 정보 중 적어도 하나 이상의 정보를 포함하는 것인 스크립트를 활용한 시험 프로그램 개발 시스템.
The method of claim 1,
Test information development system using a script that the determination information of the test program established in the determination information module includes at least one or more information of the BIT matching information, information on the allowable range, information required for user judgment.
제1항에 있어서,
상기 환경 정보 모듈에서 정립되는 환경 정보는 IP 번호, 계측기 번호, 시험 수 정보 중 적어도 하나의 정보를 포함하는 것인 스크립트를 활용한 시험 프로그램 개발 시스템.
The method of claim 1,
The environment information established by the environment information module is a test program development system using a script that includes at least one of information of the IP number, the instrument number, the test number information.
스크립트를 활용한 시험 프로그램 개발 방법에 있어서,
다수의 시험 특성을 분석하여 각 시험에 대한 공통성을 갖는 스크립트 파일을 별도의 외부 메모리에 저장하는 단계; 및
임의의 일 시험에 대한 명령어가 입력되는 경우, 상기 메모리에 저장된 스크립트 파일을 이용하여 해당 시험 프로그램에 필요한 시험 정보, 제어 정보, 판단 정보 및 환경 정보를 정의하여 해당 시험을 수행하도록 처리하는 단계를 포함하고,
상기 해당 시험을 수행하도록 처리하는 단계는,
상기 메모리에 저장된 스크립트 파일을 이용하여 시험이 진행되는 전체 구성을 정립하는 단계;
상기 메모리에 저장된 스크립트 파일을 이용하여 통신 및 계측기 제어를 통해 시험이 진행될 수 있도록 제어 정보를 정립하는 단계;
상기 메모리에 저장된 시험 결과의 판단에 필요한 스크립트 파일을 이용하여 사용자에게 시험 결과에 대한 판단 근거를 제시하고 결과 판단을 수행할 수 있도록 시험 프로그램의 판단 정보를 정립하는 단계; 및
상기 메모리에 저장된 스크립트 파일을 이용하여 시험에 필요한 환경 정보를 정립하는 단계를 포함하는 것인 스크립트를 활용한 시험 프로그램 개발 방법.
In the test program development method using a script,
Analyzing a plurality of test characteristics and storing a script file having commonalities for each test in a separate external memory; And
When a command for any one test is input, defining test information, control information, judgment information, and environment information necessary for a corresponding test program by using a script file stored in the memory, and processing to perform the corresponding test. and,
Processing to perform the corresponding test,
Establishing an entire configuration of a test by using a script file stored in the memory;
Establishing control information so that a test can be performed through communication and instrument control using the script file stored in the memory;
Establishing judgment information of a test program to present a judgment basis for a test result to a user using a script file necessary for determining a test result stored in the memory and to perform a result judgment; And
The test program development method using the script comprising the step of establishing the environment information necessary for the test using the script file stored in the memory.
제8항에 있어서,
상기 메모리에 저장된 스크립트 파일은 엑셀 또는 XML 형식으로 저장되는 것인 스크립트를 활용한 시험 프로그램 개발 방법.
The method of claim 8,
The test file development method using the script that the script file stored in the memory is stored in Excel or XML format.
삭제delete 제8항에 있어서,
상기 시험이 진행되는 전체 구성을 정립하는 단계에서 정립되는 구성은 시험 사전 절차, 시험 중 절차, 사후 절차, 대기 절차 중 적어도 하나 이상의 구성을 포함하는 것인 스크립트를 활용한 시험 프로그램 개발 방법.
The method of claim 8,
Wherein the configuration established in the step of establishing the overall configuration of the test is a test program development method using a script comprising at least one or more of the test pre-procedure, in-process procedures, post-procedure, standby procedures.
제8항에 있어서,
상기 제어 정보를 정립하는 단계에서 정립되는 제어 정보는, 랜 통신 제어를 위한 정보, 시리얼 통신 제어를 위한 정보, 계측기(DMM, AWG) 제어를 위한 정보 중 적어도 하나 이상의 정보를 포함하는 것인 스크립트를 활용한 시험 프로그램 개발 방법.
The method of claim 8,
The control information established in the step of establishing the control information, a script that includes at least one or more of information for LAN communication control, information for serial communication control, information for controlling the instrument (DMM, AWG) How to develop a test program.
제8항에 있어서,
상기 판단 정보를 정립하는 단계에서 정립되는 시험 프로그램의 판단 정보는 BIT 일치 정보, 허용 범위에 대한 정보, 사용자 판단에 필요한 정보 중 적어도 하나 이상의 정보를 포함하는 것인 스크립트를 활용한 시험 프로그램 개발 방법.
The method of claim 8,
The determination information of the test program established in the step of establishing the determination information is a test program development method using a script that includes at least one or more information of BIT matching information, information on the allowable range, information required for user judgment.
제8항에 있어서,
상기 환경 정보를 정립하는 단계에서 정립되는 환경 정보는 IP 번호, 계측기 번호, 시험 수 정보 중 적어도 하나의 정보를 포함하는 것인 스크립트를 활용한 시험 프로그램 개발 방법.
The method of claim 8,
The environment information established in the step of establishing the environment information is a test program development method using a script that includes at least one of the information of the IP number, the instrument number, the test number information.
KR1020190067734A 2019-06-10 2019-06-10 Test program development system and its method using script KR102024275B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190067734A KR102024275B1 (en) 2019-06-10 2019-06-10 Test program development system and its method using script

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190067734A KR102024275B1 (en) 2019-06-10 2019-06-10 Test program development system and its method using script

Publications (1)

Publication Number Publication Date
KR102024275B1 true KR102024275B1 (en) 2019-09-23

Family

ID=68069294

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190067734A KR102024275B1 (en) 2019-06-10 2019-06-10 Test program development system and its method using script

Country Status (1)

Country Link
KR (1) KR102024275B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767223A (en) * 2020-06-29 2020-10-13 北京奇艺世纪科技有限公司 File processing method and device, electronic equipment and storage medium
KR20230114499A (en) * 2022-01-25 2023-08-01 한화시스템 주식회사 Apparatus and method for testing software

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007519105A (en) * 2004-01-13 2007-07-12 シンフォニー サーヴィシーズ コーポレイション Method and system for converting an automatic test script into an abstract test case representation with persistence
KR20140046121A (en) * 2012-10-10 2014-04-18 에스케이플래닛 주식회사 System and method for testing application

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007519105A (en) * 2004-01-13 2007-07-12 シンフォニー サーヴィシーズ コーポレイション Method and system for converting an automatic test script into an abstract test case representation with persistence
KR20140046121A (en) * 2012-10-10 2014-04-18 에스케이플래닛 주식회사 System and method for testing application

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767223A (en) * 2020-06-29 2020-10-13 北京奇艺世纪科技有限公司 File processing method and device, electronic equipment and storage medium
CN111767223B (en) * 2020-06-29 2024-02-23 北京奇艺世纪科技有限公司 File processing method and device, electronic equipment and storage medium
KR20230114499A (en) * 2022-01-25 2023-08-01 한화시스템 주식회사 Apparatus and method for testing software
KR102598881B1 (en) * 2022-01-25 2023-11-06 한화시스템 주식회사 Apparatus and method for testing software

Similar Documents

Publication Publication Date Title
US9910941B2 (en) Test case generation
US7917896B2 (en) Extensible execution language
US9465718B2 (en) Filter generation for load testing managed environments
US20120095718A1 (en) Automatic testing system and method
US10209306B2 (en) Methods and systems for generating functional test patterns for manufacture test
KR102430283B1 (en) User control of automated test features with software application programming interface(api)
CN103793326A (en) Assembly test method and device
JP4427002B2 (en) Program debugging device for semiconductor testing
CN111290941A (en) Method and device for testing multiple interfaces, computing equipment and medium
KR102024275B1 (en) Test program development system and its method using script
CN112416318A (en) Micro-service development method and device, storage medium and electronic equipment
CN115563019A (en) UVM and C combined verification method and system
CN112860587B (en) UI automatic test method and device
CN115904852B (en) Automatic test method, equipment and medium for data processor
CN112527312A (en) Test method and test device for embedded system
CN112035300A (en) Server BMC automatic test system, method, storage medium and electronic device
KR20230044380A (en) Method for providing code inspection interface, and apparatus implementing the same method
US10467131B1 (en) Method and system for performance analysis by test automation frameworks
CN110717305A (en) Method, system, device and medium suitable for verifying and confirming FPGA
US8990624B2 (en) Emulator verification system, emulator verification method
CN115185829A (en) Business process testing method and device, terminal equipment and storage medium
CN114647568A (en) Automatic testing method and device, electronic equipment and readable storage medium
CN109374038B (en) Change test method of nuclear security level instrument control product based on application prototype
US20200349304A1 (en) Method, apparatus, device, and medium for implementing simulator
WO2023238262A1 (en) Information processing device, testing method, and testing program

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant