KR102616183B1 - Method for managing test information and electronic apparatus supporting thereof - Google Patents
Method for managing test information and electronic apparatus supporting thereof Download PDFInfo
- Publication number
- KR102616183B1 KR102616183B1 KR1020220162897A KR20220162897A KR102616183B1 KR 102616183 B1 KR102616183 B1 KR 102616183B1 KR 1020220162897 A KR1020220162897 A KR 1020220162897A KR 20220162897 A KR20220162897 A KR 20220162897A KR 102616183 B1 KR102616183 B1 KR 102616183B1
- Authority
- KR
- South Korea
- Prior art keywords
- information
- test
- output
- test case
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3696—Methods or tools to render software testable
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3692—Test management for test results analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0641—Shopping interfaces
- G06Q30/0643—Graphical representation of items or shoppers
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Quality & Reliability (AREA)
- Computer Hardware Design (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Development Economics (AREA)
- Debugging And Monitoring (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
전자 장치에서 테스트 정보를 관리하는 방법에 있어서, 애플리케이션에 기반하여 제공되는 서비스와 관련된 서비스 서버에 제1테스트 케이스 정보에 기반한 요청 정보를 전달하는 단계; 상기 요청 정보에 대응하여 상기 서비스 서버로부터 수신한 제1응답 정보에 기반하여 상기 제1테스트 케이스 정보에 대응하는 제1목 데이터(mock data) 정보를 생성하는 단계; 상기 제1테스트 케이스 정보 및 상기 제1목 데이터 정보에 기반하여 제1코드 정보를 실행된 결과로서 출력된, 제1출력 정보에 기반하여 제1기준 데이터 정보를 획득하는 단계를 포함하는 테스트 정보 관리 방법이 개시된다.A method of managing test information in an electronic device, comprising: transmitting request information based on first test case information to a service server related to a service provided based on an application; generating first subject data (mock data) information corresponding to the first test case information based on first response information received from the service server in response to the request information; Test information management comprising the step of acquiring first reference data information based on first output information, which is output as a result of executing first code information based on the first test case information and the first item data information. A method is disclosed.
Description
본 발명은 테스트 정보를 관리하는 전자 장치 및 그 방법에 관한 것으로서, 구체적으로는 목 데이터(mock data) 정보에 기반하여 애플리케이션의 유닛 테스트(unit test)를 수행하기 위한 전자 장치 및 그 방법에 관한 것이다.The present invention relates to an electronic device and a method for managing test information, and more specifically, to an electronic device and a method for performing a unit test of an application based on mock data information. .
전자기술의 발달에 따라 전자상거래 서비스의 소비자는 자신의 단말에 설치된 애플리케이션을 이용하여 아이템을 검색하여 구매할 수 있고, 이에 각각의 서비스 제공자들은 고유한 애플리케이션을 관리하고 있다. 소비자들은 각 서비스 제공자가 제공하는 애플리케이션을 이용하여 온라인으로 아이템을 구매할 수 있고, 이와 같은 온라인을 이용하는 아이템 구매율은 점차 증가추세에 있다. With the development of electronic technology, consumers of e-commerce services can search for and purchase items using applications installed on their terminals, and each service provider is managing its own applications. Consumers can purchase items online using applications provided by each service provider, and the rate of purchasing items online is gradually increasing.
이러한 애플리케이션의 기존 기능을 업데이트 하거나, 새로운 기능을 추가하기 위한 개발 과정에서, 업데이트 되거나 추가된 기능이 적절하게 구동 되는지 여부를 테스트하기 위하여 실제 서비스에서 이용되는 각종 데이터를 이용하게 될 수 있다. 그러나 실제 서비스에 기반한 데이터를 이용하는 경우 서비스의 현재 상태에 따라 테스트 하고자 하는 이상적인 상황과 상이하게 될 가능성이 있으며, 테스트 과정에서 실제 서비스 제공에 이용되는 데이터가 변경되거나, 실제 서비스의 트래픽에 영향을 미치는 등 서비스 제공의 불안정을 초래할 수 있다. 그러나 의도적으로 데이터를 생성하고자 하는 경우 다양한 테스트 상황에 적합한 데이터를 일일이 생성하게 되어 테스트 진행의 효율성이 매우 낮을 수 있다.During the development process to update existing functions of such applications or add new functions, various data used in actual services may be used to test whether the updated or added functions are operated properly. However, when using data based on an actual service, there is a possibility that the ideal situation for testing may differ depending on the current state of the service, and the data used to provide the actual service may change during the testing process or may affect the traffic of the actual service. This may lead to instability in service provision. However, if you try to intentionally generate data, the efficiency of test progress may be very low as data suitable for various test situations must be generated one by one.
따라서, 애플리케이션을 개발 및 관리하는 개발자들의 편의성을 개선시키며, 테스트가 서비스에 미치는 영향을 최소화하는 기술이 필요하다.Therefore, there is a need for technology that improves the convenience of developers who develop and manage applications and minimizes the impact of testing on services.
본 발명의 방법에 따르면, 전자 장치는 테스트 정보를 관리할 수 있다.According to the method of the present invention, an electronic device can manage test information.
본 발명에서 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problems to be achieved in the present invention are not limited to the technical problems mentioned above, and other technical problems not mentioned will be clearly understood by those skilled in the art from the description below. You will be able to.
다양한 실시예들은, 전자 장치가 테스트 정보를 관리하는 방법 및 이를 지원하는 전자 장치를 제공할 수 있다.Various embodiments may provide a method for an electronic device to manage test information and an electronic device that supports the same.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는, 테스트 정보를 관리하는 방법에 있어서, 애플리케이션에 기반하여 제공되는 서비스와 관련된 서비스 서버에 제1테스트 케이스 정보에 기반한 요청 정보를 전달하는 단계; 상기 요청 정보에 대응하여 상기 서비스 서버로부터 수신한 제1응답 정보에 기반하여 상기 제1테스트 케이스 정보에 대응하는 제1목 데이터(mock data) 정보를 생성하는 단계; 상기 제1테스트 케이스 정보 및 상기 제1목 데이터 정보에 기반하여 제1코드 정보를 실행된 결과로서 출력된, 제1출력 정보에 기반하여 제1기준 데이터 정보를 획득하는 단계를 포함할 수 있다. An electronic device according to various embodiments disclosed in this document may include a method for managing test information, comprising: transmitting request information based on first test case information to a service server related to a service provided based on an application; generating first subject data (mock data) information corresponding to the first test case information based on first response information received from the service server in response to the request information; It may include obtaining first reference data information based on first output information, which is output as a result of executing first code information based on the first test case information and the first data information.
실시예에서, 상기 테스트 정보를 관리하는 방법은, 상기 제1출력 정보의 검증 여부에 관한 정보에 기반하여 상기 제1기준 데이터 정보를 획득하는 단계를 포함할 수 있다. In an embodiment, the method of managing the test information may include obtaining the first reference data information based on information regarding whether the first output information is verified.
실시예에서, 상기 테스트 정보 관리 방법은, 상기 제1테스트 케이스 정보에 기반하여 상기 제1목 데이터 정보를 확인하는 단계; 및 상기 제1테스트 케이스 정보 및 상기 제1목 데이터 정보에 기반하여 제2코드 정보를 실행한 결과로서 출력된, 제2출력 정보를 확인하는 단계를 더 포함할 수 있다. In an embodiment, the test information management method includes: confirming the first subject data information based on the first test case information; and confirming second output information output as a result of executing second code information based on the first test case information and the first data information.
실시예에서, 상기 제2코드 정보는, 상기 제1코드 정보의 적어도 일부를 변경한 코드 정보를 포함할 수 있다. In an embodiment, the second code information may include code information that changes at least part of the first code information.
실시예에서, 상기 테스트 정보 관리 방법은, 상기 제1기준 데이터 정보 및 상기 제2출력 정보에 기반하여 획득되는 비교 정보를 확인하는 단계를 더 포함할 수 있다. In an embodiment, the test information management method may further include confirming comparison information obtained based on the first reference data information and the second output information.
실시예에서, 상기 비교 정보는, 상기 제1기준 데이터 정보 및 상기 제2출력 정보 간의 차이에 관한 정보를 포함할 수 있다. In an embodiment, the comparison information may include information about the difference between the first reference data information and the second output information.
실시예에서, 상기 테스트 정보 관리 방법은, 상기 제2출력 정보의 검증 여부에 관한 정보에 기반하여, 상기 제2출력 정보에 대응하는 제2기준 데이터를 획득하는 단계를 더 포함할 수 있다. In an embodiment, the test information management method may further include obtaining second reference data corresponding to the second output information based on information regarding whether the second output information is verified.
실시예에서, 상기 제2출력 정보의 검증 여부에 관한 정보는, 상기 제1기준 데이터 정보 및 상기 제2출력 정보에 대응하는 비교 정보에 기반하여 확인될 수 있다.In an embodiment, information regarding whether the second output information is verified may be confirmed based on comparison information corresponding to the first reference data information and the second output information.
실시예에서, 상기 제1테스트 케이스 정보를 적어도 일부 변경한, 변경된 제1테스트 케이스 정보 및 상기 제1목 데이터 정보에 기반하여 상기 제1코드 정보를 실행한 결과로서 출력된, 변경된 제1출력 정보를 확인하는 단계; 및 상기 변경된 제1출력 정보 및 상기 제1출력 정보의 비교에 기반하여, 변경된 제1기준 데이터 정보를 확인하는 단계를 더 포함할 수 있다. In an embodiment, changed first output information is output as a result of executing the first code information based on the changed first test case information and the first item data information, in which the first test case information is at least partially changed. Confirming; And it may further include confirming the changed first reference data information based on a comparison of the changed first output information and the first output information.
실시예에서, 상기 제1테스트 케이스 정보는, 상기 요청과 관련된 하나 이상의 요청 파라미터를 포함하고, 상기 제1목 데이터 정보는, 상기 하나 이상의 요청에 대응하는 하나 이상의 응답 파라미터를 포함할 수 있다. In an embodiment, the first test case information may include one or more request parameters related to the request, and the first subject data information may include one or more response parameters corresponding to the one or more requests.
실시예에서, 상기 제1목 데이터 정보는, 상기 제1테스트 케이스 정보에 대응하는 목 데이터 식별 정보를 포함할 수 있다. In an embodiment, the first subject data information may include subject data identification information corresponding to the first test case information.
실시예에서, 상기 제1기준 데이터 정보는, 상기 제1테스트 케이스 정보에 대응하는 기준 데이터 식별 정보를 포함할 수 있다. In an embodiment, the first reference data information may include reference data identification information corresponding to the first test case information.
실시예에서, 상기 제1코드 정보는, 상기 애플리케이션이 제공하는 하나 이상의 기능에 관한 코드 정보의 적어도 일부를 포함할 수 있다. In an embodiment, the first code information may include at least part of code information regarding one or more functions provided by the application.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는, 트랜시버; 스토리지; 및 프로세서를 포함하고, 상기 프로세서는, 애플리케이션에 기반하여 제공되는 서비스와 관련된 서비스 서버에 제1테스트 케이스 정보에 기반한 요청 정보를 전달하고, 상기 요청 정보에 대응하여 상기 서비스 서버로부터 수신한 제1응답 정보에 기반하여 상기 제1테스트 케이스 정보에 대응하는 제1목 데이터(mock data) 정보를 생성하고, 상기 제1테스트 케이스 정보 및 상기 제1목 데이터 정보에 기반하여 제1코드 정보를 실행한 결과로서 출력된, 제1출력 정보에 기반하여 제1기준 데이터 정보를 획득하도록 설정될 수 있다.Electronic devices according to various embodiments disclosed in this document include a transceiver; storage; and a processor, wherein the processor transmits request information based on first test case information to a service server related to a service provided based on an application, and receives a first response from the service server in response to the request information. A result of generating first item data (mock data) information corresponding to the first test case information based on the information, and executing the first code information based on the first test case information and the first data information It can be set to obtain first reference data information based on the first output information, which is output as .
본 발명의 방법에 따르면, 전자 장치는 제공 중인 서비스에 대한 부하를 최소화 하여 개발된 기능을 테스트 할 수 있다.According to the method of the present invention, an electronic device can test developed functions by minimizing the load on the service being provided.
본 발명의 방법에 따르면, 전자 장치는 제공 중인 서비스의 시스템 환경과의 의존성을 최소화하여 안정적인 테스트를 수행할 수 있다.According to the method of the present invention, an electronic device can perform stable testing by minimizing dependency on the system environment of the service being provided.
본 발명의 방법에 따르면, 전자 장치는 개발된 기능 별로 독립적인 테스트 환경을 제공할 수 있다.According to the method of the present invention, an electronic device can provide an independent test environment for each developed function.
본 발명의 방법에 따르면, 전자 장치는 개발 환경에 따른 다양한 테스트 방식을 지원하는 플러그인(plug-in)을 제공할 수 있다.According to the method of the present invention, an electronic device can provide a plug-in that supports various test methods according to the development environment.
본 발명에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The effects that can be obtained from the present invention are not limited to the effects mentioned above, and other effects not mentioned can be clearly understood by those skilled in the art from the description below. will be.
도 1은 다양한 실시예들에 따른 전자 장치가 테스트 정보를 관리하는 방법이 구현될 수 있는 테스트 정보 관리 시스템을 설명하기 위한 도면이다.
도 2는 다양한 실시예들에 따른 전자 장치, 작업자 장치 및 서비스 서버의 구성을 도시한 도면이다.
도 3은 다양한 실시예들에 따른 전자 장치가 기준 데이터 정보를 획득하는 동작 흐름도이다.
도 4는 다양한 실시예들에 따른 전자 장치가 비교 정보를 획득하는 동작 흐름도이다.
도 5는 다양한 실시예들에 따른 전자 장치가 변경된 기준 데이터 정보를 확인하는 동작 흐름도이다.
도 6은 일 실시예에 따른 전자 장치가 테스트 정보를 관리하는 과정을 설명하기 위한 도면이다.
도 7은 일 실시예에 따른 전자 장치의 기능적 구성을 설명하기 위한 도면이다.FIG. 1 is a diagram illustrating a test information management system in which a method of managing test information by an electronic device can be implemented according to various embodiments.
FIG. 2 is a diagram illustrating the configuration of an electronic device, an operator device, and a service server according to various embodiments.
Figure 3 is a flowchart of an operation in which an electronic device acquires reference data information according to various embodiments.
Figure 4 is a flowchart of an operation in which an electronic device acquires comparison information according to various embodiments.
FIG. 5 is a flowchart of an operation in which an electronic device checks changed reference data information according to various embodiments.
FIG. 6 is a diagram illustrating a process in which an electronic device manages test information according to an embodiment.
FIG. 7 is a diagram for explaining the functional configuration of an electronic device according to an embodiment.
이하의 실시예들은 다양한 실시예들의 구성요소들과 특징들을 소정 형태로 결합한 것들이다. 각 구성요소 또는 특징은 별도의 명시적 언급이 없는 한 선택적인 것으로 고려될 수 있다. 각 구성요소 또는 특징은 다른 구성요소나 특징과 결합되지 않은 형태로 실시될 수 있다. 또한, 일부 구성요소들 및 특징들을 결합하여 다양한 실시예들을 구성할 수도 있다. 다양한 실시예들에서 설명되는 동작들의 순서는 변경될 수 있다. 어느 실시예의 일부 구성이나 특징은 다른 실시예에 포함될 수 있고, 또는 다른 실시예의 대응하는 구성 또는 특징과 교체될 수 있다.The following embodiments combine components and features of various embodiments in a predetermined form. Each component or feature may be considered optional unless explicitly stated otherwise. Each component or feature may be implemented in a form that is not combined with other components or features. Additionally, various embodiments may be configured by combining some components and features. The order of operations described in various embodiments may change. Some features or features of one embodiment may be included in other embodiments or may be replaced with corresponding features or features of other embodiments.
도면에 대한 설명에서, 다양한 실시예들의 요지를 흐릴 수 있는 절차 또는 단계 등은 기술하지 않았으며, 당해 기술분야에서 통상의 지식을 가진 자의 수준에서 이해할 수 있을 정도의 절차 또는 단계는 또한 기술하지 아니하였다.In the description of the drawings, procedures or steps that may obscure the gist of the various embodiments are not described, and procedures or steps that can be understood at the level of a person with ordinary knowledge in the relevant technical field are not described. did.
명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함(comprising 또는 including)"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. 또한, 명세서에 기재된 "...부", "...기", "모듈" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다. 또한, "일(a 또는 an)", "하나(one)", "그(the)" 및 유사 관련어는 다양한 실시예들을 기술하는 문맥에 있어서(특히, 이하의 청구항의 문맥에서) 본 명세서에 달리 지시되거나 문맥에 의해 분명하게 반박되지 않는 한, 단수 및 복수 모두를 포함하는 의미로 사용될 수 있다.Throughout the specification, when a part is said to “comprise or include” a certain element, this means that it does not exclude other elements but may further include other elements, unless specifically stated to the contrary. do. In addition, terms such as "... unit", "... unit", and "module" used in the specification refer to a unit that processes at least one function or operation, which refers to hardware, software, or a combination of hardware and software. It can be implemented as: Additionally, the terms “a or an,” “one,” “the,” and similar related terms are used herein in the context of describing various embodiments (particularly in the context of the claims below). Unless otherwise indicated or clearly contradicted by context, it may be used in both singular and plural terms.
이하, 다양한 실시예들에 따른 바람직한 실시 형태를 첨부된 도면을 참조하여 상세하게 설명한다. 첨부된 도면과 함께 이하에 개시될 상세한 설명은 다양한 실시예들의 예시적인 실시형태를 설명하고자 하는 것이며, 유일한 실시형태를 나타내고자 하는 것이 아니다.Hereinafter, preferred embodiments according to various embodiments will be described in detail with reference to the attached drawings. The detailed description set forth below in conjunction with the accompanying drawings is intended to illustrate exemplary embodiments of various embodiments and is not intended to represent the only embodiment.
또한, 다양한 실시예들에서 사용되는 특정(特定) 용어들은 다양한 실시예들의 이해를 돕기 위해서 제공된 것이며, 이러한 특정 용어의 사용은 다양한 실시예들의 기술적 사상을 벗어나지 않는 범위에서 다른 형태로 변경될 수 있다.In addition, specific terms used in various embodiments are provided to aid understanding of the various embodiments, and the use of such specific terms may be changed to other forms without departing from the technical spirit of the various embodiments. .
이 때, 처리 흐름도 도면들의 각 블록과 흐름도 도면들의 조합들은 컴퓨터 프로그램 인스트럭션들에 의해 수행될 수 있음을 이해할 수 있을 것이다. 이들 컴퓨터 프로그램 인스트럭션들은 범용 컴퓨터, 특수용 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비의 프로세서에 탑재될 수 있으므로, 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비의 프로세서를 통해 수행되는 그 인스트럭션들이 흐름도 블록(들)에서 설명된 기능들을 수행하는 수단을 생성하게 된다. 이들 컴퓨터 프로그램 인스트럭션들은 특정 방식으로 기능을 구현하기 위해 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비를 지향할 수 있는 컴퓨터 이용 가능 또는 컴퓨터 판독 가능 메모리에 저장되는 것도 가능하므로, 그 컴퓨터 이용가능 또는 컴퓨터 판독 가능 메모리에 저장된 인스트럭션들은 흐름도 블록(들)에서 설명된 기능을 수행하는 인스트럭션 수단을 내포하는 제조 품목을 생산하는 것도 가능하다. 컴퓨터 프로그램 인스트럭션들은 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비 상에 탑재되는 것도 가능하므로, 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비 상에서 일련의 동작 단계들이 수행되어 컴퓨터로 실행되는 프로세스를 생성해서 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비를 수행하는 인스트럭션들은 흐름도 블록(들)에서 설명된 기능들을 실행하기 위한 단계들을 제공하는 것도 가능하다.At this time, it will be understood that each block of the processing flow diagram diagrams and combinations of the flow diagram diagrams can be performed by computer program instructions. These computer program instructions can be mounted on a processor of a general-purpose computer, special-purpose computer, or other programmable data processing equipment, so that the instructions performed through the processor of the computer or other programmable data processing equipment are described in the flow chart block(s). It creates the means to perform functions. These computer program instructions may also be stored in computer-usable or computer-readable memory that can be directed to a computer or other programmable data processing equipment to implement a function in a particular manner, so that the computer-usable or computer-readable memory It is also possible to produce manufactured items containing instruction means that perform the functions described in the flowchart block(s). Computer program instructions can also be mounted on a computer or other programmable data processing equipment, so that a series of operational steps are performed on the computer or other programmable data processing equipment to create a process that is executed by the computer, thereby generating a process that is executed by the computer or other programmable data processing equipment. Instructions that perform processing equipment may also provide steps for executing the functions described in the flow diagram block(s).
또한, 각 블록은 특정된 논리적 기능(들)을 실행하기 위한 하나 이상의 실행 가능한 인스트럭션들을 포함하는 모듈, 세그먼트 또는 코드의 일부를 나타낼 수 있다. 또, 몇 가지 대체 실행 예들에서는 블록들에서 언급된 기능들이 순서를 벗어나서 발생하는 것도 가능함을 주목해야 한다. 예컨대, 잇달아 도시되어 있는 두 개의 블록들은 사실 실질적으로 동시에 수행되는 것도 가능하고 또는 그 블록들이 때때로 해당하는 기능에 따라 역순으로 수행되는 것도 가능하다.Additionally, each block may represent a module, segment, or portion of code that includes one or more executable instructions for executing specified logical function(s). Additionally, it should be noted that in some alternative execution examples it is possible for the functions mentioned in the blocks to occur out of order. For example, it is possible for two blocks shown in succession to be performed substantially at the same time, or it is possible for the blocks to be performed in reverse order depending on the corresponding function.
도 1은 다양한 실시예들에 따른 전자 장치가 하는 방법이 구현될 수 있는 테스트 정보 관리 시스템(100)을 설명하기 위한 도면이다.FIG. 1 is a diagram illustrating a test
도 1을 참조하면, 다양한 실시예들에 따른 테스트 정보 관리 시스템(100)은 다양한 종류의 장치들에 구현될 수 있다. 예를 들어, 테스트 정보 관리 시스템(100)은 전자 장치(101), 작업자 장치(102) 및 서비스 서버(103)에 구현될 수 있다. 달리 말해, 전자 장치(101), 작업자 장치(102) 및 서비스 서버(103)는 각각의 장치에 구현된 테스트 정보 관리 시스템(100)을 기반으로, 본 개시의 다양한 실시예들에 따른 동작을 수행할 수 있다. 한편, 다양한 실시예들에 따른 테스트 정보 관리 시스템(100)은, 상기 도 1에 도시된 바에 국한되지 않고, 더 다양한 전자 장치와 서버들에 구현될 수도 있을 것이다.Referring to FIG. 1, a test
다양한 실시예들에 따른 전자 장치(101)는, 하나 이상의 작업자 장치(102) 및 서비스 서버(103)와 무선 및 유선 통신을 수행하며, 대단위의 저장 용량을 갖는 스토리지를 포함하는 장치일 수 있다. 예를 들어, 전자 장치(101)는 하나 이상의 작업자 장치(102)와 연결된 클라우드 디바이스(Cloud device)일 수 있다.The
다양한 실시예들에 따른 작업자 장치(102)는, 데스크탑 피시, 태블릿 피시, 모바일 단말 등의 개인 사용자에 의해 이용될 수 있는 장치일 수 있다. 이외에도 유사한 기능을 수행하는 다른 전자 장치들이 작업자 장치(102)로 이용될 수 있다.The
다양한 실시예들에 따른 테스트 정보 관리 시스템(100)은 동작을 위한 다양한 모듈들을 포함할 수 있다. 테스트 정보 관리 시스템(100)에 포함된 모듈들은 테스트 정보 관리 시스템(100)이 구현되는(또는, 물리적 장치에 포함되는) 물리적 장치(예: 전자 장치(101))가 지정된 동작을 수행할 수 있도록 구현된 컴퓨터 코드 내지는 하나 이상의 인스트럭션 (instruction) 일 수 있다. 다시 말해, 테스트 정보 관리 시스템(100)이 구현되는 물리적 장치는 복수 개의 모듈들을 컴퓨터 코드 형태로 메모리에 저장하고, 메모리에 저장된 복수 개의 모듈들이 실행되는 경우 복수 개의 모듈들은 물리적 장치가 복수 개의 모듈들에 대응하는 지정된 동작들을 수행하도록 할 수 있다.The test
테스트 정보 관리 시스템(100)의 전자 장치(101), 작업자 장치(102) 및 서비스 서버(103)는 각각 트랜시버, 메모리(스토리지) 및 프로세서를 포함할 수 있다. 또한, 전자 장치(101), 작업자 장치(102) 및 서비스 서버(103) 각각은 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어, 또는, 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다.The
한편 실시예 전반에서 전자 장치(101), 작업자 장치(102) 및 서비스 서버(103)는 분리된 장치 및 서버로 언급되나 이는 논리적으로 나누어진 구조일 수 있으며, 하나의 장치 또는 서버에서 분리된 기능에 의해 구현될 수 있다. 예컨대, 작업자 장치(102) 및 서비스 서버(103) 중 적어도 일부는 전자 장치(101)에 포함되거나 전자 장치(101)와 결합되어 일체로서 구성될 수 있다. 다만, 이러한 경우에도 전자 장치(101), 작업자 장치(102) 및 서비스 서버(103) 간의 데이터 송수신에 의하여 수행되는 일련의 테스트 정보 관리 방법은 유사하게 수행될 수 있다. 전자 장치(101)에 포함되거나 전자 장치(101)와 결합되어 일체로서 구성되는 장치의 경우, 전자 장치(101)와의 통신은 장치 내부에서 그 구성 요소들 간에(예컨대, 전자 장치(101)의 프로세서와) 데이터를 주고받는 과정으로 이해될 수 있다.Meanwhile, throughout the embodiment, the
이하에서는 설명의 편의를 위하여 작업자 장치(102) 및 서비스 서버(103)가 전자 장치(101)와 별개의 장치 또는 서버로 존재하는 실시예들을 설명하되, 이하의 설명은 작업자 장치(102), 서비스 서버(103) 중 적어도 일부가 전자 장치(101)에 포함되거나 전자 장치(101)와 결합되어 일체로서 구성되는 경우에도 준용될 수 있다. Hereinafter, for convenience of explanation, embodiments in which the
일실시예에 따르면, 전자 장치(101), 작업자 장치(102) 및 서비스 서버(103)는 네트워크 서버로 구현되는 다수의 컴퓨터 시스템 또는 컴퓨터 소프트웨어를 포함할 수 있다. 예를 들면, 전자 장치(101), 작업자 장치(102) 및 서비스 서버(103) 중 적어도 일부는 인트라넷 또는 인터넷과 같은 컴퓨터 네트워크를 통해 다른 네트워크 서버와 통신할 수 있는 하위 장치와 연결되어 작업 수행 요청을 접수하고, 그에 대한 작업을 수행하여 수행 결과를 제공하는 컴퓨터 시스템 및 컴퓨터 소프트웨어를 지칭할 수 있다. 이외에도, 전자 장치(101), 작업자 장치(102) 및 서비스 서버(103) 중 적어도 일부는 네트워크 서버 상에서 동작할 수 있는 일련의 응용 프로그램과, 내부에 구축되어 있는 각종 데이터베이스를 포함하는 광의의 개념으로 이해될 수 있다. 예컨대, 전자 장치(101), 작업자 장치(102) 및 서비스 서버(103) 중 적어도 일부는 도스(DOS), 윈도우(Windows), 리눅스(Linux), 유닉스(UNIX), 또는 맥OS(MacOS) 등의 운영 체제에 따라 다양하게 제공되는 네트워크 서버 프로그램을 이용하여 구현될 수 있다.According to one embodiment, the
도 2는 다양한 실시예들에 따른 전자 장치, 작업자 장치 및 서비스 서버의 구성을 도시한 도면이다.FIG. 2 is a diagram illustrating the configuration of an electronic device, an operator device, and a service server according to various embodiments.
도 2를 참조하면, 전자 장치(101), 작업자 장치(102) 및 서비스 서버(103)는 입/출력부(210), 통신부(220), 스토리지(230) 및 프로세서(240)를 포함할 수 있다. Referring to Figure 2, the
입/출력부(210)는 사용자 입력을 받거나 또는 사용자에게 정보를 출력하는 각종 인터페이스나 연결 포트 등일 수 있다. 입/출력부(210)는 입력 모듈과 출력 모듈을 포함할 수 있는데, 입력 모듈은 사용자로부터 사용자 입력을 수신한다. 사용자 입력은 키 입력, 터치 입력, 음성 입력을 비롯한 다양한 형태로 이루어질 수 있다. 이러한 사용자 입력을 받을 수 있는 입력 모듈의 예로는 전통적인 형태의 키패드나 키보드, 마우스는 물론, 사용자의 터치를 감지하는 터치 센서, 음성 신호를 입력받는 마이크, 영상 인식을 통해 제스처 등을 인식하는 카메라, 사용자 접근을 감지하는 조도 센서나 적외선 센서 중 적어도 하나를 포함하는 근접 센서, 가속도 센서나 자이로 센서 등을 통해 사용자 동작을 인식하는 모션 센서 및 그 외의 다양한 형태의 사용자 입력을 감지하거나 입력받는 다양한 형태의 입력 수단이 있으며, 본 개시의 실시예에 따른 입력 모듈은 위에 나열한 장치 중 적어도 하나를 포함할 수 있다. 여기서, 터치 센서는 디스플레이 패널에 부착되는 터치 패널이나 터치 필름을 통해 터치를 감지하는 압전식 또는 정전식 터치 센서, 광학적인 방식에 의해 터치를 감지하는 광학식 터치 센서 등으로 구현될 수 있다. 이외에도 입력 모듈은 자체적으로 사용자 입력을 감지하는 장치 대신 사용자 입력을 입력받는 외부의 입력 장치를 연결시키는 입력 인터페이스(USB 포트, PS/2 포트 등)의 형태로 구현될 수도 있다. 또 출력 모듈은 각종 정보를 출력할 수 있다. 출력 모듈은 영상을 출력하는 디스플레이, 소리를 출력하는 스피커, 진동을 발생시키는 햅틱 장치 및 그 외의 다양한 형태의 출력 수단 중 적어도 하나를 포함할 수 있다. 이외에도 출력 모듈은 상술한 개별 출력 수단을 연결시키는 포트 타입의 출력 인터페이스의 형태로 구현될 수도 있다.The input/
일 예로, 디스플레이 형태의 출력 모듈은 텍스트, 정지 영상, 동영상을 디스플레이 할 수 있다. 디스플레이는 액정 디스플레이(LCD: Liquid Crystal Display), 발광 다이오드(LED: light emitting diode) 디스플레이, 유기 발광 다이오드(OLED: Organic Light Emitting Diode) 디스플레이, 평판 디스플레이(FPD: Flat Panel Display), 투명 디스플레이(transparent display), 곡면 디스플레이(Curved Display), 플렉시블 디스플레이(flexible display), 3차원 디스플레이(3D display), 홀로그래픽 디스플레이(holographic display), 프로젝터 및 그 외의 영상 출력 기능을 수행할 수 있는 다양한 형태의 장치 중 적어도 하나를 포함할 수 있다. 이러한 디스플레이는 입력 모듈의 터치 센서와 일체로 구성된 터치 디스플레이의 형태일 수도 있다.As an example, a display-type output module can display text, still images, and moving images. Displays include liquid crystal display (LCD), light emitting diode (LED) display, organic light emitting diode (OLED) display, flat panel display (FPD), and transparent display. Among various types of devices that can perform image output functions such as display, curved display, flexible display, 3D display, holographic display, projector, and other It can contain at least one. This display may be in the form of a touch display integrated with the touch sensor of the input module.
통신부(220)는 다른 장치와 통신할 수 있다. 따라서, 전자 장치(101), 작업자 장치(102) 및 서비스 서버(103)는 통신부를 통해 다른 장치와 정보를 송수신할 수 있다. 예를 들어, 전자 장치(101), 작업자 장치(102) 및 서비스 서버(103)는 통신부를 이용해 상호 간 통신을 수행하거나, 기타 다른 장치와 통신을 수행할 수 있다.The
여기서, 통신, 즉 데이터의 송수신은 유선 또는 무선으로 이루어질 수 있다. 이를 위해 통신부는 LAN(Local Area Network)를 통해 인터넷 등에 접속하는 유선 통신 모듈, 이동 통신 기지국을 거쳐 이동 통신 네트워크에 접속하여 데이터를 송수신하는 이동 통신 모듈, 와이파이(Wi-Fi) 같은 WLAN(Wireless Local Area Network) 계열의 통신 방식이나 블루투스(Bluetooth), 직비(Zigbee)와 같은 WPAN(Wireless Personal Area Network) 계열의 통신 방식을 이용하는 근거리 통신 모듈, GPS(Global Positioning System)과 같은 GNSS(Global Navigation Satellite System)을 이용하는 위성 통신 모듈 또는 이들의 조합으로 구성될 수 있다.Here, communication, that is, transmission and reception of data, can be accomplished wired or wirelessly. To this end, the communication department includes a wired communication module that connects to the Internet, etc. through a LAN (Local Area Network), a mobile communication module that transmits and receives data by connecting to a mobile communication network through a mobile communication base station, and a WLAN (Wireless Local Area Network) such as Wi-Fi. A short-distance communication module using an Area Network-type communication method or a WPAN (Wireless Personal Area Network)-type communication method such as Bluetooth or Zigbee, and a GNSS (Global Navigation Satellite System) such as a GPS (Global Positioning System) ) may be composed of a satellite communication module using a satellite communication module or a combination thereof.
스토리지(230)는 각종 정보를 저장할 수 있다. 스토리지는 데이터를 임시적으로 또는 반영구적으로 저장할 수 있다. 예를 들어, 전자 장치(101)의 스토리지에는 전자 장치(101)를 구동하기 위한 운용 프로그램(OS: Operating System), 웹 사이트를 호스팅하기 위한 데이터나 점자 생성을 위한 프로그램 내지는 어플리케이션(예를 들어, 웹 어플리케이션)에 관한 데이터 등이 저장될 수 있다. 또, 스토리지는 상술한 바와 같이 모듈들을 컴퓨터 코드 형태로 저장할 수 있다.
스토리지(230)의 예로는 하드 디스크(HDD: Hard Disk Drive), SSD(Solid State Drive), 플래쉬 메모리(flash memory), 롬(ROM: Read-Only Memory), 램(RAM: Random Access Memory) 등이 있을 수 있다. 이러한 스토리지는 내장 타입 또는 탈부착 가능한 타입으로 제공될 수 있다.Examples of
프로세서(240)는 전자 장치(101), 작업자 장치(102) 및 서비스 서버(103)의 전반적인 동작을 제어한다. 이를 위해 프로세서(240)는 각종 정보의 연산 및 처리를 수행하고 전자 장치(101)의 구성요소들의 동작을 제어할 수 있다. 예를 들어, 프로세서(240)는 테스트 정보를 관리하기 위한 프로그램 내지 어플리케이션을 실행시킬 수 있을 것이다. 프로세서(240)는 하드웨어, 소프트웨어 또는 이들의 조합에 따라 컴퓨터나 이와 유사한 장치로 구현될 수 있다. 하드웨어적으로 프로세서(240)는 전기적인 신호를 처리하여 제어 기능을 수행하는 전자 회로 형태로 구현될 수 있으며, 소프트웨어적으로는 하드웨어적인 프로세서(240)를 구동시키는 프로그램 형태로 구현될 수 있다. 한편, 이하의 설명에서 특별한 언급이 없는 경우에는 전자 장치(101), 작업자 장치(102) 및 서비스 서버(103)의 동작은 프로세서(240)의 제어에 의해 수행되는 것으로 해석될 수 있다. 즉, 상술한 테스트 정보 관리 시스템(100)에 구현되는 모듈들이 실행되는 경우, 모듈들은 프로세서(240)가 전자 장치(101), 작업자 장치(102) 및 서비스 서버(103)를 이하의 동작들을 수행하도록 제어하는 것으로 해석될 수 있다.The
요약하면, 다양한 실시예들은 다양한 수단을 통해 구현될 수 있다. 예를 들어, 다양한 실시예들은 하드웨어, 펌웨어(firmware), 소프트웨어 또는 그것들의 결합 등에 의해 구현될 수 있다.In summary, various embodiments may be implemented through various means. For example, various embodiments may be implemented by hardware, firmware, software, or a combination thereof.
하드웨어에 의한 구현의 경우, 다양한 실시예들에 따른 방법은 하나 또는 그 이상의 ASICs(application specific integrated circuits), DSPs(digital signal processors), DSPDs(digital signal processing devices), PLDs(programmable logic devices), FPGAs(field programmable gate arrays), 프로세서, 콘트롤러, 마이크로 콘트롤러, 마이크로 프로세서 등에 의해 구현될 수 있다.In the case of hardware implementation, methods according to various embodiments include one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), and FPGAs. It can be implemented by (field programmable gate arrays), processor, controller, microcontroller, microprocessor, etc.
펌웨어나 소프트웨어에 의한 구현의 경우, 다양한 실시예들에 따른 방법은 이하에서 설명된 기능 또는 동작들을 수행하는 모듈, 절차 또는 함수 등의 형태로 구현될 수 있다. 예를 들어, 소프트웨어 코드는 메모리에 저장되어 프로세서에 의해 구동될 수 있다. 상기 메모리는 상기 프로세서 내부 또는 외부에 위치할 수 있으며, 이미 공지된 다양한 수단에 의해 상기 프로세서와 데이터를 주고받을 수 있다.In the case of implementation by firmware or software, methods according to various embodiments may be implemented in the form of modules, procedures, or functions that perform the functions or operations described below. For example, software code can be stored in memory and run by a processor. The memory may be located inside or outside the processor, and may exchange data with the processor through various known means.
이하에서는, 상기와 같은 기술적 사상에 기반하여 다양한 실시예들에 대해 보다 상세히 설명한다. 이하에서 설명되는 다양한 실시예들에 대해서는 앞서 설명한 내용들이 적용될 수 있다. 예를 들어, 이하에서 설명되는 다양한 실시예들에서 정의되지 않은 동작, 기능, 용어 등은 앞서 설명한 내용들에 기반하여 수행되고 설명될 수 있다.Below, various embodiments will be described in more detail based on the above technical idea. The contents described above may be applied to various embodiments described below. For example, operations, functions, terms, etc. that are not defined in various embodiments described below may be performed and explained based on the contents described above.
이하의 설명에서는 전자 장치(101)가 테스트 정보 관리 동작을 수행함을 전제로 다양한 실시예들에 대하여 설명하며, 다양한 실시예들에 따르면, 전자 장치(101)는 테스트 정보 관리 동작과 관련된 정보를 작업자 장치(102) 및 서비스 서버(103)와 송수신할 수 있다.In the following description, various embodiments are described on the premise that the
도 3은 다양한 실시예들에 따른 전자 장치가 기준 데이터 정보를 획득하는 동작 흐름도이다.Figure 3 is a flowchart of an operation in which an electronic device acquires reference data information according to various embodiments.
다양한 실시예들에 따르면, 전자 장치(101)는 서비스 서버(103)에 요청 정보를 전달할 수 있다(S301). 요청 정보는, 테스트 케이스 정보에 기반하여 확인되는 하나 이상의 요청에 관한 정보를 포함할 수 있다. 테스트 케이스 정보는, 본 발명의 다양한 실시예들에 따른 서비스를 제공하는 애플리케이션을 테스트하기 위한 하나 이상의 사용자 동작에 관한 정보를 포함할 수 있다. 테스트 케이스는, 테스트 대상이 되는 기능에 관한 사용자 동작에 관한 정보를 포함할 수 있다. 테스트 대상이 되는 기능은, 애플리케이션이 제공하는 일부 기능을 포함할 수 있고, 애플리케이션이 포함하는 하나 이상의 코드 정보의 적어도 일부와 대응하는 것으로 이해될 수 있다. 테스트 대상이 되는 기능은 제1코드 정보에 대응하는 기능일 수 있다. 예컨대 테스트 대상이 되는 기능은 상품의 상세 정보 페이지를 제공하는 기능일 수 있고, 제1코드 정보는 서비스 서버(103)가 상품의 상세 정보 페이지를 제공하는 동작을 수행하도록 하는 하나 이상의 논리 정보, 연산 정보 또는 알고리즘을 포함할 수 있다. 하나의 테스트 대상이 되는 기능에 대하여, 하나 이상의 테스트 케이스가 대응할 수 있다. 각 테스트 케이스는 제1코드 정보에 대응하는 하나 이상의 파라미터를 달리 하여 구체적인 사용자의 동작을 표현할 수 있다. 예컨대, 제1테스트 케이스와 제2테스트 케이스는 각각, 상품의 상세 정보 페이지를 요청하는 사용자의 서로 다른 멤버십 상태에 따라 상품의 가격 정보를 다르게 제공하는 케이스일 수 있다. 테스트 케이스 정보는 테스트 대상이 되는 기능에 대응하는 하나 이상의 요청 정보를 포함할 수 있다. 테스트 케이스 정보는 테스트 케이스에 대응하여 서비스 서버(103)에 데이터의 반환을 요청하는 하나 이상의 요청 정보와 대응할 수 있다. 예컨대, 전자 장치(101)는 테스트 케이스 정보에 대응하여 서비스 서버(103)에 사용자의 멤버십 상태에 관한 정보 및 상품 정보를 요청할 수 있다. 이때 요청 정보는 하나 이상의 파라미터 및 요청 동작에 관한 정보를 포함할 수 있다. 예를 들어, 요청 정보는 요청 파라미터로서 사용자의 식별 정보 및 상품 식별 정보를 포함할 수 있고, 요청 파라미터에 기반하여 확인되는 하나 이상의 응답 파라미터에 관한 정보를 요청하는 동작에 관한 정보를 포함할 수 있다. 요청 정보는, API(application programming interface) 데이터를 포함할 수 있다. 일 실시예에 따르면, 요청 정보는 테스트 케이스 정보와 대응하는 하나 이상의 요청 파라미터 및 주소 정보(예: url 정보)를 포함할 수 있다. 주소 정보는, 구체적인 요청 동작에 관한 정보와 대응할 수 있다. 일 실시예에서, 요청 정보는 테스트 케이스의 기능과 관련된 하나 이상의 API 데이터를 포함할 수 있다. 예를 들어, 테스트 케이스 정보는 특정 멤버십 상태의 사용자가 특정 상품에 대한 상세 정보 페이지를 요청하는 동작에 관한 정보를 포함할 수 있다. 동일한 요청 파라미터에 기반하여 서로 다른 응답 파라미터를 서비스 서버(103)에 요청할 수 있으므로, 요청하는 동작에 관한 정보에 기반하여 응답 파라미터가 결정될 수 있다. 이때 테스트 케이스 정보에 대응하는 요청 정보는, 사용자 식별 정보를 파라미터로 포함하는 API 데이터를 포함할 수 있다. 전자 장치(101)는 요청 정보에 기반하여 서비스 서버(103)로부터 요청 정보에 대응하는 응답 정보, 예컨대 사용자 멤버십 상태에 관한 정보를 수신할 수 있다. 또한, 테스트 케이스 정보에 대응하는 요청 정보는, 상품 식별 정보를 파라미터로 포함하는 API 데이터를 포함할 수 있다. 전자 장치(101)는 요청 정보에 기반하여 서비스 서버(103)로부터 요청 정보에 대응하는 응답 정보, 즉, 상품 상세 정보 페이지에 포함될 구체적인 데이터에 관한 정보, 예컨대 상품의 가격에 관한 정보, 상품의 멤버십 상태 별 할인율에 관한 정보를 수신할 수 있다.According to various embodiments, the
다양한 실시예들에 따르면, 전자 장치(101)는 응답 정보에 기반하여 목 데이터(mock data) 정보를 생성할 수 있다(S302). 전자 장치(101)는 요청 정보에 기반하여 확인되는 응답 정보에 기반하여 목 데이터 정보를 생성할 수 있다. 응답 정보는, 요청 정보에 대응하여, 서비스 서버(103)로부터 수신하는 하나 이상의 정보를 포함할 수 있다. 일 실시에에서, 응답 정보는, API 데이터에 대응하여 서비스 서버(103)가 반환하는 하나 이상의 정보를 포함할 수 있다. 서비스 서버(103)는 데이터 베이스를 포함할 수 있고, 현재 제공 중인 서비스의 하나 이상의 동작 및 요청 정보에 기반하여 데이터 베이스로부터 응답 정보에 포함될 하나 이상의 데이터를 확인할 수 있다. 서비스 서버(103)는 전자 장치(101)로부터 요청 정보를 수신하고, 요청 정보에 대응하는 응답 정보를 전자 장치(101)로 반환할 수 있다. 전자 장치(101)는 응답 정보에 기반하여 목 데이터 정보를 생성할 수 있다. 목 데이터 정보는, 테스트 기능과 관련한 하나 이상의 데이터를 포함할 수 있다. 목 데이터 정보는 요청 정보에 대응하는 응답 정보를 포함할 수 있다. 실시예에서, 목 데이터 정보는 서비스 서버(103)의 응답에 대응하는 샘플로 이해될 수 있다. 목 데이터 정보는 응답 정보에 포함된 하나 이상의 응답 파라미터를 포함할 수 있다. 응답 파라미터는, 요청 파라미터 및 요청 동작 정보에 대응하는 하나 이상의 구체적인 서비스 관련 데이터, 예컨대 상품의 가격 정보, 할인율 정보, 멤버십 상태 별 가격 정보, 사용자 정보, 사용자 멤버십 상태 정보와 같은 하나 이상의 구체적인 서비스 제공에 관련된 데이터를 포함할 수 있다. 전자 장치(101)는 목 데이터 정보를 저장할 수 있다. 목 데이터 정보는 테스트 케이스의 식별 정보에 대응할 수 있다. 목 데이터 정보는 테스트 케이스의 식별 정보에 대응하는 식별 정보를 포함할 수 있다.According to various embodiments, the
다양한 실시예들에 따르면, 전자 장치(101)는 제1출력 정보에 기반하여 제1기준 데이터 정보를 획득할 수 있다(S303). 전자 장치(101)는 제1출력 정보를 확인할 수 있다. 출력 정보는, 테스트 케이스 정보 및 목 데이터 정보에 기반하여 애플리케이션 코드를 실행한 결과로서 출력된 데이터를 포함할 수 있다. 애플리케이션 코드는, 테스트 대상이 되는 기능에 관련된 하나 이상의 코드 정보(제1코드)를 포함할 수 있고, 전자 장치(101)는 제1코드에 기반하여 애플리케이션이 제공하는 하나 이상의 기능 가운데, 테스트 대상이 되는 기능을 실행할 수 있다. 예컨대 테스트 대상이 되는 기능인 상품 상세 페이지 출력 기능에 대응하여, 제1코드는 사용자 멤버십 상태 정보 및 상품 정보에 기반하여 할인 가격을 계산하고, 상품 상세 페이지에 출력할 데이터를 결정하는 구체적인 애플리케이션 동작에 관한 정보를 포함할 수 있다. 이때 전자 장치(101)는 테스트 케이스 정보에 기반하여 제1코드를 실행할 수 있다. 테스트 케이스 정보는, 테스트 대상 기능과 관련된 사용자 동작에 관한 정보를 포함할 수 있다. 예를 들어, 테스트 대상이 되는 기능이 상품 상세 페이지를 출력하는 기능인 경우, 테스트 케이스 정보는 특정 멤버십 상태의 사용자가 특정 상품의 상세 설명 페이지를 출력하는 케이스에 관한 상세 페이지 요청에 관한 정보를 포함할 수 있다. 전자 장치(101)는 테스트 케이스 정보에 대응하는 제1코드의 동작 결과를 확인할 수 있다. 이때 제1코드의 동작에 필요한 구체적인 파라미터 값, 예컨대 상품 정보 및 사용자 정보에 관한 데이터는 목 데이터 정보에 기반하여 획득될 수 있다. 전자 장치(101)는 테스트 케이스 정보에 기반하여 제1코드를 실행하고, 제1코드의 실행 결과를 생성하기 위하여 목 데이터 정보의 적어도 일부 데이터를 읽어 들여 출력 정보를 생성할 수 있다. 출력 정보는 사용자 장치로 제공될 하나 이상의 데이터를 포함할 수 있다. 사용자 장치로 제공될 데이터는, 서비스를 제공하기 위하여 랜더링될 구성요소, 예컨대 페이지를 출력하기 위한 데이터를 포함할 수 있다. 출력 정보는 예컨대 HTML 형식의 정보를 포함할 수 있다. 이때 테스트 과정에서, 사용자 장치는 작업자 장치(102)로 이해될 수 있다.According to various embodiments, the
전자 장치(101)는 제1테스트 케이스 정보에 대응하는 제1출력 정보에 기반하여, 제1기준 데이터 정보를 획득할 수 있다. 제1기준 데이터 정보는, 제1출력 정보의 검증 여부에 관한 정보에 기반하여 확인될 수 있다. 예컨대 제1출력 정보가 테스트 하고자 하는 기능에 부합하는 결과를 출력하는 경우, 제1출력 정보가 적합한 출력으로 검증될 수 있고, 전자 장치(101)는 제1출력 정보가 검증된 여부에 관한 정보에 기반하여 제1출력 정보를 제1기준 데이터 정보로서 저장할 수 있다. 제1기준 데이터는, 추후 테스트 케이스 정보에 대응하여, 애플리케이션 코드의 테스트를 수행한 결과로 생성된 출력 정보가, 개발하고자 하는 스펙(specification) 기준에 부합하는지 여부를 확인하기 위한 기준이 되는 정보일 수 있다. 따라서 전자 장치(101)는 추후 테스트 케이스 정보에 기반하여, 개발된 애플리케이션 코드를 테스트할 수 있고, 서비스 서버(103)로 요청을 전달하지 않고도 테스트한 출력 정보를 검증할 수 있다. 전자 장치(101)는 제1테스트 케이스 정보의 식별 정보에 대응하여 제1기준 데이터에 식별 정보를 매핑하고, 제1테스트 케이스 정보와 대응하는 식별 정보를 포함하는 제1기준 데이터 정보를 저장할 수 있다. The
도 4는 다양한 실시예들에 따른 전자 장치가 비교 정보를 획득하는 동작 흐름도이다.Figure 4 is a flowchart of an operation in which an electronic device acquires comparison information according to various embodiments.
다양한 실시예들에 따르면, 전자 장치(101)는 제1테스트 케이스 정보에 기반하여 제1목 데이터 정보를 확인할 수 있다(S401). 전자 장치(101)는 제1테스트 케이스의 식별 정보에 기반하여, 제1테스트 케이스에 대응하는 목 데이터 정보를 확인할 수 있다. 전자 장치(101)는 제1테스트 케이스 정보에 기반하여, 기 저장된 제1목 데이터 정보를 읽어 들일 수 있다.According to various embodiments, the
다양한 실시예들에 따르면, 전자 장치(101)는 제2코드 및 제1목 데이터 정보에 기반하여 제2출력 정보를 확인할 수 있다(S402). 제2코드는, 애플리케이션 코드로 이해될 수 있다. 제2코드는 테스트 대상이 되는 기능에 대응하는 애플리케이션 코드 정보를 포함할 수 있다. 예를 들어, 제1코드 정보를 일부 변경하거나 제1코드 정보에 일부 코드 정보를 추가하여 제2코드가 생성된 것일 수 있다. 제2코드는 제1코드와 대응되는 기능에 대하여 구체적인 동작 코드를 업데이트한 코드로 이해될 수 있다. 제2코드는, 개발된 새로운 버전의 애플리케이션 코드를 포함할 수 있다. 이때 제1코드는 개발된 새로운 버전의 애플리케이션 기능을 검증하기 위한, 기준이 되는 버전의 애플리케이션 코드일 수 있다. 전자 장치(101)는 제2코드를 실행할 수 있다. 이때 전자 장치(101)는 제1테스트 케이스 정보 및 제1목데이터 정보에 기반하여 제2코드를 실행할 수 있다. 전자 장치(101)는 제2코드를 실행한 결과 데이터를 포함하는 제2출력 정보를 확인할 수 있다.According to various embodiments, the
다양한 실시예들에 따르면, 전자 장치(101)는 제1기준 데이터 정보 및 제2출력 정보에 기반하여 비교 정보를 획득할 수 있다(S403). 일 실시예에서, 비교 정보는 제1기준 데이터 및 제2출력 정보를 서로 비교한 결과에 관한 정보를 포함할 수 있다. 예컨대, 비교 정보는 제1기준 데이터 및 제2출력 정보 간의 차(difference)에 관한 정보를 포함할 수 있다. 예를 들어, 제1코드 정보의 경우, 상품 상세 설명 페이지에서 멤버십 상태에 따른 할인 정보를 보여주기 위한 동작에 관한 정보를 포함할 수 있고, 제2코드 정보의 경우, 멤버십 상태에 따른 할인 정보에 더하여 멤버십 상태를 변경할 경우에 받을 수 있는 따른 추가 할인 정보까지 보여주기 위한 동작에 관한 정보를 더 포함할 경우, 비교 정보는 추가 할인 정보를 출력하도록 하는 정보를 포함할 수 있다.According to various embodiments, the
실시예에서, 전자 장치(101)는 비교 정보에 기반하여 제2코드 정보를 검증할 수 있다. 예를 들어, 전자 장치(101)는 비교 정보에 기반하여, 제2코드 정보가 적절하게 개발된 것인지 여부를 검증할 수 있다.In an embodiment, the
실시예에서, 전자 장치(101)는 제2출력 정보의 검증 여부에 관한 정보에 기반하여, 제2기준 데이터를 획득할 수 있다. 예컨대 제2출력 정보의 검증 여부에 관한 정보에 기반하여, 제2코드 정보가 적절하게 개발된 것으로 확인되는 경우, 전자 장치(101)는 제2코드 정보를, 향후 동일한 기능에 대응하는 애플리케이션 코드의 검증에 기준으로 사용할 수 있다. 이 경우 전자 장치(101)는 제2출력 정보에 기반하여, 제2기준 데이터로 제1기준 데이터를 대체할 수 있다. 전자 장치(101)는 제1테스트 케이스 정보에 대응하여 제2기준 데이터 정보를 저장할 수 있다.In an embodiment, the
도 5는 다양한 실시예들에 따른 전자 장치가 변경된 기준 데이터 정보를 확인하는 동작 흐름도이다.FIG. 5 is a flowchart of an operation in which an electronic device checks changed reference data information according to various embodiments.
도 5를 참조하면, 동일한 기능에 대하여 테스트를 진행하나, 테스트 케이스를 일부 변경한 경우에 대응하는 일련의 전자 장치(101)가 수행하는 동작을 설명할 수 있다.Referring to FIG. 5 , operations performed by a series of
다양한 실시예들에 따르면, 전자 장치(101)는 변경된 제1테스트 케이스 정보 및 제1목 데이터 정보에 기반하여 변경된 제1출력 정보를 확인할 수 있다(S501). 변경된 제1테스트 케이스 정보는, 제1테스트 케이스 정보의 적어도 일부를 변경한 정보를 포함할 수 있다. 전자 장치(101)는 변경된 제1테스트 케이스 정보 및 제1목 데이터 정보에 기반하여 제1코드 정보를 실행할 수 있다. 이때 테스트 하고자 하는 기능은 동일한 상황이므로, 제1목 데이터 정보는 그대로 유지될 수 있고, 전자 장치(101)는 동일한 제1목 데이터 정보에 기반하여 제1코드 정보를 실행할 수 있다. 전자 장치(101)는 제1코드 정보를 변경된 제1테스트 케이스 정보에 기반하여 실행한 결과로서 출력된, 변경된 제1출력 정보를 확인할 수 있다. 변경된 제1출력 정보는, 제1출력 정보와 적어도 일부 영역에서 상이한 데이터를 포함할 수 있다. 실시예에서, 전자 장치(101)는 변경된 제1출력 정보 및 제1출력 정보 간의 비교 정보를 생성할 수 있다.According to various embodiments, the
일 실시예에 따르면, 전자 장치(101)는 변경된 제1출력 정보의 검증 여부에 기반하여 변경된 제1기준 데이터를 확인할 수 있다(S502). 전자 장치(101)는 변경된 제1출력 정보를 검증할 수 있다. 예컨대 전자 장치(101)는 제1출력 정보 및 변경된 제1출력 정보 간의 차에 관한 정보를 포함하는, 비교 정보에 기반하여 변경된 제1출력 정보를 검증할 수 있다. 변경된 제1출력 정보의 검증 여부에 기반하여 전자 장치(101)는 변경된 제1테스트 케이스 정보에 대응하는, 변경된 제1출력 정보를, 변경된 제1기준 데이터 정보로서 확인 및/또는 저장할 수 있다. 이때 변경된 제1테스트 케이스 정보는 제1테스트 케이스 정보를 대체하여 저장될 수 있고, 변경된 제1테스트 케이스 정보는, 테스트 케이스에 대응하는 식별 정보가 매핑될 수 있다.According to one embodiment, the
도 6은 일 실시예에 따른 전자 장치가 테스트 정보를 관리하는 과정을 설명하기 위한 도면이다.FIG. 6 is a diagram illustrating a process in which an electronic device manages test information according to an embodiment.
도 6을 참조하면, 서비스 환경(10)과 연결된 전자 장치(101)의 기능적 구성의 일 예시를 확인할 수 있다. 전자 장치(101)의 기능적 구성은, 전자 장치(101)의 메모리에 저장된, 프로세서의 각 동작을 지시하는 하나 이상의 소프트웨어적 구성 요소를 포함할 수 있다.Referring to FIG. 6 , an example of the functional configuration of the
일 실시예에 따르면, 서비스 환경(10)은 서비스 서버(103)를 포함할 수 있다. 서비스 환경(10)은, 전자 장치(101)와 서비스 서버(103) 간에 형성하는 네트워크를 포함할 수 있다. 서비스 환경(10)은 서비스 서버(103) 및 서비스를 제공 받는 사용자 장치 간의 네트워크를 포함할 수 있다. 서비스 환경(10)은 실제 사용자에게 제공되는 서비스에 관련된 하나 이상의 장치를 포함할 수 있다. 예를 들어, 서비스 서버(103)는 전자 장치(101) 또는 사용자 장치로부터 하나 이상의 요청을 수신하고, 웹 애플리케이션 서버(Web Application Server)로 요청을 관리 및 전달하는 웹 서버(Web Server) 및/또는 요청에 기반하여 웹 애플리케이션의 구체적인 서비스 동작을 수행하는 웹 애플리케이션 서버를 포함할 수 있다. 웹 서버는 정적인 요청을 수행하는 서버로서, 사용자 또는 전자 장치(101)로부터 수신한 요청 정보를 웹 애플리케이션 서버로 전달하고, 웹 애플리케이션 서버에서 요청에 기반한 서비스 동작을 수행함에 따라 생성한 응답 정보를 웹 애플리케이션 서버로부터 수신하여, 요청에 대응한 응답을 사용자 또는 전자 장치(101)로 제공할 수 있다. 웹 애플리케이션 서버는 웹 서버로부터 수신한 요청 정보 및 웹 애플리케이션 서버에 포함된 애플리케이션 로직 및 로직을 화체한 코드 정보에 기반하여 수신된 요청에 따른 동작을 수행하고, 이에 따른 결과로서 생성된 응답을 웹 서버로 제공할 수 있다. 웹 애플리케이션 서버는 서비스 제공에 필요한 각종 구체적인 데이터를 포함하는 데이터베이스와 연결되거나, 데이터베이스를 포함할 수 있으며, 요청에 기반하여 데이터를 가공하거나, 필요한 연산을 수행한 결과 데이터를 응답으로 반환할 수 있다.According to one embodiment, the
실시예에서, 전자 장치(101)는 목 데이터 매니저(610)를 포함할 수 있다. 목 데이터 매니저는, 생성된 목 데이터 정보를 저장하고, 관리할 수 있다. 예컨대 목 데이터 정보에 식별 정보를 부여하고, 목 데이터 식별 정보에 대응하는 테스트 케이스 정보와의 매핑 관계에 대한 정보를 저장할 수 있다. In an embodiment, the
실시예에서, 전자 장치(101)는 목 데이터 요청 유닛(620)을 포함할 수 있다. 목 데이터 요청 유닛(620)은, 테스트 케이스에 대응하는 하나 이상의 요청 정보를 서비스 환경(10)으로 제공하고, 이에 대한 응답으로 수신한 응답 정보에 기반하여 목 데이터를 생성할 수 있다. 목 데이터 요청 유닛(620)은 테스트 케이스에 대응하는 목 데이터를 생성하고, 생성된 목 데이터를 목 데이터 매니저로 전달하거나, 테스트 케이스를 실행 시 목 데이터를 애플리케이션(640)에 전달할 수 있다. In an embodiment,
실시예에서, 테스트 케이스 매니저(630)는 테스트 케이스 정보를 저장할 수 있다. 테스트 케이스 정보는 테스트 케이스 식별 정보를 포함할 수 있고, 테스트 케이스 매니저(630)는 테스트 케이스 식별 정보에 대응하는 기준 데이터 정보 또는 목 데이터 정보와의 매핑 관계에 관한 정보를 저장할 수 있다. 테스트 케이스 매니저(630)는 테스트 케이스의 실행에 관련하여, 테스트 케이스 정보를 애플리케이션(640)에 제공할 수 있다.In embodiments,
실시예에서, 애플리케이션(640)은 검증 대상이 되거나, 검증의 기준이 되는 애플리케이션 코드를 저장할 수 있다. 검증의 대상이 되는 애플리케이션 코드는, 개발 또는 업데이트 된 적어도 하나의 기능에 대응하는, 애플리케이션 코드의 적어도 일부를 지칭할 수 있다. 검증의 기준이 되는 애플리케이션 코드는, 개발 또는 업데이트 된 적어도 하나의 기능을 검증하기 위하여 대조군에 해당하는 애플리케이션 코드의 적어도 일부를 지칭할 수 있다. 애플리케이션(640)은, 각 릴리즈 버전 별 애플리케이션 전체 코드를 저장하거나, 검증의 대상이 되는 기능에 한정적으로 대응하는 적어도 일부 코드에 관한 정보를, 각 기능의 버전 별로 저장할 수 있다. 애플리케이션(640)은 애플리케이션 또는 기능의 버전 별로 저장된 코드 정보의, 버전에 대한 인덱스 정보를 저장할 수 있다. 애플리케이션(640)은, 테스트 케이스에 대응하여 애플리케이션 코드를 실행할 수 있고, 실행한 결과에 대응하는 출력 정보를 검증 매니저(650)로 제공할 수 있다.In an embodiment, the
실시예에서, 검증 매니저(650)는, 기준 데이터 정보 및 출력 정보에 기반하여 출력 정보를 검증할 수 있다. 검증 매니저(650)는 기준 데이터 매니저(660)로부터 기준 데이터 정보를 수신하고, 애플리케이션(640)로부터 출력 정보를 수신하여, 기준 데이터 정보 및 출력 정보 간의 비교에 관한 비교 정보를 생성할 수 있다. 일 실시예에서, 검증 매니저(650)는, 기준 데이터 매니저(660)에, 출력 정보에 대응하는 기준 데이터 정보를 요청할 수 있다. 검증 매니저(650)는 출력 정보에 대응하는 테스트 케이스의 식별 정보에 기반하여 기준 데이터 매니저(650)에, 테스트 케이스와 대응하는 기준 데이터를 요청할 수 있다. 검증 매니저(650)는 검증 결과에 기반하여 출력 정보를 기준 데이터 매니저로 제공할 수 있다.In an embodiment, the
실시예에서, 기준 데이터 매니저(660)는 기준 데이터 정보를 저장할 수 있다. 기준 데이터 매니저(660)는 출력 정보에 대한 검증 결과에 기반하여 출력 정보를 기준 데이터로서 저장하거나, 기존의 기준 데이터를 삭제하고 새로운 기준 데이터를 덮어 씌울 수 있다. 기준 데이터 매니저(660)는 검증 매니저(650)의 요청에 기반하여, 테스트 케이스에 대응하는 기준 데이터 정보를 검증 매니저(650)에 제공할 수 있다. 기준 데이터 매니저(660)는 테스트 케이스 및 기준 데이터 정보 간의 서로 대응 관계에 관한 정보를 저장할 수 있다.In an embodiment,
전자 장치(101)는 목 데이터 매니저 및 기준 데이터 매니저를 이용하여, 서비스 환경(10)에서 획득 가능한, 서비스 제공과 관련된 구체적 데이터를 테스트 상황마다 서비스 환경(10)에 요청하지 않더라도 테스트를 진행할 수 있다. 전자 장치(101)는 테스트 케이스마다 서비스 환경(10)으로 한 번의 요청만을 전송하여 수신한 응답 데이터에 기반하여 목 데이터 및 기준 데이터를 생성할 수 있고, 이후 테스트를 진행함에 따라 서비스 환경(10)으로 동일한 요청을 보내지 않아도 무방하다. 따라서 본 문서에 개시된 전자 장치(101)의 테스트 정보 관리 방법을 통하여, 서비스 환경(10)과 독립적인 상태에서, 테스트를 안정적으로 진행할 수 있고, 동시에 실제 서비스 환경과 동일한 형식의 데이터를 테스트에 이용할 수 있어, 테스트의 정확성 및 테스트 결과의 안정성, 그리고 서비스 환경(10)에 미칠 수 있는 테스트에 따른 부하 방지를 모두 기대할 수 있다.The
도 7은 일 실시예에 따른 전자 장치의 기능적 구성을 설명하기 위한 도면이다.FIG. 7 is a diagram for explaining the functional configuration of an electronic device according to an embodiment.
도 7을 참조하면, 전자 장치(101)의 기능적 구성을 설명하기 위한 일 예시(700)를 설명하기 위한 도면이다.Referring to FIG. 7 , this is a diagram illustrating an example 700 for explaining the functional configuration of the
전자 장치(101)는 애플리케이션의 기능을 검증하기 위한 테스트 도구로서 활용될 수 있고, 전자 장치(101)는 SDK(Software Development Kit, 소프트웨어 개발 키트)로서의 동작을 제공할 수 있다. 전자 장치(101)는 하나 이상의 SDK 구성요소를 포함할 수 있다. SDK 구성요소는 기능적 구성요소로서, 메모리에 저장 또는 프로세서에 화체된 소프트웨어적 구성요소로 이해될 수 있다. 전자 장치(101)는 하나 이상의 SDK 구성요소를 포함하여, 각 SDK 구성요소 별로 모듈화하여 테스트 기능을 구현하고, SDK 구성요소 별로 새로운 테스트 기능을 추가하거나 기존의 테스트 기능을 관리 또는 보완할 수 있으므로 테스트 기능의 관리 효율화 및 개발 용이성을 기대할 수 있다. 전자 장치(101)는 모듈화된 SDK 구성요소를 이용하여 다양한 종류의 테스트(AB 테스트, 업스트림 디펜던트 테스트, 시스템 타임 기반 테스트)를 수행할 수 있고, 이에 필요한 목 데이터를 생성할 수 있다. 예를 들어 전자 장치(101)는 AB 테스트를 수행하기 위하여 AB 테스트 모킹(AB Mocking) 컴포넌트를 포함하고, AB 테스트를 서비스 환경(10)과 독립된 환경에서 수행하기 위한, 목 데이터를 생성할 수 있다. 또한 전자 장치(101)는 기준 데이터에 기반한 테스트 결과에 대한 검증 컴포넌트(Golden File Based Verifier) 등을 이용하여 어떤 형식의 파일을 기반으로 테스트를 진행할지에 따라 다양한 형식의 데이터에 기반한 테스트를 진행할 수 있다. The
본 명세서와 도면에 개시된 본 발명의 실시예들은 본 발명의 기술 내용을 쉽게 설명하고 본 발명의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 범위를 한정하고자 하는 것은 아니다. 즉 본 발명의 기술적 사상에 바탕을 둔 다른 변형 예들이 실시 가능하다는 것은 본 발명의 속하는 기술 분야에서 통상의 지식을 가진 자에게 자명한 것이다. 또한 상기 각각의 실시 예는 필요에 따라 서로 조합되어 운용할 수 있다. 예컨대, 본 발명의 모든 실시 예는 일부분들이 서로 조합되어 시스템에 의해 구현될 수 있다.The embodiments of the present invention disclosed in the specification and drawings are merely provided as specific examples to easily explain the technical content of the present invention and to facilitate understanding of the present invention, and are not intended to limit the scope of the present invention. In other words, it is obvious to those skilled in the art that other modifications based on the technical idea of the present invention can be implemented. Additionally, each of the above embodiments can be operated in combination with each other as needed. For example, all embodiments of the present invention can be implemented by a system by combining parts of each other.
또한, 본 발명에 따른 시스템 등에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다.Additionally, the method according to the system according to the present invention may be implemented in the form of program instructions that can be executed through various computer means and recorded on a computer-readable medium.
이와 같이, 본 발명의 다양한 실시예들은 특정 관점에서 컴퓨터 리드 가능 기록 매체(computer readable recording medium)에서 컴퓨터 리드 가능 코드(computer readable code)로서 구현될 수 있다. 컴퓨터 리드 가능 기록 매체는 컴퓨터 시스템에 의해 리드될 수 있는 데이터를 저장할 수 있는 임의의 데이터 저장 디바이스이다. 컴퓨터 리드 가능 기록 매체의 예들은 읽기 전용 메모리(read only memory: ROM)와, 랜덤-접속 메모리(random access memory: RAM)와, 컴팩트 디스크- 리드 온니 메모리(compact disk-read only memory: CD-ROM)들과, 마그네틱 테이프(magnetic tape)들과, 플로피 디스크(floppy disk)들과, 광 데이터 저장 디바이스들, 및 캐리어 웨이브(carrier wave)들(인터넷을 통한 데이터 송신 등)을 포함할 수 있다. 컴퓨터 리드 가능 기록 매체는 또한 네트워크 연결된 컴퓨터 시스템들을 통해 분산될 수 있고, 따라서 컴퓨터 리드 가능 코드는 분산 방식으로 저장 및 실행된다. 또한, 본 발명의 다양한 실시예들을 성취하기 위한 기능적 프로그램들, 코드, 및 코드 세그먼트(segment)들은 본 발명이 적용되는 분야에서 숙련된 프로그래머들에 의해 쉽게 해석될 수 있다.As such, various embodiments of the present invention may be implemented as computer readable code on a computer readable recording medium in certain respects. A computer-readable recording medium is any data storage device capable of storing data that can be read by a computer system. Examples of computer readable recording media include read only memory (ROM), random access memory (RAM), and compact disk-read only memory (CD-ROM). ), magnetic tapes, floppy disks, optical data storage devices, and carrier waves (data transmission over the Internet, etc.). Computer-readable recording media may also be distributed across networked computer systems, such that computer-readable code is stored and executed in a distributed manner. Additionally, functional programs, codes, and code segments for achieving various embodiments of the present invention can be easily interpreted by programmers skilled in the field to which the present invention is applied.
또한 본 발명의 다양한 실시예들에 따른 장치 및 방법은 하드웨어, 소프트웨어 또는 하드웨어 및 소프트웨어의 조합의 형태로 실현 가능하다는 것을 알 수 있을 것이다. 이러한 소프트웨어는 예를 들어, 삭제 가능 또는 재 기록 가능 여부와 상관없이, ROM 등의 저장 장치와 같은 휘발성 또는 비 휘발성 저장 장치, 또는 예를 들어, RAM, 메모리 칩, 장치 또는 집적 회로와 같은 메모리, 또는 예를 들어 콤팩트 디스크(compact disk: CD), DVD, 자기 디스크 또는 자기 테이프 등과 같은 광학 또는 자기적으로 기록 가능함과 동시에 기계(예를 들어, 컴퓨터)로 읽을 수 있는 저장 매체에 저장될 수 있다. 본 발명의 다양한 실시예들에 따른 방법은 제어부 및 메모리를 포함하는 컴퓨터 또는 이와 같은 메모리 또는 컴퓨터를 포함한 차량 등에 의해 구현될 수 있고, 이러한 메모리는 본 발명의 실시예들을 구현하는 명령들을 포함하는 프로그램 또는 프로그램들을 저장하기에 적합한 기계로 읽을 수 있는 저장 매체의 한 예임을 알 수 있을 것이다. Additionally, it will be appreciated that the devices and methods according to various embodiments of the present invention can be implemented in the form of hardware, software, or a combination of hardware and software. Such software may, for example, use any storage device, volatile or non-volatile, such as ROM, whether erasable or rewritable, or memory such as, for example, RAM, memory chips, devices or integrated circuits; Alternatively, it may be stored on a storage medium that is optically or magnetically recordable and readable by a machine (e.g., a computer), for example, a compact disk (CD), DVD, magnetic disk, or magnetic tape. . Methods according to various embodiments of the present invention may be implemented by a computer including a control unit and a memory, or a vehicle including such memory or a computer, and such memory is a program containing instructions that implement the embodiments of the present invention. Alternatively, you can see that it is an example of a machine-readable storage medium suitable for storing programs.
따라서, 본 발명은 본 명세서의 청구항에 기재된 장치 또는 방법을 구현하기 위한 코드를 포함하는 프로그램 및 이러한 프로그램을 저장하는 기계(컴퓨터 등)로 읽을 수 있는 저장 매체를 포함한다. 또한, 이러한 프로그램은 유선 또는 무선 연결을 통해 전달되는 통신 신호와 같은 임의의 매체를 통해 전자적으로 이송될 수 있고, 본 발명은 이와 균등한 것을 적절하게 포함한다.Accordingly, the present invention includes a program containing code for implementing the device or method described in the claims of this specification and a machine-readable storage medium (such as a computer) storing such a program. Additionally, such programs may be transmitted electronically through any medium, such as communication signals transmitted over a wired or wireless connection, and the present invention includes equivalents thereof as appropriate.
상기에서는 본 발명의 실시예들을 참조하여 설명하였지만, 본 명세서와 도면에 개시된 본 발명의 실시예들은 본 발명의 기술 내용을 쉽게 설명하고 본 발명의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며 본 발명의 범위를 한정하고자 하는 것은 아니다. 또한 앞서 설명된 본 발명에 따른 실시예들은 예시적인 것에 불과하며, 당해 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 범위의 실시 예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 다음의 특허청구범위에 의해서 정해져야 할 것이다.Although the present invention has been described above with reference to embodiments of the present invention, the embodiments of the present invention disclosed in the specification and drawings are merely presented as specific examples to easily explain the technical content of the present invention and to aid understanding of the present invention. It is not intended to limit the scope. In addition, the embodiments according to the present invention described above are merely illustrative, and those skilled in the art will understand that various modifications and equivalent scope of embodiments are possible therefrom. Therefore, the true technical protection scope of the present invention should be determined by the following patent claims.
Claims (15)
애플리케이션에 기반하여 제공되는 상품 판매서비스와 관련된 서비스 서버에, 상품의 상세 정보 페이지의 제공과 관련된 제1테스트 케이스 정보에 기반한, 요청 파라미터로서 사용자의 식별 정보 및 상품 식별 정보를 포함하는 요청 정보를 전달하는 단계;
상기 요청 정보에 대응하여 상기 서비스 서버로부터 수신한 제1응답 정보에 기반하여 상기 제1테스트 케이스 정보에 대응하는, 응답 파라미터로서 사용자 멤버십 상태 정보, 상품 가격 정보 및 멤버십 상태별 가격 정보를 포함하는 제1목 데이터(mock data) 정보를 생성하는 단계;
상기 제1테스트 케이스 정보 및 상기 제1목 데이터 정보에 기반하여 제1코드 정보를 실행함으로써 출력된, 상기 사용자 멤버십 상태 정보, 상기 상품 가격 정보 및 상기 멤버십 상태별 가격 정보에 기반하여 계산된 상기 상품의 할인 가격 정보를 포함하는 상기 상세 정보 페이지와 관련된 제1출력 정보에 기반하여 제1기준 데이터 정보를 획득하는 단계를 포함하는, 테스트 정보 관리 방법.In a method of managing test information in an electronic device,
Transfer request information including user identification information and product identification information as request parameters based on the first test case information related to the provision of the product detailed information page to the service server related to the product sales service provided based on the application. steps;
A system that includes user membership status information, product price information, and price information by membership status as response parameters corresponding to the first test case information based on the first response information received from the service server in response to the request information. Step 1: Generating mock data information;
The product calculated based on the user membership status information, the product price information, and the price information for each membership status, output by executing the first code information based on the first test case information and the first item data information. A test information management method comprising obtaining first reference data information based on first output information related to the detailed information page including discount price information.
상기 테스트 정보를 관리하는 방법은,
상기 제1출력 정보의 검증 여부에 관한 정보에 기반하여 상기 제1기준 데이터 정보를 획득하는 단계를 포함하는, 테스트 정보 관리 방법.According to paragraph 1,
How to manage the test information:
A test information management method comprising acquiring the first reference data information based on information regarding whether the first output information is verified.
상기 테스트 정보 관리 방법은,
상기 제1테스트 케이스 정보에 기반하여 상기 제1목 데이터 정보를 확인하는 단계; 및
상기 제1테스트 케이스 정보 및 상기 제1목 데이터 정보에 기반하여 제2코드 정보를 실행한 결과로서 출력된, 제2출력 정보를 확인하는 단계를 더 포함하는, 테스트 정보 관리 방법.According to paragraph 1,
The test information management method is,
Confirming the first item data information based on the first test case information; and
A test information management method further comprising checking second output information output as a result of executing second code information based on the first test case information and the first data information.
상기 제2코드 정보는,
상기 제1코드 정보의 적어도 일부를 변경한 코드 정보를 포함하는, 테스트 정보 관리 방법.According to paragraph 3,
The second code information is,
A test information management method including code information obtained by changing at least part of the first code information.
상기 테스트 정보 관리 방법은,
상기 제1기준 데이터 정보 및 상기 제2출력 정보에 기반하여 획득되는 비교 정보를 확인하는 단계를 더 포함하는, 테스트 정보 관리 방법.According to paragraph 3,
The test information management method is,
A test information management method further comprising confirming comparison information obtained based on the first reference data information and the second output information.
상기 비교 정보는,
상기 제1기준 데이터 정보 및 상기 제2출력 정보 간의 차이에 관한 정보를 포함하는, 테스트 정보 관리 방법.According to clause 5,
The above comparative information is,
A test information management method including information about the difference between the first reference data information and the second output information.
상기 테스트 정보 관리 방법은,
상기 제2출력 정보의 검증 여부에 관한 정보에 기반하여, 상기 제2출력 정보에 대응하는 제2기준 데이터를 획득하는 단계를 더 포함하는, 테스트 정보 관리 방법.According to paragraph 3,
The test information management method is,
A test information management method further comprising acquiring second reference data corresponding to the second output information based on information regarding whether the second output information is verified.
상기 제2출력 정보의 검증 여부에 관한 정보는,
상기 제1기준 데이터 정보 및 상기 제2출력 정보에 대응하는 비교 정보에 기반하여 확인되는, 테스트 정보 관리 방법.In clause 7,
Information regarding whether the second output information is verified,
A test information management method confirmed based on comparison information corresponding to the first reference data information and the second output information.
상기 제1테스트 케이스 정보를 적어도 일부 변경한, 변경된 제1테스트 케이스 정보 및 상기 제1목 데이터 정보에 기반하여 상기 제1코드 정보를 실행한 결과로서 출력된, 변경된 제1출력 정보를 확인하는 단계; 및
상기 변경된 제1출력 정보 및 상기 제1출력 정보의 비교에 기반하여, 변경된 제1기준 데이터 정보를 확인하는 단계를 더 포함하는, 테스트 정보 관리 방법.According to paragraph 1,
Confirming changed first output information that has at least partially changed the first test case information and is output as a result of executing the first code information based on the changed first test case information and the first item data information. ; and
A test information management method further comprising confirming changed first reference data information based on a comparison of the changed first output information and the first output information.
상기 제1목 데이터 정보는,
상기 제1테스트 케이스 정보에 대응하는 목 데이터 식별 정보를 포함하는, 테스트 정보 관리 방법.According to paragraph 1,
The data information in Item 1 above is,
A test information management method, including mock data identification information corresponding to the first test case information.
상기 제1기준 데이터 정보는,
상기 제1테스트 케이스 정보에 대응하는 기준 데이터 식별 정보를 포함하는, 테스트 정보 관리 방법.According to paragraph 1,
The first standard data information is,
A test information management method including reference data identification information corresponding to the first test case information.
상기 제1코드 정보는,
상기 애플리케이션이 제공하는 하나 이상의 기능에 관한 코드 정보의 적어도 일부를 포함하는, 테스트 정보 관리 방법.According to paragraph 1,
The first code information is,
A test information management method including at least a portion of code information regarding one or more functions provided by the application.
트랜시버;
스토리지; 및
프로세서를 포함하고,
상기 프로세서는,
애플리케이션에 기반하여 제공되는 상품 판매 서비스와 관련된 서비스 서버에, 상품의 상세 정보 페이지의 제공과 관련된 제1테스트 케이스 정보에 기반한, 요청 파라미터로서 사용자의 식별 정보 및 상품 식별 정보를 포함하는 요청 정보를 전달하고,
상기 요청 정보에 대응하여 상기 서비스 서버로부터 수신한 제1응답 정보에 기반하여 상기 제1테스트 케이스 정보에 대응하는, 응답 파라미터로서 사용자 멤버십 상태 정보, 상품 가격 정보 및 멤버십 상태별 가격 정보를 포함하는 제1목 데이터(mock data) 정보를 생성하고,
상기 제1테스트 케이스 정보 및 상기 제1목 데이터 정보에 기반하여 제1코드 정보를 실행함으로써 출력된, 상기 사용자 멤버십 상태 정보, 상기 상품 가격 정보 및 상기 멤버십 상태별 가격 정보에 기반하여 계산된 상기 상품의 할인 가격 정보를 포함하는 상기 상세 정보 페이지와 관련된 제1출력 정보에 기반하여 제1기준 데이터 정보를 획득하도록 설정된, 전자 장치.In electronic devices,
transceiver;
storage; and
Includes a processor,
The processor,
Transmitting request information including user identification information and product identification information as request parameters based on the first test case information related to the provision of the product detailed information page to the service server related to the product sales service provided based on the application. do,
A system that includes user membership status information, product price information, and price information by membership status as response parameters corresponding to the first test case information based on the first response information received from the service server in response to the request information. Create mock data information,
The product calculated based on the user membership status information, the product price information, and the price information for each membership status, output by executing the first code information based on the first test case information and the first item data information. The electronic device is configured to obtain first reference data information based on first output information related to the detailed information page including discount price information.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020220162897A KR102616183B1 (en) | 2022-11-29 | 2022-11-29 | Method for managing test information and electronic apparatus supporting thereof |
PCT/KR2023/001737 WO2024117384A1 (en) | 2022-11-29 | 2023-02-07 | Test information management method and electronic device for supporting same |
TW112142759A TWI880436B (en) | 2022-11-29 | 2023-11-07 | Method for managing test information and electronic apparatus supporting thereof |
KR1020230183188A KR20240080177A (en) | 2022-11-29 | 2023-12-15 | Method for managing test information and electronic apparatus supporting thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020220162897A KR102616183B1 (en) | 2022-11-29 | 2022-11-29 | Method for managing test information and electronic apparatus supporting thereof |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020230183188A Division KR20240080177A (en) | 2022-11-29 | 2023-12-15 | Method for managing test information and electronic apparatus supporting thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR102616183B1 true KR102616183B1 (en) | 2023-12-21 |
Family
ID=89320578
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020220162897A Active KR102616183B1 (en) | 2022-11-29 | 2022-11-29 | Method for managing test information and electronic apparatus supporting thereof |
KR1020230183188A Pending KR20240080177A (en) | 2022-11-29 | 2023-12-15 | Method for managing test information and electronic apparatus supporting thereof |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020230183188A Pending KR20240080177A (en) | 2022-11-29 | 2023-12-15 | Method for managing test information and electronic apparatus supporting thereof |
Country Status (3)
Country | Link |
---|---|
KR (2) | KR102616183B1 (en) |
TW (1) | TWI880436B (en) |
WO (1) | WO2024117384A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117806978A (en) * | 2024-03-01 | 2024-04-02 | 腾讯科技(深圳)有限公司 | Cluster abnormity testing method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008176760A (en) * | 2006-12-19 | 2008-07-31 | Fujitsu Ltd | Test data registration method, program and device |
CN110083533A (en) * | 2019-04-16 | 2019-08-02 | 贝壳技术有限公司 | Data processing method and device based on Mock service |
CN110275831A (en) * | 2019-06-18 | 2019-09-24 | 广州华多网络科技有限公司 | The mock data verification method and device of protocol interface |
CN113342353A (en) * | 2021-07-01 | 2021-09-03 | 银联商务股份有限公司 | Mock data generation method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080147689A1 (en) * | 2006-12-19 | 2008-06-19 | Fujitsu Limited | Test data registration method, program and apparatus |
TWI682295B (en) * | 2018-11-05 | 2020-01-11 | 財團法人資訊工業策進會 | Device and method for producing test data |
US11379348B2 (en) * | 2019-06-21 | 2022-07-05 | ProKarma Inc. | System and method for performing automated API tests |
CN111045943B (en) * | 2019-12-11 | 2023-06-13 | 广州品唯软件有限公司 | Mock data generation method, test system and readable storage medium |
-
2022
- 2022-11-29 KR KR1020220162897A patent/KR102616183B1/en active Active
-
2023
- 2023-02-07 WO PCT/KR2023/001737 patent/WO2024117384A1/en unknown
- 2023-11-07 TW TW112142759A patent/TWI880436B/en active
- 2023-12-15 KR KR1020230183188A patent/KR20240080177A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008176760A (en) * | 2006-12-19 | 2008-07-31 | Fujitsu Ltd | Test data registration method, program and device |
CN110083533A (en) * | 2019-04-16 | 2019-08-02 | 贝壳技术有限公司 | Data processing method and device based on Mock service |
CN110275831A (en) * | 2019-06-18 | 2019-09-24 | 广州华多网络科技有限公司 | The mock data verification method and device of protocol interface |
CN113342353A (en) * | 2021-07-01 | 2021-09-03 | 银联商务股份有限公司 | Mock data generation method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117806978A (en) * | 2024-03-01 | 2024-04-02 | 腾讯科技(深圳)有限公司 | Cluster abnormity testing method and device, electronic equipment and storage medium |
CN117806978B (en) * | 2024-03-01 | 2024-05-14 | 腾讯科技(深圳)有限公司 | Cluster abnormity testing method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
KR20240080177A (en) | 2024-06-05 |
TWI880436B (en) | 2025-04-11 |
TW202437116A (en) | 2024-09-16 |
WO2024117384A1 (en) | 2024-06-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102616183B1 (en) | Method for managing test information and electronic apparatus supporting thereof | |
KR20240156981A (en) | Promotion information management method and electronic apparatus thereof | |
KR102713473B1 (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
KR20240110915A (en) | Operating method for providing information related to item and electronic apparatus supporting thereof | |
KR102618465B1 (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
US20220327481A1 (en) | Operating method for electronic apparatus for managing order information and electronic apparatus supporting thereof | |
KR20230022790A (en) | Operating method for electronic apparatus for providing search information and electronic apparatus supporting thereof | |
KR102681000B1 (en) | Operating method for electronic apparatus for managing transmission of information and electronic apparatus supporting thereof | |
KR102680984B1 (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
KR102620686B1 (en) | Method for managing account information and electronic device supporting thereof | |
KR102618518B1 (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
KR102821111B1 (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
KR102626373B1 (en) | Method for detecting abnormal users and electronic apparatus supporting thereof | |
KR102618417B1 (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
KR102758067B1 (en) | Operating method for electronic apparatus for implementing service and electronic apparatus supporting thereof | |
KR102787009B1 (en) | Operating method for electronic apparatus for configuring information and electronic apparatus supporting thereof | |
KR102671698B1 (en) | Member information management method and electronic apparatus therefor | |
KR102640115B1 (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
KR102773602B1 (en) | Operating method for electronic apparatus for providing page and electronic apparatus supporting thereof | |
KR20240024589A (en) | Method for managing item information and electronic apparatus providing thereof | |
TW202507589A (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
KR20240053487A (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
KR20220168958A (en) | Operating method for electronic apparatus for providing advertisement message and electronic apparatus supporting thereof | |
KR20250070272A (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
KR20240024573A (en) | Method for providing code information and electronic apparatus supporting thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20221129 |
|
PA0201 | Request for examination | ||
PA0302 | Request for accelerated examination |
Patent event date: 20230718 Patent event code: PA03022R01D Comment text: Request for Accelerated Examination Patent event date: 20221129 Patent event code: PA03021R01I Comment text: Patent Application |
|
PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20230821 Patent event code: PE09021S01D |
|
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20231201 |
|
A107 | Divisional application of patent | ||
GRNT | Written decision to grant | ||
PA0107 | Divisional application |
Comment text: Divisional Application of Patent Patent event date: 20231215 Patent event code: PA01071R01D |
|
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20231215 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 20231218 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration |