KR20100062233A - Test automation system and method - Google Patents

Test automation system and method Download PDF

Info

Publication number
KR20100062233A
KR20100062233A KR1020080120711A KR20080120711A KR20100062233A KR 20100062233 A KR20100062233 A KR 20100062233A KR 1020080120711 A KR1020080120711 A KR 1020080120711A KR 20080120711 A KR20080120711 A KR 20080120711A KR 20100062233 A KR20100062233 A KR 20100062233A
Authority
KR
South Korea
Prior art keywords
test
simulator
target system
environment
case
Prior art date
Application number
KR1020080120711A
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 KR1020080120711A priority Critical patent/KR20100062233A/en
Publication of KR20100062233A publication Critical patent/KR20100062233A/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23453Pc simulates equipment and is connected to sequencer to test program
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2604Test of external equipment

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE: A test automation system and a method are provided to automatically test a target system to be tested by controlling a simulator. CONSTITUTION: A simulator(300) simulates surrounding environments. A test automation device controls the simulator and a target system(100) according to a test case. The test automation device comprises a test case setting unit and a testing unit(110). The test case setting unit establishes the test case. The testing unit establishes the surroundings of the simulator. The testing unit conducting unit controls the operations of the target system and the simulator.

Description

테스트 자동화 시스템 및 방법{TEST AUTOMATION SYSTEM AND METHOD}Test Automation System and Methods {TEST AUTOMATION SYSTEM AND METHOD}

본 발명은 테스트 자동화 시스템 및 방법에 관한 것으로, 보다 상세하게는 시뮬레이터를 제어하여 테스트 대상 시스템의 테스트를 자동으로 수행할 수 있는 테스트 자동화 시스템 및 방법에 관한 것이다.The present invention relates to a test automation system and method, and more particularly, to a test automation system and method capable of automatically performing a test of a test target system by controlling a simulator.

일반적으로 휴대폰 등과 같은 내장형 시스템(Embedded System)을 시장에 출시하기 전에 품질 및 성능 테스트를 수행한다. 이와 같은 내장형 시스템의 품질 및 성능을 테스트하기 위해서는 주위 환경을 내장형 시스템이 실제 사용되는 환경처럼 시뮬레이션해주는 다양한 시뮬레이터가 필요하며, 내장형 시스템의 개발 도중에도 마찬가지이다.Typically, quality and performance tests are performed before bringing an embedded system such as a mobile phone to the market. Testing the quality and performance of these embedded systems requires a variety of simulators that simulate the environment as if the embedded system were actually used, even during the development of embedded systems.

그러나 내장형 시스템의 품질 및 성능 테스트를 하기 위해서는 테스트의 종류 및 목적에 따라 관리자 등이 직접 시뮬레이터의 환경을 설정하거나 동작을 제어하여야 한다. 따라서 테스트에 많은 인력, 비용, 시간 등이 소요되는 문제점이 있다. 이와 같은 문제점을 해결하기 위해 테스트를 자동으로 수행할 수 있는 기술의 개발이 필요한 실정이다.However, in order to test the quality and performance of the embedded system, the administrator or the like must set the simulator environment or control the operation according to the type and purpose of the test. Therefore, there is a problem that requires a lot of manpower, cost, time, etc. for the test. In order to solve this problem, it is necessary to develop a technology that can automatically perform a test.

본 발명이 해결하고자 하는 과제는 시뮬레이터를 제어하여 테스트 대상 시스템의 테스트를 자동으로 수행할 수 있는 테스트 자동화 시스템 및 방법을 제공하는 것이다.The problem to be solved by the present invention is to provide a test automation system and method that can automatically perform the test of the test target system by controlling the simulator.

이러한 기술적 과제를 해결하기 위한 본 발명의 실시예에 따른 테스트 자동화 시스템은, 주위 환경을 테스트 대상 시스템이 실제 사용되는 환경처럼 시뮬레이션해주는 시뮬레이터, 그리고 테스트 케이스에 따라 상기 시뮬레이터 및 상기 테스트 대상 시스템을 제어하여 테스트를 수행하는 테스트 자동화 장치를 포함한다.The test automation system according to an embodiment of the present invention for solving the technical problem, by controlling the simulator and the test target system according to the simulator and a test case for simulating the surrounding environment as the environment in which the test target system is actually used It includes a test automation device for performing the test.

상기 테스트 케이스는 테스트 절차를 기술하고 있으며, 시뮬레이터를 대상으로 하는 절차와 테스트 대상 시스템을 대상으로 하는 절차로 구성되어 있을 수 있다.The test case describes a test procedure and may include a procedure for a simulator and a procedure for a test target system.

상기 테스트 자동화 장치는, 상기 테스트 케이스를 설정하는 테스트 케이스 설정부, 그리고 상기 테스트 케이스에 기술된 내용에 따라 상기 시뮬레이터의 환경을 설정하고 상기 테스트 케이스에 기술된 내용에 따라 상기 시뮬레이터 및 상기 테스트 대상 시스템의 동작을 제어하여 테스트를 수행하는 테스트 수행부를 포함할 수 있다.The test automation device may include a test case setting unit configured to set the test case, and an environment of the simulator according to the contents described in the test case, and the simulator and the test target system according to the contents described in the test case. It may include a test execution unit for performing a test by controlling the operation of.

상기 테스트 수행부는 상기 테스트 대상 시스템으로부터 제공받은 테스트 수행 결과 정보를 이용하여 테스트 수행 보고서를 작성하는 동작을 더 수행할 수 있 다.The test execution unit may further perform an operation of creating a test performance report by using test performance result information provided from the test target system.

상기 시뮬레이터는, 상기 테스트 자동화 장치의 제어에 따라 상기 시뮬레이터의 환경을 설정하거나 해당하는 동작을 수행하도록 제어하는 시뮬레이터 제어부를 포함할 수 있다.The simulator may include a simulator controller configured to set an environment of the simulator or perform a corresponding operation according to the control of the test automation device.

상기 테스트 자동화 장치의 제어에 따라 상기 시뮬레이터의 환경을 설정하거나 해당하는 동작을 수행하도록 제어하는 시뮬레이터 제어장치를 더 포함할 수 있다.The apparatus may further include a simulator controller configured to set an environment of the simulator or perform a corresponding operation according to the control of the test automation device.

본 발명의 실시예에 따른 테스트 자동화 장치는, 테스트 케이스를 설정하는 테스트 케이스 설정부, 그리고 상기 테스트 케이스에 기술된 내용에 따라 시뮬레이터의 환경을 설정하고 상기 테스트 케이스에 기술된 내용에 따라 상기 시뮬레이터 및 테스트 대상 시스템의 동작을 제어하여 테스트를 수행하는 테스트 수행부를 포함한다.According to an embodiment of the present invention, a test automation device includes a test case setting unit for setting a test case, and an environment of a simulator according to the contents described in the test case, and the simulator and It includes a test execution unit for performing a test by controlling the operation of the test target system.

본 발명의 실시예에 따른 테스트 자동화 방법은, 테스트 케이스를 설정하는 단계, 상기 테스트 케이스에 기술된 내용에 따라 시뮬레이터의 환경을 설정하는 단계, 그리고 상기 테스트 케이스에 기술된 내용에 따라 상기 시뮬레이터 및 테스트 대상 시스템의 동작을 제어하여 테스트를 수행하는 단계를 포함한다.Test automation method according to an embodiment of the present invention, the step of setting a test case, setting the environment of the simulator in accordance with the contents described in the test case, and the simulator and the test in accordance with the contents described in the test case Controlling the operation of the target system to perform the test.

상기 테스트 케이스는 테스트 절차를 기술하고 있으며, 시뮬레이터를 대상으로 하는 절차와 테스트 대상 시스템을 대상으로 하는 절차로 구성되어 있을 수 있다.The test case describes a test procedure and may include a procedure for a simulator and a procedure for a test target system.

상기 테스트 대상 시스템으로부터 제공받은 테스트 수행 결과 정보를 이용하 여 테스트 수행 보고서를 작성하는 단계를 더 포함할 수 있다.The method may further include generating a test performance report using the test performance result information provided from the test target system.

본 발명의 실시예에 따른 컴퓨터로 읽을 수 있는 매체는 상기한 방법 중 어느 하나를 컴퓨터에 실행시키기 위한 프로그램을 기록한다.A computer-readable medium according to an embodiment of the present invention records a program for causing a computer to execute any one of the above methods.

이와 같이 본 발명에 의하면, 시뮬레이터를 제어하여 테스트 대상 시스템의 테스트를 자동으로 수행할 수 있으므로, 내장형 시스템의 개발 또는 테스트 시 소요되는 인력, 비용, 시간 등을 줄일 수 있고, 다양한 테스트를 용이하게 수행할 수 있다. 또한 동일한 테스트를 자주 반복하여 수행함으로써 고품질의 내장형 시스템을 개발할 수 있다.As described above, according to the present invention, since the test of the test target system can be automatically performed by controlling the simulator, it is possible to reduce manpower, cost, time, etc. when developing or testing the embedded system, and to easily perform various tests. can do. In addition, by repeating the same test frequently, high-quality embedded systems can be developed.

그러면 첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention.

먼저, 도 1 및 도 2를 참고하여 본 발명의 한 실시예에 따른 테스트 자동화 시스템에 대하여 상세하게 설명한다.First, a test automation system according to an exemplary embodiment of the present invention will be described in detail with reference to FIGS. 1 and 2.

도 1은 본 발명의 한 실시예에 따른 테스트 자동화 시스템을 설명하기 위한 블록도이고, 도 2는 도 1에서 도시한 테스트 자동화 장치를 보다 자세하게 나타낸 블록도이다.1 is a block diagram illustrating a test automation system according to an exemplary embodiment of the present invention, and FIG. 2 is a block diagram illustrating the test automation device illustrated in FIG. 1 in more detail.

본 발명의 한 실시예에 따른 테스트 자동화 시스템은 시뮬레이터(300) 및 테스트 자동화 장치(200)를 포함하며, 테스트 대상 시스템(100)과 통신망(400)을 통 해 연결되어 있다. 여기서 시뮬레이터(300)는 테스트 대상 시스템(100)에 따라 복수 개가 존재할 수 있다.The test automation system according to an embodiment of the present invention includes a simulator 300 and a test automation device 200, and is connected to the test target system 100 through a communication network 400. Here, a plurality of simulators 300 may exist according to the test target system 100.

테스트 자동화 장치(200)는 테스트 케이스 설정부(210), 테스트 수행부(230) 및 통신부(250)를 포함하며, 시뮬레이터(300)의 환경을 설정하고 테스트 케이스에 따라 테스트 대상 시스템(100) 및 시뮬레이터(300)를 제어하여 테스트 대상 시스템(100)의 테스트를 수행한다.The test automation device 200 includes a test case setting unit 210, a test performing unit 230, and a communication unit 250. The environment of the simulator 300 is set and the test target system 100 and the test case are configured according to the test case. The simulator 300 is controlled to perform a test of the test target system 100.

테스트 케이스 설정부(210)는 테스트 수행 시 이용되는 테스트 케이스를 설정한다. 즉, 테스트 케이스 설정부(210)는 데이터베이스(도시하지 않음)에 저장되어 있는 테스트 케이스 중에서 하나를 설정하거나 관리자 등으로부터 입력 받은 테스트 케이스를 설정할 수 있다. 물론, 테스트 케이스 설정부(210)는 외부 장치(도시하지 않음)로부터 제공받은 테스트 케이스를 설정할 수도 있다.The test case setting unit 210 sets a test case used when performing a test. That is, the test case setting unit 210 may set one of test cases stored in a database (not shown) or set a test case input from an administrator. Of course, the test case setting unit 210 may set a test case provided from an external device (not shown).

테스트 케이스에는 테스트 절차가 기술되어 있으며, 시뮬레이터(300)를 대상으로 하는 절차와 테스트 대상 시스템(100)을 대상으로 하는 절차로 구성되어 있다. 여기서 시뮬레이터(300)를 대상으로 하는 절차는 시뮬레이터(300)의 환경을 설정하는 명령이나 시뮬레이터(300)의 동작을 제어하는 명령을 의미하고, 테스트 대상 시스템(100)을 대상으로 하는 절차는 테스트 대상 시스템(100)의 동작을 제어하는 명령을 의미한다. 테스트의 종류와 목적에 따라 시뮬레이터(300)를 대상으로 하는 절차와 테스트 대상 시스템(100)을 대상으로 하는 절차를 조합하여 다양한 테스트 케이스의 작성이 가능하다. 예를 들어, 테스트 케이스는 시뮬레이터(300)의 초기 환경을 설정하는 명령, 테스트 대상 시스템(100)이 A 동작을 수행하도록 제어 하는 명령, 시뮬레이터(300)가 B 동작을 수행하도록 제어하는 명령, 테스트 대상 시스템(100)이 C 동작을 수행하도록 제어하는 명령, 시뮬레이터(300)를 D 환경으로 설정하는 명령, 테스트 대상 시스템(100)이 E 동작을 수행하도록 제어하는 명령 등으로 구성될 수 있다.The test case describes a test procedure, and is composed of a procedure for the simulator 300 and a procedure for the test target system 100. Here, the procedure for targeting the simulator 300 refers to a command for setting the environment of the simulator 300 or a command for controlling the operation of the simulator 300, and the procedure for targeting the test target system 100 is a test target. Means a command to control the operation of the system 100. According to the type and purpose of the test, various test cases can be created by combining the procedure for the simulator 300 and the procedure for the test target system 100. For example, the test case is a command for setting the initial environment of the simulator 300, a command for controlling the system 100 to perform the A operation, a command for controlling the simulator 300 to perform the B operation, a test It may include a command for controlling the target system 100 to perform the C operation, a command for setting the simulator 300 to the D environment, a command for controlling the test target system 100 to perform the E operation, and the like.

테스트 수행부(230)는 테스트 케이스에 기술된 내용에 따라 시뮬레이터(300)의 환경을 설정한다. 즉, 테스트 환경 설정부(230)는 테스트 케이스에 기술된 시뮬레이터(300)의 환경을 설정하는 명령을 기초로 시뮬레이터 환경 설정 정보를 생성하여, 이를 해당 시뮬레이터(300)로 전송할 수 있다. 여기서 테스트 대상 시스템(100)의 테스트를 수행하기 전에 시뮬레이터(300)의 환경을 설정하는 것이 일반적이나, 이와 달리 테스트 수행 도중에 시뮬레이터(300)의 환경을 변경하는 것도 가능하다.The test performer 230 sets the environment of the simulator 300 according to the contents described in the test case. That is, the test environment setting unit 230 may generate simulator environment setting information based on a command for setting the environment of the simulator 300 described in the test case, and may transmit the same to the simulator 300. Here, the environment of the simulator 300 is generally set before the test of the test target system 100 is performed. Alternatively, the environment of the simulator 300 may be changed during the test.

테스트 수행부(230)는 테스트 케이스에 기술된 내용에 따라 테스트 대상 시스템(100)의 테스트를 수행한다. 즉, 테스트 수행부(230)는 테스트 케이스에 기술된 테스트 대상 시스템(100)의 동작을 제어하는 명령을 기초로 테스트 명령 정보를 생성하여, 이를 테스트 대상 시스템(100)으로 전송할 수 있다. 또한 테스트 수행부(230)는 테스트 케이스에 기술된 내용에 따라 시뮬레이터(300)의 동작을 제어한다. 즉, 테스트 수행부(230)는 테스트 케이스에 기술된 시뮬레이터(300)의 동작을 제어하는 명령을 기초로 시뮬레이터 명령 정보를 생성하여, 이를 시뮬레이터(300)로 전송할 수 있다.The test performer 230 performs a test of the test target system 100 according to the contents described in the test case. That is, the test execution unit 230 may generate test command information based on a command for controlling the operation of the test target system 100 described in the test case, and transmit the test command information to the test target system 100. In addition, the test execution unit 230 controls the operation of the simulator 300 according to the contents described in the test case. That is, the test execution unit 230 may generate simulator command information based on a command for controlling the operation of the simulator 300 described in the test case, and transmit the simulator command information to the simulator 300.

그리고 테스트 수행부(230)는 테스트 대상 시스템(100)으로부터 제공받은 테 스트 수행 결과 정보를 이용하여 테스트 수행 보고서를 작성할 수 있다. 예를 들면, 테스트 케이스에 기술된 내용과 테스트 수행 결과 정보를 시간의 흐름에 따라 정리하여 테스트 수행 보고서를 작성할 수 있다.In addition, the test execution unit 230 may create a test performance report using the test performance result information provided from the test target system 100. For example, you can create a test report by organizing the information described in the test case and test result information over time.

한편, 테스트 수행부(230)는 테스트 자동화 장치(200)의 동작을 제어하기 위해 테스트 실행 모듈을 테스트 자동화 장치(200)로 전송할 수 있다. 또한 테스트 수행부(230)는 시뮬레이터(300)의 동작을 제어하거나 환경을 설정하기 위해 시뮬레이터 제어 모듈을 시뮬레이터(300)로 전송할 수 있다.The test performer 230 may transmit a test execution module to the test automation device 200 to control the operation of the test automation device 200. In addition, the test performing unit 230 may transmit a simulator control module to the simulator 300 to control the operation of the simulator 300 or to set an environment.

통신부(250)는 테스트 대상 시스템(100) 또는 시뮬레이터(300)와 통신망(400)을 통해 데이터, 정보 등을 송수신한다. 특히 본 발명에 의하면, 통신부(250)는 시뮬레이터(300)로 시뮬레이터 환경 설정 정보, 시뮬레이터 명령 정보, 시뮬레이터 제어 모듈 등을 송신하거나 테스트 대상 시스템(100)으로 테스트 명령 정보, 테스트 실행 모듈 등을 송신하고, 테스트 대상 시스템(100)으로부터 테스트 수행 결과 정보 등을 수신할 수 있다.The communication unit 250 transmits and receives data, information, and the like through the communication network 400 with the test target system 100 or the simulator 300. In particular, according to the present invention, the communication unit 250 transmits the simulator environment setting information, the simulator command information, the simulator control module, etc. to the simulator 300 or the test command information, the test execution module, etc. to the test target system 100 and The test performance result information may be received from the test target system 100.

테스트 대상 시스템(100)은 테스트 실행부(110)를 포함하며, 테스트의 대상이 되는 장치로서 내장형 시스템(Embedded System) 등을 의미한다. 예를 들어, 테스트 대상 시스템(100)은 휴대폰 등과 같은 모바일 장치를 의미할 수 있다.The test target system 100 includes a test execution unit 110 and refers to an embedded system as a device to be tested. For example, the test target system 100 may refer to a mobile device such as a mobile phone.

테스트 실행부(110)는 테스트 자동화 장치(200)로부터 전송 받은 테스트 명령 정보에 따라 해당하는 동작을 수행하고, 테스트 수행 결과 정보를 테스트 자동화 장치(200)로 전송할 수 있다. 여기서 테스트 실행부(110)는 테스트 대상 시스템(100)에 원래 존재하는 모듈일 수도 있고, 테스트 자동화 장치(200)로부터 테스 트 실행 모듈을 전송 받아 테스트 대상 시스템(100)에 설치될 수도 있다.The test execution unit 110 may perform a corresponding operation according to the test command information received from the test automation device 200, and transmit the test execution result information to the test automation device 200. The test execution unit 110 may be a module originally present in the test target system 100 or may be installed in the test target system 100 by receiving the test execution module from the test automation device 200.

시뮬레이터(300)는 시뮬레이터 제어부(310)를 포함하며, 주위 환경을 테스트 대상 시스템(100)이 실제 사용되는 환경처럼 시뮬레이션해주는 장치이다. 예를 들어, 시뮬레이터(300)는 GSM 망을 시뮬레이션해주는 장치를 의미할 수 있다. 테스트 대상 시스템(100)이 GSM 방식의 휴대폰인 경우, 우리나라는 GSM 방식의 통신 서비스가 제공되지 않기 때문에 테스트를 수행하기 위해서는 GSM 망을 시뮬레이션해주는 장치가 필요하다.The simulator 300 includes a simulator controller 310 and is a device that simulates the surrounding environment as if the test target system 100 is actually used. For example, the simulator 300 may refer to a device for simulating a GSM network. If the test target system 100 is a GSM type mobile phone, in Korea, a GSM type communication service is not provided, and thus, a device for simulating a GSM network is required to perform a test.

시뮬레이터 제어부(310)는 테스트 자동화 장치(200)로부터 전송 받은 시뮬레이터 환경 설정 정보에 따라 시뮬레이터(300)의 환경을 설정하거나 테스트 자동화 장치(200)로부터 전송 받은 시뮬레이터 명령 정보에 따라 해당하는 동작을 수행할 수 있다. 여기서 시뮬레이터 제어부(310)는 시뮬레이터(300)에 원래 존재하는 모듈일 수도 있고, 테스트 자동화 장치(200)로부터 시뮬레이터 제어 모듈을 전송 받아 시뮬레이터(300)에 설치될 수도 있다.The simulator controller 310 may set the environment of the simulator 300 according to the simulator environment setting information received from the test automation device 200 or perform a corresponding operation according to the simulator command information received from the test automation device 200. Can be. The simulator controller 310 may be a module originally present in the simulator 300, or may be installed in the simulator 300 by receiving the simulator control module from the test automation device 200.

통신망(400)은 구내 정보 통신망(local area network, LAN), 도시권 통신망(metropolitan area network, MAN), 광역 통신망(wide area network, WAN), 인터넷 등을 가리지 않고, 통신 방식도 유선, 무선을 가리지 않으며 어떠한 통신 방식이라도 상관없다.The communication network 400 does not select a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), the Internet, and the like, and the communication method is wired or wireless. It doesn't matter what type of communication you have.

다음으로, 도 3을 참고하여 본 발명의 한 실시예에 따른 테스트 자동화 방법에 대해 설명한다.Next, a test automation method according to an embodiment of the present invention will be described with reference to FIG. 3.

도 3은 본 발명의 한 실시예에 따른 테스트 자동화 방법을 설명하기 위한 흐 름도이다.3 is a flowchart illustrating a test automation method according to an embodiment of the present invention.

먼저, 테스트 자동화 장치(200)는 테스트 대상 시스템(100)의 테스트 수행 시 이용되는 테스트 케이스를 설정한다(S800). 즉, 테스트 자동화 장치(200)는 데이터베이스(도시하지 않음)에 저장되어 있는 테스트 케이스 중에서 하나를 설정하거나 관리자 등으로부터 입력 받은 테스트 케이스를 설정할 수 있다. 물론, 테스트 자동화 장치(200)는 외부 장치(도시하지 않음)로부터 제공받은 테스트 케이스를 설정할 수도 있다.First, the test automation device 200 sets a test case used when a test of the test target system 100 is performed (S800). That is, the test automation device 200 may set one of test cases stored in a database (not shown) or set a test case input from an administrator or the like. Of course, the test automation device 200 may set a test case provided from an external device (not shown).

테스트 케이스를 설정한 후, 테스트 자동화 장치(200)는 테스트 케이스에 기술된 내용에 따라 시뮬레이터(300)의 초기 환경을 설정한다(S810). 즉, 테스트 자동화 장치(200)가 테스트 케이스에 기술된 시뮬레이터(300)의 환경을 설정하는 명령을 기초로 시뮬레이터 환경 설정 정보를 생성하여, 이를 시뮬레이터(300)로 전송할 수 있다. 그러면, 시뮬레이터(300)는 시뮬레이터 환경 설정 정보에 따라 시뮬레이터(300)의 환경을 설정할 수 있다. 여기서 테스트 대상 시스템(100)의 테스트를 수행하기 전에 시뮬레이터(300)의 환경을 설정하는 것이 일반적이나, 이와 달리 테스트 수행 도중에 시뮬레이터(300)의 환경을 변경하는 것도 가능하다.After setting the test case, the test automation device 200 sets an initial environment of the simulator 300 according to the contents described in the test case (S810). That is, the test automation device 200 may generate simulator environment setting information based on a command for setting the environment of the simulator 300 described in the test case, and transmit it to the simulator 300. Then, the simulator 300 may set the environment of the simulator 300 according to the simulator environment setting information. Here, the environment of the simulator 300 is generally set before the test of the test target system 100 is performed. Alternatively, the environment of the simulator 300 may be changed during the test.

이후, 테스트 자동화 장치(200)는 테스트 케이스에 기술된 내용에 따라 테스트 대상 시스템(100)의 테스트를 수행한다(S820). 즉, 테스트 자동화 장치(200)가 테스트 케이스에 기술된 테스트 대상 시스템(100)의 동작을 제어하는 명령을 기초로 테스트 명령 정보를 생성하여, 이를 테스트 대상 시스템(100)으로 전송할 수 있다. 그러면, 테스트 대상 시스템(100)은 테스트 명령 정보에 따라 해당하는 동작 을 수행하고, 테스트 수행 결과 정보를 테스트 자동화 장치(200)로 전송할 수 있다.Thereafter, the test automation device 200 performs a test of the test target system 100 according to the contents described in the test case (S820). That is, the test automation device 200 may generate test command information based on a command for controlling the operation of the test target system 100 described in the test case, and transmit the test command information to the test target system 100. Then, the test target system 100 may perform a corresponding operation according to the test command information, and transmit the test execution result information to the test automation device 200.

또한 테스트 자동화 장치(200)가 테스트 케이스에 기술된 시뮬레이터(300)의 동작을 제어하는 명령을 기초로 시뮬레이터 명령 정보를 생성하여, 이를 시뮬레이터(300)로 전송할 수 있다. 그러면, 시뮬레이터(300)는 시뮬레이터 명령 정보에 따라 해당하는 동작을 수행할 수 있다.In addition, the test automation device 200 may generate simulator command information based on a command for controlling the operation of the simulator 300 described in the test case, and transmit it to the simulator 300. Then, the simulator 300 may perform a corresponding operation according to the simulator command information.

마지막으로, 테스트 자동화 장치(200)는 테스트 대상 시스템(100)으로부터 제공받은 테스트 수행 결과 정보를 이용하여 테스트 수행 보고서를 작성할 수 있다(S830).Finally, the test automation device 200 may create a test performance report using the test performance result information provided from the test target system 100 (S830).

그러면, 도 4를 참고하여 본 발명의 다른 실시예에 따른 테스트 자동화 시스템에 대해 설명한다.Next, a test automation system according to another embodiment of the present invention will be described with reference to FIG. 4.

도 4는 본 발명의 다른 실시예에 따른 테스트 자동화 시스템을 설명하기 위한 블록도이다.4 is a block diagram illustrating a test automation system according to another exemplary embodiment of the present invention.

도 4에 도시한 것처럼, 본 발명의 다른 실시예에 따른 테스트 자동화 시스템은 통신망(400)을 통해 연결되어 있는 테스트 대상 시스템(100), 시뮬레이터 제어장치(600) 및 테스트 자동화 장치(200)를 포함하며, 시뮬레이터 제어장치(600)는 시뮬레이터(500)와 직접 연결되어 있다. 여기서 시뮬레이터(500)는 테스트 대상 시스템(100)에 따라 복수 개가 존재할 수 있고, 이에 따라 시뮬레이터 제어장치(600)도 복수 개 존재할 수 있다.As shown in FIG. 4, the test automation system according to another embodiment of the present invention includes a test target system 100, a simulator control device 600, and a test automation device 200 connected through a communication network 400. The simulator control device 600 is directly connected to the simulator 500. Here, a plurality of simulators 500 may exist according to the test target system 100, and accordingly, a plurality of simulator controllers 600 may exist.

본 실시예의 테스트 자동화 시스템은 시뮬레이터(500)를 제외하면 앞선 실시 예의 테스트 자동화 시스템과 실질적으로 동일하다. 따라서 동일한 부분에 대하여는 동일한 도면 부호를 부여하였으며 이들에 대하여는 설명을 생략한다.The test automation system of this embodiment is substantially the same as the test automation system of the previous embodiment except for the simulator 500. Therefore, the same reference numerals are assigned to the same parts, and description thereof is omitted.

앞선 실시예의 테스트 자동화 시스템은 시뮬레이터(300)의 환경을 설정하거나 동작을 제어하는 것을 시뮬레이터(300) 내에 존재하는 시뮬레이터 제어부(310)에서 수행하였으나, 이와 달이 본 실시예의 테스트 자동화 시스템은 시뮬레이터(500)의 환경을 설정하거나 동작을 제어하는 것을 시뮬레이터(500)와 직접 연결되어 있는 시뮬레이터 제어장치(600)에서 수행한다.Although the test automation system of the foregoing embodiment has performed the setting of the environment of the simulator 300 or controlling the operation in the simulator control unit 310 existing in the simulator 300, this month the test automation system of the present embodiment is the simulator 500 Setting the environment or controlling the operation is performed by the simulator controller 600 directly connected to the simulator 500.

본 실시예의 시뮬레이터(500)는 앞선 실시예의 시뮬레이터 제어부(310)를 포함하지 않는 것을 제외하고는 앞선 실시예의 시뮬레이터(300)와 실질적으로 동일한 동작을 수행하며, 본 실시예의 시뮬레이터 제어장치(600)는 앞선 실시예의 시뮬레이터(300) 내에 존재하는 시뮬레이터 제어부(310)와 실질적으로 동일한 동작을 수행한다.The simulator 500 of the present embodiment performs substantially the same operation as the simulator 300 of the previous embodiment, except that the simulator control unit 310 of the previous embodiment is not included. Substantially the same operation as the simulator control unit 310 present in the simulator 300 of the previous embodiment.

한편, 앞선 실시예의 테스트 자동화 시스템은 시뮬레이터(300) 내에 존재하는 시뮬레이터 제어부(310)가 시뮬레이터(300)의 환경을 설정하거나 동작을 제어하고, 본 실시예의 테스트 자동화 시스템은 시뮬레이터(500)와 직접 연결되어 있는 시뮬레이터 제어장치(600)가 시뮬레이터(500)의 환경을 설정하거나 동작을 제어하는 것으로 설명하였다. 그러나 본 발명은 이에 한정되지 않고, 테스트 자동화 시스템에 복수 개의 시뮬레이터가 존재하는 경우에 시뮬레이터의 환경을 설정하거나 동작을 제어하는 것을, 일부 시뮬레이터는 상기 시뮬레이터 내에 존재하는 시뮬레이터 제어부에서 수행하고 다른 시뮬레이터는 상기 시뮬레이터와 직접 연결되어 있 는 시뮬레이터 제어장치에서 수행할 수도 있다.On the other hand, in the test automation system of the above embodiment, the simulator controller 310 present in the simulator 300 sets the environment or controls the operation of the simulator 300, and the test automation system of the present embodiment is directly connected to the simulator 500. The simulator control device 600 has been described as setting the environment of the simulator 500 or controlling the operation. However, the present invention is not limited thereto, and in the case where a plurality of simulators exist in the test automation system, setting or controlling the environment of the simulators may be performed by some simulators in a simulator controller present in the simulators, and other simulators may be used. It can also be done in a simulator control unit that is directly connected to the simulator.

본 발명의 실시예는 다양한 컴퓨터로 구현되는 동작을 수행하기 위한 프로그램 명령을 포함하는 컴퓨터로 읽을 수 있는 매체를 포함한다. 이 매체는 지금까지 설명한 테스트 자동화 방법을 실행시키기 위한 프로그램을 기록한다. 이 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 이러한 매체의 예에는 하드디스크, 플로피디스크 및 자기 테이프와 같은 자기 매체, CD 및 DVD와 같은 광기록 매체, 플롭티컬 디스크(Floptical Disk)와 자기-광 매체, 롬, 램, 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 구성된 하드웨어 장치 등이 있다. 또는 이러한 매체는 프로그램 명령, 데이터 구조 등을 지정하는 신호를 전송하는 반송파를 포함하는 광 또는 금속선, 도파관 등의 전송 매체일 수 있다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다.Embodiments of the invention include a computer readable medium containing program instructions for performing various computer-implemented operations. This medium records the program for executing the test automation method described so far. The media may include, alone or in combination with the program instructions, data files, data structures, and the like. Examples of such media include magnetic media such as hard disks, floppy disks and magnetic tape, optical recording media such as CDs and DVDs, floppy disks and program commands such as magnetic-optical media, ROM, RAM and flash memory. Hardware devices configured to store and perform such operations. Alternatively, the medium may be a transmission medium such as an optical or metal wire, a waveguide, or the like including a carrier wave for transmitting a signal specifying a program command, a data structure, 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.

이상에서 본 발명의 바람직한 실시예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.Although the preferred embodiments of the present invention have been described in detail above, the scope of the present invention is not limited thereto, and various modifications and improvements of those skilled in the art using the basic concepts of the present invention defined in the following claims are also provided. It belongs to the scope of rights.

도 1은 본 발명의 한 실시예에 따른 테스트 자동화 시스템을 설명하기 위한 블록도이다.1 is a block diagram illustrating a test automation system according to an exemplary embodiment of the present invention.

도 2는 도 1에서 도시한 테스트 자동화 장치를 보다 자세하게 나타낸 블록도이다.FIG. 2 is a block diagram illustrating the test automation device of FIG. 1 in more detail.

도 3은 본 발명의 한 실시예에 따른 테스트 자동화 방법을 설명하기 위한 흐흠도이다.3 is a flow chart for explaining a test automation method according to an embodiment of the present invention.

도 4는 본 발명의 다른 실시예에 따른 테스트 자동화 시스템을 설명하기 위한 블록도이다.4 is a block diagram illustrating a test automation system according to another exemplary embodiment of the present invention.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

100: 테스트 대상 시스템, 200: 테스트 자동화 장치,100: test target system, 200: test automation device,

300, 500: 시뮬레이터, 400: 통신망,300, 500: simulator, 400: network,

600: 시뮬레이터 제어장치600: simulator controller

Claims (10)

주위 환경을 테스트 대상 시스템이 실제 사용되는 환경처럼 시뮬레이션해주는 시뮬레이터, 그리고A simulator that simulates the environment as if the system under test 테스트 케이스에 따라 상기 시뮬레이터 및 상기 테스트 대상 시스템을 제어하여 테스트를 수행하는 테스트 자동화 장치A test automation device for performing a test by controlling the simulator and the test target system according to a test case 를 포함하는 테스트 자동화 시스템.Test automation system comprising a. 제1항에서,In claim 1, 상기 테스트 케이스는 테스트 절차를 기술하고 있으며, 시뮬레이터를 대상으로 하는 절차와 테스트 대상 시스템을 대상으로 하는 절차로 구성되어 있는 테스트 자동화 시스템.The test case describes a test procedure and comprises a test procedure for a simulator and a test procedure for a test target system. 제1항에서,In claim 1, 상기 테스트 자동화 장치는,The test automation device, 상기 테스트 케이스를 설정하는 테스트 케이스 설정부, 그리고A test case setting unit for setting the test case, and 상기 테스트 케이스에 기술된 내용에 따라 상기 시뮬레이터의 환경을 설정하고 상기 테스트 케이스에 기술된 내용에 따라 상기 시뮬레이터 및 상기 테스트 대상 시스템의 동작을 제어하여 테스트를 수행하는 테스트 수행부를 포함하는 테스트 자동화 시스템.And a test execution unit configured to set an environment of the simulator according to the contents described in the test case and to control the operations of the simulator and the test target system according to the contents described in the test case. 제3항에서,4. The method of claim 3, 상기 테스트 수행부는 상기 테스트 대상 시스템으로부터 제공받은 테스트 수행 결과 정보를 이용하여 테스트 수행 보고서를 작성하는 동작을 더 수행하는 테스트 자동화 시스템.The test execution unit further performs an operation of creating a test performance report using the test performance result information provided from the test target system. 제1항에서,In claim 1, 상기 시뮬레이터는, 상기 테스트 자동화 장치의 제어에 따라 상기 시뮬레이터의 환경을 설정하거나 해당하는 동작을 수행하도록 제어하는 시뮬레이터 제어부를 포함하는 테스트 자동화 시스템.The simulator may include a simulator controller configured to control an environment of the simulator or perform a corresponding operation according to the control of the test automation device. 제1항에서,In claim 1, 상기 테스트 자동화 장치의 제어에 따라 상기 시뮬레이터의 환경을 설정하거나 해당하는 동작을 수행하도록 제어하는 시뮬레이터 제어장치를 더 포함하는 테스트 자동화 시스템.Test automation system further comprises a simulator control unit for controlling to set the environment of the simulator or perform a corresponding operation in accordance with the control of the test automation device. 테스트 케이스를 설정하는 테스트 케이스 설정부, 그리고A test case setting unit for setting a test case, and 상기 테스트 케이스에 기술된 내용에 따라 시뮬레이터의 환경을 설정하고 상기 테스트 케이스에 기술된 내용에 따라 상기 시뮬레이터 및 테스트 대상 시스템의 동작을 제어하여 테스트를 수행하는 테스트 수행부A test execution unit configured to set the environment of the simulator according to the contents described in the test case and to control the operations of the simulator and the system under test according to the contents described in the test case. 를 포함하는 테스트 자동화 장치.Test automation device comprising a. 테스트 케이스를 설정하는 단계,Setting up a test case, 상기 테스트 케이스에 기술된 내용에 따라 시뮬레이터의 환경을 설정하는 단계, 그리고Setting up an environment of the simulator according to the contents described in the test case, and 상기 테스트 케이스에 기술된 내용에 따라 상기 시뮬레이터 및 테스트 대상 시스템의 동작을 제어하여 테스트를 수행하는 단계Performing a test by controlling the operation of the simulator and the system under test according to the contents described in the test case; 를 포함하는 테스트 자동화 방법.Test automation method comprising a. 제8항에서,In claim 8, 상기 테스트 케이스는 테스트 절차를 기술하고 있으며, 시뮬레이터를 대상으로 하는 절차와 테스트 대상 시스템을 대상으로 하는 절차로 구성되어 있는 테스트 자동화 방법.The test case describes a test procedure and comprises a procedure for a simulator and a procedure for a system under test. 제8항에서,In claim 8, 상기 테스트 대상 시스템으로부터 제공받은 테스트 수행 결과 정보를 이용하여 테스트 수행 보고서를 작성하는 단계를 더 포함하는 테스트 자동화 방법.The test automation method further comprises the step of creating a test report using the test result information provided from the test target system.
KR1020080120711A 2008-12-01 2008-12-01 Test automation system and method KR20100062233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080120711A KR20100062233A (en) 2008-12-01 2008-12-01 Test automation system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080120711A KR20100062233A (en) 2008-12-01 2008-12-01 Test automation system and method

Publications (1)

Publication Number Publication Date
KR20100062233A true KR20100062233A (en) 2010-06-10

Family

ID=42362527

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080120711A KR20100062233A (en) 2008-12-01 2008-12-01 Test automation system and method

Country Status (1)

Country Link
KR (1) KR20100062233A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101230902B1 (en) * 2010-12-02 2013-02-07 현대자동차주식회사 System for evaluating electronic parts using vehicle simulator
CN105005295A (en) * 2015-07-15 2015-10-28 上海核工程研究设计院 Test system and test method for control logic

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101230902B1 (en) * 2010-12-02 2013-02-07 현대자동차주식회사 System for evaluating electronic parts using vehicle simulator
CN105005295A (en) * 2015-07-15 2015-10-28 上海核工程研究设计院 Test system and test method for control logic

Similar Documents

Publication Publication Date Title
US10120784B2 (en) Test case generation for uncovered code paths
US20130298110A1 (en) Software Visualization Using Code Coverage Information
US8990781B2 (en) Synchronization point visualization for modified program source code
US20210075706A1 (en) Automated integrated test system and method thereof
CN107562637B (en) Method, device, system and storage medium for software testing
US11853729B2 (en) Development system and method for a conversational application
US9274933B2 (en) Pretest setup planning
KR20100062233A (en) Test automation system and method
KR20100056338A (en) Gui test automatic system for improving reusability of test script and method thereof
CN104063306A (en) Automatic login method, device and system in intelligent terminal software testing
KR101361609B1 (en) Apparatus and method of automatically modifying and generating script
KR20210118795A (en) Apparatus, method and program for opc ua specification compliance verification
KR101251792B1 (en) Embedded Software Unit Test Automation Tool and Method Using Debugger
CN110806981A (en) Application program testing method, device, equipment and storage medium
KR101104165B1 (en) Media playback apparatus capable of testing user application and method for testing user application using the same
KR20140044028A (en) Testing system and method based on message logging
KR101541008B1 (en) System and Method for Verifying Software
Dev UI Test Automation in Symbian Camera Software Development
CN109840204A (en) A kind of application test systems and method
CN112749094A (en) Test case generation method and device
CN113609024A (en) Reflection technology-based embedded software closed-loop test method
JP2017021526A (en) Control emulator and i/o emulator
KR20120111451A (en) Application simulation apparatus and method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application