WO2014184949A1 - Software testing device, software testing method, and program - Google Patents

Software testing device, software testing method, and program Download PDF

Info

Publication number
WO2014184949A1
WO2014184949A1 PCT/JP2013/063782 JP2013063782W WO2014184949A1 WO 2014184949 A1 WO2014184949 A1 WO 2014184949A1 JP 2013063782 W JP2013063782 W JP 2013063782W WO 2014184949 A1 WO2014184949 A1 WO 2014184949A1
Authority
WO
WIPO (PCT)
Prior art keywords
test
information
test information
programs
competitive
Prior art date
Application number
PCT/JP2013/063782
Other languages
French (fr)
Japanese (ja)
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 JP2015516857A priority Critical patent/JP5980420B2/en
Priority to PCT/JP2013/063782 priority patent/WO2014184949A1/en
Publication of WO2014184949A1 publication Critical patent/WO2014184949A1/en

Links

Images

Classifications

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

Definitions

  • the present invention relates to a software test apparatus, a software test method, and a program.
  • Patent Document 1 discloses that a program to be tested is converted into an evaluation program, and evaluation item data and expected value data of evaluation results are based on the evaluation program. A technique for automatically generating the above is disclosed.
  • the present invention has been made in view of the above circumstances, and provides a software test apparatus, a software test method, and a program capable of improving the efficiency of a competitive test of a plurality of programs executed in parallel. With the goal.
  • a software test apparatus that executes a competition test of the programs that are executed in parallel in a facility device that executes at least any two or more of the plurality of programs in parallel, For each of the plurality of programs, a single test information acquisition unit that acquires single test information representing the test content of the program, Based on the combination of the plurality of programs, a group of programs to be executed in parallel in the competitive test is generated, and for each program belonging to the generated group, a single acquired by the single test information acquisition unit A competitive test information generation unit that generates competitive test information representing the content of the competitive test of the program belonging to the generated group by identifying the test information and integrating the specified single test information; For each group, based on the competition test information generated by the competition test information generation unit, a test execution unit that executes a competition test of programs belonging to the group; It is characterized by providing.
  • the single test information representing the test contents of each of the plurality of programs executed in parallel is integrated to generate the competition test information representing the content of the competition test of the plurality of programs.
  • FIG. 1 It is a schematic block diagram which shows an example of the whole structure of the software test system which concerns on embodiment of this invention. It is a figure which shows an example of the data stored in single test information DB. It is a figure which shows an example of single test sequence information. It is a figure which shows an example of the data stored in competition test information DB.
  • the block diagram which shows an example of a function structure of the control part of a software test apparatus It is an example of the flowchart of a single test information generation process. It is an example of the flowchart of a competition test information generation process. It is a figure explaining an example of the production
  • FIG. 1 is a schematic block diagram showing an overall configuration of a software test system 1 according to an embodiment of the present invention.
  • the software test system 1 includes an equipment device 100 and a software test apparatus 200 that is communicably connected to the equipment device 100.
  • the facility device 100 is connected to the software test apparatus 200 so as to be communicable by wire or wirelessly.
  • the equipment device 100 is a device to be tested by the software test apparatus 200.
  • the facility device 100 is a device such as an air conditioner or a lighting device, for example. In FIG. 1, one facility device 100 is illustrated, but a plurality of facility devices 100 to be tested by the software test apparatus 200 may be provided.
  • the facility device 100 includes a control unit 110 that controls the entire facility device 100, a drive unit 120 that is driven under the control of the control unit 110, and a storage unit 130 that stores various data.
  • the communication unit 140 communicates with an external device, and each unit is connected by a bus 150.
  • control unit 110 includes, for example, a CPU (Central Processing Unit), a RAM (Random Access Memory) that temporarily stores data generated by the CPU, and a timer that measures the current time. Perform overall control. Specifically, the control unit 110 controls the operation of the drive unit 120 by executing the control software 131 stored in the storage unit 130. In addition, the control unit 110 may acquire various types of information necessary for executing the control software 131 from the outside via the communication unit 140.
  • a CPU Central Processing Unit
  • RAM Random Access Memory
  • the driving unit 120 is driven by receiving power from a power source (not shown) under the control of the control unit 110.
  • the drive unit 120 includes, for example, an actuator such as a motor and an LED (Light Emitting Diode).
  • the storage unit 130 is composed of a recording medium such as a non-volatile semiconductor memory, and stores various data used for controlling the equipment device 100. Specifically, the storage unit 130 stores control software 131, communication data 132, and internal data 133.
  • the control software 131 is software for controlling the operation of the equipment device 100. Specifically, the control software 131 is composed of a plurality of programs, and the control unit 131 executes one of the plurality of programs alone or two or more of the plurality of programs. By executing in parallel, the operation of the equipment device 100 is controlled.
  • the communication data 132 is composed of a history of data communicated between the respective parts constituting the equipment 100 and data of the equipment 100 communicated with an external device via the communication unit 140. More specifically, the communication data 132 is, for example, an output value of a sensor (a temperature sensor, a pressure sensor, or the like) (not shown) included in the equipment device 100, an input value to the drive unit 120, or a facility device input by a remote controller (not shown). Data representing 100 various settings (operation mode setting, schedule setting, etc.). Further, the communication data 132 includes, for each data, data that identifies a device that has performed communication and data that represents the time at which the communication was performed.
  • a sensor a temperature sensor, a pressure sensor, or the like
  • Data representing 100 various settings (operation mode setting, schedule setting, etc.).
  • the communication data 132 includes, for each data, data that identifies a device that has performed communication and data that represents the time at which the communication was performed.
  • the internal data 133 is composed of a history of data defined as variables in the control software 131. More specifically, the internal data 133 includes, for example, register data of a program constituting the control software 131 and memory data. Further, the internal data 132 includes, for each data, data for identifying a program or variable in which the data is used, and data indicating a time when the data has changed.
  • the communication unit 140 includes an interface for performing wireless or wired communication with the software test apparatus 200 or an external apparatus (not shown).
  • the software test apparatus 200 stores a communication unit 210 that communicates with an external device, an input unit 220 that receives input from a user, a display unit 230 that displays various data, and various data.
  • a storage unit 240 and a control unit 250 that controls the entire software testing apparatus 200 are provided, and each unit is connected by a bus 260.
  • the communication unit 210 is composed of an interface for performing wireless or wired communication with the facility device 100.
  • the input unit 220 includes input devices such as buttons, a touch panel, and a keyboard.
  • the input unit 220 receives an operation input from the user, and outputs an operation input signal corresponding to the received operation input to the control unit 250.
  • the display unit 230 is composed of a display device such as a CRT (Cathode Ray Tube) or a liquid crystal display, and displays data such as characters and images supplied from the control unit 250.
  • a display device such as a CRT (Cathode Ray Tube) or a liquid crystal display
  • the storage unit 240 includes a writable storage device such as a hard disk drive, flash memory, or SSD (Solid State Drive). Specifically, the storage unit 240 includes a history DB (database) 241 that stores communication data 132 and internal data 133 acquired from the equipment 100, a single test information DB 242 that stores single test information, and a competitive test. A competition test information DB 243 for storing information is stored.
  • the history DB 241 stores communication data 132 and internal data 133 acquired from the equipment device 100 via the communication unit 210.
  • the single test information DB 242 stores single test information generated by a single test information generation unit 251 of the control unit 250 described later.
  • the single test information is information representing the test contents of the program for each program constituting the control software.
  • FIG. 2 shows an example of data stored in the single test information DB 242.
  • the single test information DB 242 includes a single test ID, pre-input information identified by the single test ID, single test sequence information, and output determination information. Stores test information.
  • Single test ID is information for identifying a test item when executing a test of one program.
  • the pre-input information is information that is input to the equipment 100 before the test identified by the single test ID is executed.
  • the facility device 100 is an air conditioner and the control software 131 controls the operation of the facility device 100 to stop the cooling operation when the indoor temperature becomes equal to or lower than a preset temperature during the cooling operation.
  • you include a program When the test of this program is executed, the equipment device 100 needs to be in a cooling operation before the execution. Accordingly, the pre-input information corresponding to the test of this program includes the communication data 132 that instructs the facility device 100 to start the cooling operation, or the internal data 133.
  • the single test sequence information includes input information input to the facility device 100 and time information indicating timing for inputting the input information to the facility device 100 in the test identified by the single test ID.
  • FIG. 3 is a diagram illustrating an example of test sequence information.
  • input data D i1 , D i2 , D i3 are input to the equipment device 100, respectively.
  • the output data D o1, D o2, D o3 a result of the input data D i1, D i2, D i3 is input to the equipment 100, a data output from the equipment 100.
  • the software test apparatus 200 receives these output data Do1 , Do2 , and Do3 from the equipment 100 and uses them when verifying the test results.
  • the output determination information is information for determining whether or not the output information output from the facility device 100 is normal by executing a test identified by a single test ID. Specifically, the output determination information includes output information output from the facility device 100 by executing the test when the test target program identified by the single test ID is normal. The software test apparatus 200 determines whether the program to be tested is normal by comparing the output information from the facility device 100 and the output determination information.
  • the competitive test information DB 243 stores the competitive test information generated by the competitive test information generating unit 252 of the control unit 250 described later.
  • the competition test information is information representing the content of a competition test of a plurality of programs.
  • FIG. 4 shows an example of data stored in the competitive test information DB 243.
  • the competitive test information DB 243 stores competitive test information including a competitive test ID, pre-input information identified by the competitive test ID, competitive test sequence information, and output determination information.
  • the competition test ID is information for identifying a test item when executing a competition test of a plurality of programs.
  • the pre-input information is information input to the equipment device 100 before executing the test identified by the competitive test ID.
  • the competitive test sequence information includes input information input to the facility device 100 and time information indicating timing for inputting the input information to the facility device 100 in the test identified by the competitive test ID.
  • the output determination information is information for determining whether or not the output information output from the equipment device 100 is normal by executing a test identified by the competition test ID. Details of the pre-input information, the competition test sequence information, and the output determination information included in the competition test information will be described later.
  • control unit 250 includes, for example, a CPU (Central Processing Unit), a ROM (Read Only Memory) that stores a program executed by the CPU, and a RAM (Random Access that temporarily stores data generated by the CPU. Memory) and a timer that measures the current time, and controls the entire software testing apparatus 200.
  • a CPU Central Processing Unit
  • ROM Read Only Memory
  • RAM Random Access that temporarily stores data generated by the CPU. Memory
  • timer that measures the current time, and controls the entire software testing apparatus 200.
  • FIG. 5 is a block diagram illustrating an example of a functional configuration of the control unit 250.
  • the control unit 250 includes a single test information acquisition unit 251 that acquires single test information, a competitive test information generation unit 252 that generates competitive test information, a test execution unit 253 that executes a competitive test, It functions as a test result verification unit 254 that verifies the result of the competitive test executed by the test execution unit 253.
  • the single test information acquisition unit 251 acquires single test information for each of a plurality of programs constituting the control software 131. Specifically, the single test information acquisition unit 251 acquires the communication data 132 and the internal data 133 from the facility device 100 via the communication unit 210 and stores them in the history DB 241. Then, the single test information acquisition unit 251 generates single test information based on the communication data 132 and the internal data 133 stored in the history DB 241 and stores the single test information in the single test information DB 242. For example, the single test information acquisition unit 251 has a table that associates the data stored in the history DB 241 with the single test information DB 242, and based on the table, single test information is obtained from the data stored in the history DB 241. Is generated.
  • the competitive test information generation unit 252 generates competitive test information based on the single test information stored in the single test information DB 242. Specifically, the competition test information generation unit 252 generates a group of programs to be executed in parallel in the competition test based on a combination of a plurality of programs included in the control software 131. Then, the competitive test information generation unit 252 identifies single test information stored in the single test information DB 242 for each program belonging to the generated group. Then, the competitive test information generating unit 252 generates competitive test information representing the content of the competitive test of the program belonging to the generated group by integrating the identified single test information, and stores it in the competitive test information DB 243. .
  • the test execution unit 253 executes a competition test of a plurality of programs based on the competition test information stored in the competition test information DB 243. Specifically, the test execution unit 253 inputs the pre-input information stored in the machine competition test information DB 243 to the equipment device 100 via the communication unit 210. Next, based on the competitive test sequence information, the test execution unit 253 inputs the input information included in the competitive test information to the equipment device 100 via the communication unit 210 at the timing indicated by the time information corresponding to the input information. To do.
  • the test result verification unit 254 verifies the result of the competition test executed by the test execution unit 253. Specifically, the test result verification unit 254 compares the output information output from the equipment device 100 by executing the competition test based on the competition test information with the output determination information included in the competition test information. Thus, it is determined whether or not the program that is the subject of the competition test is normal.
  • the single test information generation process is executed, for example, when the CPU of the control unit 250 reads a program stored in the ROM.
  • FIG. 6 is an example of a flowchart of single test information generation processing executed by the control unit 250 of the software test apparatus 200.
  • the single test information generation process is started, for example, when a user inputs an operation input indicating start of the process via the input unit 220.
  • the single test information acquisition unit 251 acquires the communication data 132 and the internal data 133 from the equipment 100 via the communication unit 210 (step S11). Then, the single test information acquisition unit 251 stores the acquired data in the history DB 241.
  • the single test information acquisition unit 251 generates single test information based on the communication data 132 and the internal data 133 stored in the history DB 241 (step S12). Then, the single test information acquisition unit 251 stores the generated single test information in the single test information DB 242. Then, the single test information generation process ends.
  • the competitive test information generation process is executed, for example, when the CPU of the control unit 250 reads a program stored in the ROM.
  • FIG. 7 is an example of a flowchart of competition test information generation processing executed by the control unit 250 of the software test apparatus 200.
  • the competitive test information generation process is started, for example, when the user inputs an operation input indicating the start of the process via the input unit 220.
  • the competition test information generation unit 252 generates a group of programs that are executed in parallel in the competition test, based on the combination of programs constituting the control software 131 (step S21).
  • the control software 131 is composed of a plurality of programs including programs P 1 to P 3 .
  • the competition test information generation unit 252 generates a group of programs to be competed, such as groups G1 to G4, based on a combination of a plurality of programs constituting the control software 131.
  • the program P 1 and the program P 2 belong to the group G 1 . Therefore, the program P 1 and the program P 2 are made to compete in the competition test corresponding to the group G 1 .
  • the competitive test information generation unit 252 acquires, for each group generated in step S21, single test information corresponding to the program belonging to the group from the single test information DB 242 (step S22).
  • the competitive test information generation unit 252 integrates the pre-input information included in the single test information acquired in step S22 for each group, and generates pre-input information used in the competitive test corresponding to the group. (Step S23). Then, the competition test information generation unit 252 stores the generated prior input information in the competition test information DB 243.
  • the pre-input information included in the single test information corresponding to the program P 1 is A 1 and the pre-input information included in the single test information corresponding to the program P 2 is A 2 , it corresponds to the group G 1
  • the pre-input information used in the competitive test is A 1 and A 2 .
  • the competition test information generation unit 252 integrates the output determination information included in the single test information acquired in step S22 for each group, and generates output determination information used in the competition test corresponding to the group. (Step S24). Then, the competition test information generation unit 252 stores the generated output determination information in the competition test information DB 243.
  • output determination information included in the single test information corresponding to the program P 1 is B 1 and the pre-input information B 2 included in the single test information corresponding to the program P 2, it corresponds to the group G 1 .
  • Output determination information used in the competition test is B 1 and B 2 .
  • the competitive test information generation unit 252 integrates the single test sequence information included in the single test information acquired in step S22 for each group, and the competitive test sequence information used in the competitive test corresponding to the group. Is generated (step S25). Then, the competitive test information generation unit 252 stores the generated competitive test sequence information in the competitive test information DB 243. Then, the competition test information generation process ends.
  • the single test information corresponding to the program P 1 and the single test information corresponding to the program P 2 include a single test sequence S a1 and a single test sequence S a2 shown in FIG. 9, respectively.
  • conflict test information generating unit 252 the input data D 11 ⁇ D 13 contained in a single test sequence S a1, and, for the input data D 21 ⁇ D 23 contained in a single test sequence S a2, their A plurality of competitive test sequence information, each of which is different in at least one of the order and timing of input data input to the equipment device 100, is generated.
  • FIG. 9 two types of competitive test sequence information S b1 and S b2 generated by the competitive test information generation unit 252 based on the single test sequence S a1 and the single test sequence S a2 are illustrated as an example. Yes.
  • the competition test execution process is executed, for example, when the CPU of the control unit 250 reads a program stored in the ROM.
  • FIG. 10 is an example of a flowchart of a competition test execution process executed by the control unit 250 of the software test apparatus 200.
  • the competition test execution process is started, for example, when a user inputs an operation input indicating start of the process via the input unit 220.
  • the test execution unit 253 acquires competitive test information to be subjected to the competitive test from the competitive test information DB 243 (step S301).
  • the competition test information to be subjected to the competition test is selected by the user via the input unit 220, for example.
  • test execution unit 253 outputs the pre-input information included in the competitive test information acquired in step S301 to the equipment device 100 (step S302).
  • test execution unit 253 starts a competitive test based on the competitive test sequence information included in the competitive test information acquired in step S301 (step S303).
  • test execution unit 253 determines whether or not output information has been received from the equipment device 100 (step S304). If it is determined that the output information has been received from the facility device 100 (step S304; Yes), the test execution unit 253 records the received output information in, for example, the RAM (step S305).
  • the test execution unit 253 includes the facility device 100 in the competition test sequence information included in the competition test information acquired in step S301. It is determined whether or not there is input information that has not been output (step S306).
  • step S306 If it is determined that there is input information that has not been output to the facility device 100 (step S306; Yes), whether or not it is time to output the input information to the facility device 100 based on the time information corresponding to the input information Is determined (step S307). If it is determined that it is not time to output the input information to the equipment device 100 (step S307; No), the process returns to step S304.
  • test execution unit 253 When it is determined that it is time to output the input information to the equipment device 100 (step S307; Yes), the test execution unit 253 outputs the input information to the equipment device 100 (step S308). Then, the process returns to step S304.
  • test execution unit 253 ends the competition test. Then, the test result verification unit 254 verifies the test result based on the output determination information included in the competitive test information acquired in step S301 and the output information recorded in step S305 (step S309).
  • the test result verification unit 254 displays the verification result in step S309 on the display unit 230 (step S310). Then, the competition test execution process ends.
  • the software test apparatus 200 first acquires single test information representing the test contents of each of a plurality of programs executed in parallel. In order to integrate the acquired single test information and generate competitive test information representing the content of the competitive test of the multiple programs, the efficiency of the competitive test of multiple programs executed in parallel is improved. Can do.
  • the single test information generation unit 251 generates single test information based on communication data and internal data stored in the history DB 241.
  • the single test information generation method is as follows. It is not limited to this.
  • a part or all of the single test information may be input by the user via the input unit 220, for example.
  • the competitive test information generation unit 252 sets the competitive test information so as to satisfy a constraint condition that restricts at least one of the order and timing of inputting the input information to the facility device 100. It may be generated.
  • a restriction condition may be input in advance by the user via the input unit 220 and stored in the storage unit 240, for example.
  • the installation apparatus 100 memorize
  • the software test apparatus 200 can generate competition test information using one of the communication data 132 and the internal data 133 stored in the facility device 100, and can execute the competition test.
  • the software testing apparatus 200 uses the facility device 100 as a test target, but may use a facility device simulator as a test target.
  • the program executed by the software test apparatus 200 is a computer such as a flexible disk, a CD-ROM (Compact Disk Read-Only Memory), a DVD (Digital Versatile Disk), or an MO (Magneto-Optical Disk). It may be stored and distributed in a readable recording medium. And each apparatus which performs the above-mentioned process may be comprised by installing the program in information processing apparatus, such as a personal computer.
  • the program may be stored in a disk device or the like included in a predetermined server device on a communication network such as the Internet. And a program may be comprised so that it may be superimposed on a carrier wave and downloaded, for example.
  • the present invention is suitable for a software test system that executes a competitive test of a program that is executed in parallel in an equipment that executes at least any two or more of the plurality of programs in parallel.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

On equipment on which two or more of a plurality of programs are executed in parallel, this software testing device performs a conflict test on the programs that are executed in parallel. For each program, a single-test-information acquisition unit (251) acquires single-test information that indicates the test content for said program. A conflict-test-information generation unit (252) uses program combinations to generate a group of programs to be executed in parallel in a conflict test, and by combining the single-test information for the programs in the generated group, generates conflict-test information that indicates the content of the conflict test to be performed on said programs. A test execution unit (253) executes said conflict test on the basis of the generated conflict-test information.

Description

ソフトウェア試験装置、ソフトウェア試験方法、及びプログラムSoftware test apparatus, software test method, and program
 本発明は、ソフトウェア試験装置、ソフトウェア試験方法、及びプログラムに関する。 The present invention relates to a software test apparatus, a software test method, and a program.
 機器を制御するソフトウェアの試験を支援する技術として、特許文献1には、試験対象であるプログラムを評価用プログラムに変換し、その評価用プログラムに基づいて、評価項目データと評価結果の期待値データとを自動的に生成する技術が開示されている。 As a technique for supporting testing of software for controlling devices, Patent Document 1 discloses that a program to be tested is converted into an evaluation program, and evaluation item data and expected value data of evaluation results are based on the evaluation program. A technique for automatically generating the above is disclosed.
特開2001-117794号公報JP 2001-117794 A
 近年、空調機器や照明機器といった設備機器及び設備機器システムの多機能化が進んでいる。これに伴い、ユーザ操作の受付、自動運転や自動停止、他の設備機器との連動等を制御する設備機器の制御ソフトウェアも、複雑化している。このため、設備機器の制御ソフトウェアに対する試験作業において、制御ソフトウェアを構成する複数のプログラムが並列に実行された場合、すなわち複数にプログラムが競合する場合の設備機器の動作を検証する必要がある。しかし、動作試験において、並列に実行させるプログラムの組合せの数は非常に多く、さらに、プログラムを実行させるタイミングも考慮すると、試験パターンは無数に考えられるため、試験作業を担当する担当者に大きな負荷を与えてしまう。しかし、特許文献1に記載の技術では、複数のプログラムが競合する場合の動作試験のための評価項目を作成することは困難である。 In recent years, multifunctional facilities equipment and equipment systems such as air conditioners and lighting equipment have been developed. Along with this, control software for facility equipment that controls reception of user operations, automatic operation and automatic stop, linkage with other equipment, and the like has become more complicated. For this reason, in the test work for the control software of the equipment, it is necessary to verify the operation of the equipment when a plurality of programs constituting the control software are executed in parallel, that is, when the programs compete with each other. However, in operation tests, the number of combinations of programs to be executed in parallel is very large, and considering the timing of program execution, there are an infinite number of test patterns. Will be given. However, with the technology described in Patent Document 1, it is difficult to create an evaluation item for an operation test when a plurality of programs compete.
 本発明は、上記実情に鑑みてなされたものであり、並行して実行される複数のプログラムの競合試験の効率化を図ることが可能なソフトウェア試験装置、ソフトウェア試験方法、及びプログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and provides a software test apparatus, a software test method, and a program capable of improving the efficiency of a competitive test of a plurality of programs executed in parallel. With the goal.
 上記目的を達成するために、本発明に係るソフトウェア試験装置は、
 複数のプログラムのうち少なくともいずれか2つ以上のプログラムを並行して実行する設備機器において、並行して実行される該プログラムの競合試験を実行するソフトウェア試験装置であって、
 前記複数のプログラム毎に、該プログラムの試験内容を表す単一試験情報を取得する単一試験情報取得部と、
 前記複数のプログラムの組み合わせに基づいて、前記競合試験において並行して実行されるプログラムのグループを生成し、生成されたグループに属するプログラム毎に、前記単一試験情報取得部により取得された単一試験情報を特定し、特定した単一試験情報を統合することにより、生成されたグループに属するプログラムの競合試験の内容を表す競合試験情報を生成する競合試験情報生成部と、
 前記グループ毎に、前記競合試験情報生成部により生成された競合試験情報に基づいて、該グループに属するプログラムの競合試験を実行する試験実行部と、
 を備えることを特徴とする。
In order to achieve the above object, a software test apparatus according to the present invention provides:
A software test apparatus that executes a competition test of the programs that are executed in parallel in a facility device that executes at least any two or more of the plurality of programs in parallel,
For each of the plurality of programs, a single test information acquisition unit that acquires single test information representing the test content of the program,
Based on the combination of the plurality of programs, a group of programs to be executed in parallel in the competitive test is generated, and for each program belonging to the generated group, a single acquired by the single test information acquisition unit A competitive test information generation unit that generates competitive test information representing the content of the competitive test of the program belonging to the generated group by identifying the test information and integrating the specified single test information;
For each group, based on the competition test information generated by the competition test information generation unit, a test execution unit that executes a competition test of programs belonging to the group;
It is characterized by providing.
 本発明によれば、並列して実行される複数のプログラムそれぞれの試験内容を表す単一試験情報を統合して、その複数のプログラムの競合試験の内容を表す競合試験情報を生成するため、並行して実行される複数のプログラムの競合試験の効率化を図ることができる。 According to the present invention, the single test information representing the test contents of each of the plurality of programs executed in parallel is integrated to generate the competition test information representing the content of the competition test of the plurality of programs. Thus, it is possible to improve the efficiency of the competitive test of a plurality of programs executed in the same manner.
本発明の実施形態に係るソフトウェア試験システムの全体構成の一例を示す概略ブロック図である。It is a schematic block diagram which shows an example of the whole structure of the software test system which concerns on embodiment of this invention. 単一試験情報DBに格納されるデータの一例を示す図である。It is a figure which shows an example of the data stored in single test information DB. 単一試験シーケンス情報の一例を示す図である。It is a figure which shows an example of single test sequence information. 競合試験情報DBに格納されるデータの一例を示す図である。It is a figure which shows an example of the data stored in competition test information DB. ソフトウェア試験装置の制御部の機能構成の一例を示すブロック図The block diagram which shows an example of a function structure of the control part of a software test apparatus 単一試験情報生成処理のフローチャートの一例である。It is an example of the flowchart of a single test information generation process. 競合試験情報生成処理のフローチャートの一例である。It is an example of the flowchart of a competition test information generation process. 競合試験情報生成部による競合させるプログラムのグループの生成方法の一例を説明する図である。It is a figure explaining an example of the production | generation method of the group of the program made to compete by a competition test information generation part. 競合試験情報生成部による競合試験シーケンス情報の生成方法の一例を説明する図である。It is a figure explaining an example of the production | generation method of the competition test sequence information by a competition test information generation part. 競合試験実行処理のフローチャートの一例である。It is an example of the flowchart of a competition test execution process.
 本発明の実施の形態について、図面を参照して詳細に説明する。 Embodiments of the present invention will be described in detail with reference to the drawings.
 図1は、本発明の実施形態に係るソフトウェア試験システム1の全体構成を示す概略ブロック図である。図1に示すように、ソフトウェア試験システム1は、設備機器100と、設備機器100と通信可能に接続されるソフトウェア試験装置200と、から構成される。設備機器100は、ソフトウェア試験装置200と、有線又は無線にて通信可能に接続されている。 FIG. 1 is a schematic block diagram showing an overall configuration of a software test system 1 according to an embodiment of the present invention. As shown in FIG. 1, the software test system 1 includes an equipment device 100 and a software test apparatus 200 that is communicably connected to the equipment device 100. The facility device 100 is connected to the software test apparatus 200 so as to be communicable by wire or wirelessly.
 設備機器100は、ソフトウェア試験装置200により試験される対象となる機器である。設備機器100は、例えば、空調機器、照明機器といった機器である。なお、図1では、1つの設備機器100を図示しているが、ソフトウェア試験装置200が試験する対象となる設備機器100は複数であってもよい。 The equipment device 100 is a device to be tested by the software test apparatus 200. The facility device 100 is a device such as an air conditioner or a lighting device, for example. In FIG. 1, one facility device 100 is illustrated, but a plurality of facility devices 100 to be tested by the software test apparatus 200 may be provided.
 また、図1に示すように、設備機器100は、設備機器100全体を制御する制御部110と、制御部110の制御のもと駆動する駆動部120と、各種データを記憶する記憶部130と、外部の装置と通信する通信部140と、から構成され、各部はバス150により接続されている。 As shown in FIG. 1, the facility device 100 includes a control unit 110 that controls the entire facility device 100, a drive unit 120 that is driven under the control of the control unit 110, and a storage unit 130 that stores various data. The communication unit 140 communicates with an external device, and each unit is connected by a bus 150.
 より詳細には、制御部110は、例えば、CPU(Central Processing Unit)、CPUが生成したデータを一時的に格納するRAM(Random Access Memory)、現在時刻を計時するタイマから構成され、設備機器100の全体の制御を行う。具体的には、制御部110は、記憶部130に記憶された制御ソフトウェア131を実行することにより、駆動部120の運転を制御する。また、制御部110は、制御ソフトウェア131の実行に必要な各種の情報を、通信部140を介して、外部から取得してもよい。 More specifically, the control unit 110 includes, for example, a CPU (Central Processing Unit), a RAM (Random Access Memory) that temporarily stores data generated by the CPU, and a timer that measures the current time. Perform overall control. Specifically, the control unit 110 controls the operation of the drive unit 120 by executing the control software 131 stored in the storage unit 130. In addition, the control unit 110 may acquire various types of information necessary for executing the control software 131 from the outside via the communication unit 140.
 駆動部120は、制御部110による制御のもと、電源(図示せず)から電力の供給を受けて駆動する。駆動部120は、例えば、モータ、LED(Light Emitting Diode)といったアクチュエータから構成される。 The driving unit 120 is driven by receiving power from a power source (not shown) under the control of the control unit 110. The drive unit 120 includes, for example, an actuator such as a motor and an LED (Light Emitting Diode).
 記憶部130は、不揮発性の半導体メモリ等の記録媒体から構成され、設備機器100の制御に用いられる各種データを記憶する。具体的には、記憶部130は、制御ソフトウェア131と、通信データ132と、内部データ133と、を記憶する。 The storage unit 130 is composed of a recording medium such as a non-volatile semiconductor memory, and stores various data used for controlling the equipment device 100. Specifically, the storage unit 130 stores control software 131, communication data 132, and internal data 133.
 制御ソフトウェア131は、設備機器100の動作を制御するためのソフトウェアである。具体的には、制御ソフトウェア131は、複数のプログラムから構成され、制御部131は、その複数のプログラムのうち1つを単独で実行することにより、又は、その複数のプログラムのうち2つ以上を並列して実行することにより、設備機器100の動作を制御する。 The control software 131 is software for controlling the operation of the equipment device 100. Specifically, the control software 131 is composed of a plurality of programs, and the control unit 131 executes one of the plurality of programs alone or two or more of the plurality of programs. By executing in parallel, the operation of the equipment device 100 is controlled.
 通信データ132は、設備機器100を構成する各部同士が通信するデータと、設備機器100が通信部140を介して外部の装置と通信するデータと、の履歴から構成される。より具体的には、通信データ132は、例えば、設備機器100が備える図示しないセンサ(温度センサ、圧力センサ等)の出力値、駆動部120への入力値、図示しないリモコンにより入力される設備機器100の各種設定(運転モード設定、スケジュール設定等)を表すデータ、を含む。また、通信データ132は、データ毎に、通信を行った装置を識別するデータ、その通信を行った時刻を表すデータを含む。 The communication data 132 is composed of a history of data communicated between the respective parts constituting the equipment 100 and data of the equipment 100 communicated with an external device via the communication unit 140. More specifically, the communication data 132 is, for example, an output value of a sensor (a temperature sensor, a pressure sensor, or the like) (not shown) included in the equipment device 100, an input value to the drive unit 120, or a facility device input by a remote controller (not shown). Data representing 100 various settings (operation mode setting, schedule setting, etc.). Further, the communication data 132 includes, for each data, data that identifies a device that has performed communication and data that represents the time at which the communication was performed.
 内部データ133は、制御ソフトウェア131中で変数として定義されているデータの履歴から構成される。より具体的には、内部データ133は、例えば、制御ソフトウェア131を構成するプログラムのレジスタのデータや、メモリのデータを含む。また、内部データ132は、データ毎に、そのデータが用いられるプログラムや変数を識別するデータ、そのデータが変化した時刻を表すデータを含む。 The internal data 133 is composed of a history of data defined as variables in the control software 131. More specifically, the internal data 133 includes, for example, register data of a program constituting the control software 131 and memory data. Further, the internal data 132 includes, for each data, data for identifying a program or variable in which the data is used, and data indicating a time when the data has changed.
 通信部140は、ソフトウェア試験装置200や図示しない外部の装置と、無線又は有線による通信を行うためのインターフェースから構成される。 The communication unit 140 includes an interface for performing wireless or wired communication with the software test apparatus 200 or an external apparatus (not shown).
 次に、本実施形態に係るソフトウェア試験装置200の構成について詳細に説明する。 Next, the configuration of the software test apparatus 200 according to the present embodiment will be described in detail.
 図1に示すように、ソフトウェア試験装置200は、外部の装置と通信する通信部210と、ユーザからの入力を受け付ける入力部220と、各種データを表示する表示部230と、各種データを記憶する記憶部240と、ソフトウェア試験装置200全体を制御する制御部250とを備え、各部はバス260により接続されている。 As shown in FIG. 1, the software test apparatus 200 stores a communication unit 210 that communicates with an external device, an input unit 220 that receives input from a user, a display unit 230 that displays various data, and various data. A storage unit 240 and a control unit 250 that controls the entire software testing apparatus 200 are provided, and each unit is connected by a bus 260.
 通信部210は、設備機器100と、無線又は有線による通信を行うためのインターフェースから構成される。 The communication unit 210 is composed of an interface for performing wireless or wired communication with the facility device 100.
 入力部220は、ボタン、タッチパネル、キーボード等の入力装置から構成される。入力部220は、ユーザからの操作入力を受け付け、受け付けた操作入力に対応する操作入力信号を制御部250に出力する。 The input unit 220 includes input devices such as buttons, a touch panel, and a keyboard. The input unit 220 receives an operation input from the user, and outputs an operation input signal corresponding to the received operation input to the control unit 250.
 表示部230は、CRT(Cathode Ray Tube)や液晶ディスプレイ等の表示装置から構成され、制御部250から供給される文字や画像等のデータを表示する。 The display unit 230 is composed of a display device such as a CRT (Cathode Ray Tube) or a liquid crystal display, and displays data such as characters and images supplied from the control unit 250.
 記憶部240は、ハードディスクドライブや、フラッシュメモリ、SSD(Solid State Drive)のような、書き込み可能な記憶装置から構成される。具体的には、記憶部240は、設備機器100から取得した通信データ132及び内部データ133を格納する履歴DB(データベース)241と、単一試験情報を格納する単一試験情報DB242と、競合試験情報を格納する競合試験情報DB243と、を記憶する。 The storage unit 240 includes a writable storage device such as a hard disk drive, flash memory, or SSD (Solid State Drive). Specifically, the storage unit 240 includes a history DB (database) 241 that stores communication data 132 and internal data 133 acquired from the equipment 100, a single test information DB 242 that stores single test information, and a competitive test. A competition test information DB 243 for storing information is stored.
 より詳細には、履歴DB241は、通信部210を介して設備機器100から取得した通信データ132及び内部データ133を記憶する。 More specifically, the history DB 241 stores communication data 132 and internal data 133 acquired from the equipment device 100 via the communication unit 210.
 単一試験情報DB242は、後述する制御部250の単一試験情報生成部251により生成された単一試験情報を格納する。ここで、単一試験情報は、制御ソフトウェアを構成するプログラム毎に、そのプログラムの試験内容を表す情報である。 The single test information DB 242 stores single test information generated by a single test information generation unit 251 of the control unit 250 described later. Here, the single test information is information representing the test contents of the program for each program constituting the control software.
 図2に、単一試験情報DB242に格納されるデータの一例を示す。図2に示すように、単一試験情報DB242は、単一試験IDと、その単一試験IDにより識別される事前入力情報と、単一試験シーケンス情報と、出力判定情報と、を含む単一試験情報を格納する。 FIG. 2 shows an example of data stored in the single test information DB 242. As shown in FIG. 2, the single test information DB 242 includes a single test ID, pre-input information identified by the single test ID, single test sequence information, and output determination information. Stores test information.
 単一試験IDは、1つのプログラムの試験を実行する際の試験項目を識別する情報である。 Single test ID is information for identifying a test item when executing a test of one program.
 事前入力情報は、単一試験IDにより識別される試験を実行する前に設備機器100に入力される情報である。例えば、設備機器100が空調機器であって、制御ソフトウェア131が、冷房運転中に室内温度が予め設定された温度以下になった場合に、冷房運転を停止するという設備機器100の動作を制御するプログラムを含んでいるとする。このプログラムの試験を実行する場合、実行前に設備機器100は冷房運転を行っている必要がある。従って、このプログラムの試験に対応する事前入力情報は、設備機器100に冷房運転を開始するよう指示する通信データ132、又は内部データ133を含む。 The pre-input information is information that is input to the equipment 100 before the test identified by the single test ID is executed. For example, when the facility device 100 is an air conditioner and the control software 131 controls the operation of the facility device 100 to stop the cooling operation when the indoor temperature becomes equal to or lower than a preset temperature during the cooling operation. Suppose you include a program. When the test of this program is executed, the equipment device 100 needs to be in a cooling operation before the execution. Accordingly, the pre-input information corresponding to the test of this program includes the communication data 132 that instructs the facility device 100 to start the cooling operation, or the internal data 133.
 単一試験シーケンス情報は、単一試験IDにより識別される試験において、設備機器100に入力される入力情報と、その入力情報を設備機器100に入力するタイミングを表す時刻情報と、を含む。図3は、試験シーケンス情報の一例を表す図である。図3に示す単一試験シーケンス情報では、時刻t=tstartで試験が開始され、時刻t=tendで試験が終了する。また、時刻t=t1,t2,t3において、それぞれ入力データDi1,Di2,Di3が設備機器100に入力される。なお、出力データDo1,Do2,Do3は、入力データDi1,Di2,Di3が設備機器100に入力された結果、設備機器100から出力されるデータである。ソフトウェア試験装置200は、これらの出力データDo1,Do2,Do3を設備機器100から受信し、試験結果を検証する際に用いる。 The single test sequence information includes input information input to the facility device 100 and time information indicating timing for inputting the input information to the facility device 100 in the test identified by the single test ID. FIG. 3 is a diagram illustrating an example of test sequence information. In the single test sequence information shown in FIG. 3, the test starts at time t = t start and ends at time t = t end . In addition, at time t = t 1 , t 2 , t 3 , input data D i1 , D i2 , D i3 are input to the equipment device 100, respectively. The output data D o1, D o2, D o3 a result of the input data D i1, D i2, D i3 is input to the equipment 100, a data output from the equipment 100. The software test apparatus 200 receives these output data Do1 , Do2 , and Do3 from the equipment 100 and uses them when verifying the test results.
 出力判定情報は、単一試験IDにより識別される試験を実行することにより設備機器100から出力される出力情報が正常か否かを判定するための情報である。具体的には、出力判定情報は、単一試験IDにより識別される試験の対象であるプログラムが正常である場合に、その試験を実行することにより設備機器100から出力される出力情報を含む。ソフトウェア試験装置200は、設備機器100からの出力情報と、出力判定情報とを比較することにより、試験の対象であるプログラムが正常か否かを判定する。 The output determination information is information for determining whether or not the output information output from the facility device 100 is normal by executing a test identified by a single test ID. Specifically, the output determination information includes output information output from the facility device 100 by executing the test when the test target program identified by the single test ID is normal. The software test apparatus 200 determines whether the program to be tested is normal by comparing the output information from the facility device 100 and the output determination information.
 図1に戻って、競合試験情報DB243は、後述する制御部250の競合試験情報生成部252により生成された競合試験情報を格納する。ここで、競合試験情報は、複数のプログラムの競合試験の内容を表す情報である。 Returning to FIG. 1, the competitive test information DB 243 stores the competitive test information generated by the competitive test information generating unit 252 of the control unit 250 described later. Here, the competition test information is information representing the content of a competition test of a plurality of programs.
 図4に、競合試験情報DB243に格納されるデータの一例を示す。図4に示すように、競合試験情報DB243は、競合試験IDと、その競合試験IDにより識別される事前入力情報と、競合試験シーケンス情報と、出力判定情報と、を含む競合試験情報を格納する。競合試験IDは、複数のプログラムの競合試験を実行する際の試験項目を識別する情報である。事前入力情報は、競合試験IDにより識別される試験を実行する前に設備機器100に入力される情報である。競合試験シーケンス情報は、競合試験IDにより識別される試験において、設備機器100に入力される入力情報と、その入力情報を設備機器100に入力するタイミングを表す時刻情報と、を含む。出力判定情報は、競合試験IDにより識別される試験を実行することにより設備機器100から出力される出力情報が正常か否かを判定するための情報である。競合試験情報に含まれる事前入力情報、競合試験シーケンス情報、及び出力判定情報の詳細については、後述する。 FIG. 4 shows an example of data stored in the competitive test information DB 243. As shown in FIG. 4, the competitive test information DB 243 stores competitive test information including a competitive test ID, pre-input information identified by the competitive test ID, competitive test sequence information, and output determination information. . The competition test ID is information for identifying a test item when executing a competition test of a plurality of programs. The pre-input information is information input to the equipment device 100 before executing the test identified by the competitive test ID. The competitive test sequence information includes input information input to the facility device 100 and time information indicating timing for inputting the input information to the facility device 100 in the test identified by the competitive test ID. The output determination information is information for determining whether or not the output information output from the equipment device 100 is normal by executing a test identified by the competition test ID. Details of the pre-input information, the competition test sequence information, and the output determination information included in the competition test information will be described later.
 図1に戻って、制御部250は、例えば、CPU(Central Processing Unit)、CPUが実行するプログラムを格納するROM(Read Only Memory)、CPUが生成したデータを一時的に格納するRAM(Random Access Memory)、現在時刻を計時するタイマから構成され、ソフトウェア試験装置200の全体の制御を行う。 Returning to FIG. 1, the control unit 250 includes, for example, a CPU (Central Processing Unit), a ROM (Read Only Memory) that stores a program executed by the CPU, and a RAM (Random Access that temporarily stores data generated by the CPU. Memory) and a timer that measures the current time, and controls the entire software testing apparatus 200.
 図5は、制御部250の機能構成の一例を示すブロック図である。図5に示すように、制御部250は、単一試験情報を取得する単一試験情報取得部251、競合試験情報を生成する競合試験情報生成部252、競合試験を実行する試験実行部253、試験実行部253により実行された競合試験の結果を検証する試験結果検証部254、として機能する。 FIG. 5 is a block diagram illustrating an example of a functional configuration of the control unit 250. As illustrated in FIG. 5, the control unit 250 includes a single test information acquisition unit 251 that acquires single test information, a competitive test information generation unit 252 that generates competitive test information, a test execution unit 253 that executes a competitive test, It functions as a test result verification unit 254 that verifies the result of the competitive test executed by the test execution unit 253.
 単一試験情報取得部251は、制御ソフトウェア131を構成する複数のプログラム毎に、単一試験情報を取得する。具体的には、単一試験情報取得部251は、通信部210を介して、設備機器100から通信データ132及び内部データ133を取得し、履歴DB241に格納する。そして、単一試験情報取得部251は、履歴DB241に格納された通信データ132及び内部データ133に基づいて、単一試験情報を生成し、単一試験情報DB242に格納する。例えば、単一試験情報取得部251は、履歴DB241に格納されたデータを、単一試験情報DB242に対応付けるテーブルを有し、そのテーブルに基づいて、履歴DB241に格納されたデータから単一試験情報を生成する。 The single test information acquisition unit 251 acquires single test information for each of a plurality of programs constituting the control software 131. Specifically, the single test information acquisition unit 251 acquires the communication data 132 and the internal data 133 from the facility device 100 via the communication unit 210 and stores them in the history DB 241. Then, the single test information acquisition unit 251 generates single test information based on the communication data 132 and the internal data 133 stored in the history DB 241 and stores the single test information in the single test information DB 242. For example, the single test information acquisition unit 251 has a table that associates the data stored in the history DB 241 with the single test information DB 242, and based on the table, single test information is obtained from the data stored in the history DB 241. Is generated.
 競合試験情報生成部252は、単一試験情報DB242に格納された単一試験情報に基づいて、競合試験情報を生成する。具体的には、競合試験情報生成部252は、制御ソフトウェア131に含まれる複数のプログラムの組み合わせに基づいて、競合試験において並行して実行されるプログラムのグループを生成する。そして、競合試験情報生成部252は、生成されたグループに属するプログラム毎に、単一試験情報DB242に格納された単一試験情報を特定する。そして、競合試験情報生成部252は、特定した単一試験情報を統合することにより、生成されたグループに属するプログラムの競合試験の内容を表す競合試験情報を生成し、競合試験情報DB243に格納する。 The competitive test information generation unit 252 generates competitive test information based on the single test information stored in the single test information DB 242. Specifically, the competition test information generation unit 252 generates a group of programs to be executed in parallel in the competition test based on a combination of a plurality of programs included in the control software 131. Then, the competitive test information generation unit 252 identifies single test information stored in the single test information DB 242 for each program belonging to the generated group. Then, the competitive test information generating unit 252 generates competitive test information representing the content of the competitive test of the program belonging to the generated group by integrating the identified single test information, and stores it in the competitive test information DB 243. .
 試験実行部253は、競合試験情報DB243に格納された競合試験情報に基づいて、複数のプログラムの競合試験を実行する。具体的には、試験実行部253は、機競合試験情報DB243に格納されている事前入力情報を設備機器100に通信部210を介して入力する。次に、試験実行部253は、競合試験シーケンス情報に基づいて、競合試験情報に含まれる入力情報を、その入力情報に対応する時刻情報が表すタイミングで設備機器100に通信部210を介して入力する。 The test execution unit 253 executes a competition test of a plurality of programs based on the competition test information stored in the competition test information DB 243. Specifically, the test execution unit 253 inputs the pre-input information stored in the machine competition test information DB 243 to the equipment device 100 via the communication unit 210. Next, based on the competitive test sequence information, the test execution unit 253 inputs the input information included in the competitive test information to the equipment device 100 via the communication unit 210 at the timing indicated by the time information corresponding to the input information. To do.
 試験結果検証部254は、試験実行部253が実行した競合試験の結果を検証する。具体的には、試験結果検証部254は、競合試験情報に基づいて競合試験を実行することにより設備機器100から出力された出力情報を、その競合試験情報に含まれる出力判定情報と比較することにより、競合試験の対象であるプログラムが正常か否かを判定する。 The test result verification unit 254 verifies the result of the competition test executed by the test execution unit 253. Specifically, the test result verification unit 254 compares the output information output from the equipment device 100 by executing the competition test based on the competition test information with the output determination information included in the competition test information. Thus, it is determined whether or not the program that is the subject of the competition test is normal.
 次に、本実施形態に係るソフトウェア試験装置200の動作について説明する。 Next, the operation of the software test apparatus 200 according to this embodiment will be described.
 まず、ソフトウェア試験装置200の制御部250が実行する単一試験情報生成処理について説明する。単一試験情報生成処理は、例えば制御部250のCPUがROMに記憶されたプログラムを読み込むことにより実行される。 First, a single test information generation process executed by the control unit 250 of the software test apparatus 200 will be described. The single test information generation process is executed, for example, when the CPU of the control unit 250 reads a program stored in the ROM.
 図6は、ソフトウェア試験装置200の制御部250が実行する単一試験情報生成処理のフローチャートの一例である。単一試験情報生成処理は、例えば、ユーザにより、入力部220を介して処理の実行開始を示す操作入力が入力されたことを契機として開始する。 FIG. 6 is an example of a flowchart of single test information generation processing executed by the control unit 250 of the software test apparatus 200. The single test information generation process is started, for example, when a user inputs an operation input indicating start of the process via the input unit 220.
 単一試験情報取得部251は、通信部210を介して、設備機器100から通信データ132及び内部データ133を取得する(ステップS11)。そして、単一試験情報取得部251は、取得したデータを、履歴DB241に格納する。 The single test information acquisition unit 251 acquires the communication data 132 and the internal data 133 from the equipment 100 via the communication unit 210 (step S11). Then, the single test information acquisition unit 251 stores the acquired data in the history DB 241.
 単一試験情報取得部251は、履歴DB241に格納された通信データ132及び内部データ133に基づいて、単一試験情報を生成する(ステップS12)。そして、単一試験情報取得部251は、生成した単一試験情報を、単一試験情報DB242に格納する。そして、単一試験情報生成処理を終了する。 The single test information acquisition unit 251 generates single test information based on the communication data 132 and the internal data 133 stored in the history DB 241 (step S12). Then, the single test information acquisition unit 251 stores the generated single test information in the single test information DB 242. Then, the single test information generation process ends.
 次に、ソフトウェア試験装置200の制御部250が実行する競合試験情報生成処理について説明する。競合試験情報生成処理は、例えば制御部250のCPUがROMに記憶されたプログラムを読み込むことにより実行される。 Next, competition test information generation processing executed by the control unit 250 of the software test apparatus 200 will be described. The competitive test information generation process is executed, for example, when the CPU of the control unit 250 reads a program stored in the ROM.
 図7は、ソフトウェア試験装置200の制御部250が実行する競合試験情報生成処理のフローチャートの一例である。競合試験情報生成処理は、例えば、ユーザにより、入力部220を介して処理の実行開始を示す操作入力が入力されたことを契機として開始する。 FIG. 7 is an example of a flowchart of competition test information generation processing executed by the control unit 250 of the software test apparatus 200. The competitive test information generation process is started, for example, when the user inputs an operation input indicating the start of the process via the input unit 220.
 まず、競合試験情報生成部252は、制御ソフトウェア131を構成するプログラムの組合せに基づいて、競合試験において並行して実行されるプログラムのグループを生成する(ステップS21)。 First, the competition test information generation unit 252 generates a group of programs that are executed in parallel in the competition test, based on the combination of programs constituting the control software 131 (step S21).
 ここで、競合試験情報生成部252による競合させるプログラムのグループの生成方法の一例について、図8を用いて説明する。図8において、制御ソフトウェア131は、プログラムP1~P3を含む複数のプログラムから構成されている。競合試験情報生成部252は、制御ソフトウェア131を構成する複数のプログラムの組合せに基づいて、グループG1~G4といった、競合させるプログラムのグループを生成する。例えば、グループG1には、プログラムP1とプログラムP2とが属している。従って、グループG1に対応する競合試験では、プログラムP1とプログラムP2を競合させる。 Here, an example of a method for generating a group of programs to be competed by the competition test information generation unit 252 will be described with reference to FIG. In FIG. 8, the control software 131 is composed of a plurality of programs including programs P 1 to P 3 . The competition test information generation unit 252 generates a group of programs to be competed, such as groups G1 to G4, based on a combination of a plurality of programs constituting the control software 131. For example, the program P 1 and the program P 2 belong to the group G 1 . Therefore, the program P 1 and the program P 2 are made to compete in the competition test corresponding to the group G 1 .
 次に、競合試験情報生成部252は、ステップS21において生成したグループ毎に、そのグループに属するプログラムに対応する単一試験情報を単一試験情報DB242から取得する(ステップS22)。 Next, the competitive test information generation unit 252 acquires, for each group generated in step S21, single test information corresponding to the program belonging to the group from the single test information DB 242 (step S22).
 次に、競合試験情報生成部252は、グループ毎に、ステップS22において取得した単一試験情報に含まれる事前入力情報を統合して、そのグループに対応する競合試験で用いる事前入力情報を生成する(ステップS23)。そして、競合試験情報生成部252は、生成した事前入力情報を競合試験情報DB243に格納する。 Next, the competitive test information generation unit 252 integrates the pre-input information included in the single test information acquired in step S22 for each group, and generates pre-input information used in the competitive test corresponding to the group. (Step S23). Then, the competition test information generation unit 252 stores the generated prior input information in the competition test information DB 243.
 例えば、プログラムP1に対応する単一試験情報に含まれる事前入力情報がA1、プログラムP2に対応する単一試験情報に含まれる事前入力情報がA2である場合、グループG1に対応する競合試験において用いられる事前入力情報は、A1及びA2である。 For example, when the pre-input information included in the single test information corresponding to the program P 1 is A 1 and the pre-input information included in the single test information corresponding to the program P 2 is A 2 , it corresponds to the group G 1 The pre-input information used in the competitive test is A 1 and A 2 .
 次に、競合試験情報生成部252は、グループ毎に、ステップS22において取得した単一試験情報に含まれる出力判定情報を統合して、そのグループに対応する競合試験で用いる出力判定情報を生成する(ステップS24)。そして、競合試験情報生成部252は、生成した出力判定情報を競合試験情報DB243に格納する。 Next, the competition test information generation unit 252 integrates the output determination information included in the single test information acquired in step S22 for each group, and generates output determination information used in the competition test corresponding to the group. (Step S24). Then, the competition test information generation unit 252 stores the generated output determination information in the competition test information DB 243.
 例えば、プログラムP1に対応する単一試験情報に含まれる出力判定情報がB1、プログラムP2に対応する単一試験情報に含まれる事前入力情報B2である場合、グループG1に対応する競合試験において用いられる出力判定情報は、B1及びB2である。 For example, when the output determination information included in the single test information corresponding to the program P 1 is B 1 and the pre-input information B 2 included in the single test information corresponding to the program P 2, it corresponds to the group G 1 . Output determination information used in the competition test is B 1 and B 2 .
 次に、競合試験情報生成部252は、グループ毎に、ステップS22において取得した単一試験情報に含まれる単一試験シーケンス情報を統合して、そのグループに対応する競合試験で用いる競合試験シーケンス情報を生成する(ステップS25)。そして、競合試験情報生成部252は、生成した競合試験シーケンス情報を競合試験情報DB243に格納する。そして、競合試験情報生成処理を終了する。 Next, the competitive test information generation unit 252 integrates the single test sequence information included in the single test information acquired in step S22 for each group, and the competitive test sequence information used in the competitive test corresponding to the group. Is generated (step S25). Then, the competitive test information generation unit 252 stores the generated competitive test sequence information in the competitive test information DB 243. Then, the competition test information generation process ends.
 ここで、競合試験情報生成部252による競合試験シーケンス情報の生成方法の一例について、図9を用いて説明する。図9に示す例では、グループG1に属するプログラムP1及びプログラムP2の競合試験で用いる競合試験シーケンス情報の生成について説明する。プログラムP1に対応する単一試験情報及びプログラムP2に対応する単一試験情報は、それぞれ図9に示す単一試験シーケンスSa1及び単一試験シーケンスSa2を含む。このとき、競合試験情報生成部252は、単一試験シーケンスSa1に含まれる入力データD11~D13、及び、単一試験シーケンスSa2に含まれる入力データD21~D23について、それらの入力データが設備機器100に入力される順序及びタイミングのうち少なくともいずれか一方がそれぞれ異なる複数の競合試験シーケンス情報を生成する。図9では、競合試験情報生成部252が、単一試験シーケンスSa1及び単一試験シーケンスSa2に基づいて生成した、2つのパターンの競合試験シーケンス情報Sb1,Sb2を例として図示している。 Here, an example of a method for generating competition test sequence information by the competition test information generation unit 252 will be described with reference to FIG. In the example shown in FIG. 9, the generation of competition test sequence information used in the competition test of the programs P 1 and P 2 belonging to the group G 1 will be described. The single test information corresponding to the program P 1 and the single test information corresponding to the program P 2 include a single test sequence S a1 and a single test sequence S a2 shown in FIG. 9, respectively. In this case, conflict test information generating unit 252, the input data D 11 ~ D 13 contained in a single test sequence S a1, and, for the input data D 21 ~ D 23 contained in a single test sequence S a2, their A plurality of competitive test sequence information, each of which is different in at least one of the order and timing of input data input to the equipment device 100, is generated. In FIG. 9, two types of competitive test sequence information S b1 and S b2 generated by the competitive test information generation unit 252 based on the single test sequence S a1 and the single test sequence S a2 are illustrated as an example. Yes.
 次に、ソフトウェア試験装置200の制御部250が実行する競合試験実行処理について説明する。競合試験実行処理は、例えば制御部250のCPUがROMに記憶されたプログラムを読み込むことにより実行される。 Next, a competition test execution process executed by the control unit 250 of the software test apparatus 200 will be described. The competition test execution process is executed, for example, when the CPU of the control unit 250 reads a program stored in the ROM.
 図10は、ソフトウェア試験装置200の制御部250が実行する競合試験実行処理のフローチャートの一例である。競合試験実行処理は、例えば、ユーザにより、入力部220を介して処理の実行開始を示す操作入力が入力されたことを契機として開始する。 FIG. 10 is an example of a flowchart of a competition test execution process executed by the control unit 250 of the software test apparatus 200. The competition test execution process is started, for example, when a user inputs an operation input indicating start of the process via the input unit 220.
 まず、試験実行部253は、競合試験情報DB243から、競合試験を実行する対象となる競合試験情報を取得する(ステップS301)。なお、競合試験を実行する対象となる競合試験情報は、例えば、入力部220を介してユーザにより選択される。 First, the test execution unit 253 acquires competitive test information to be subjected to the competitive test from the competitive test information DB 243 (step S301). Note that the competition test information to be subjected to the competition test is selected by the user via the input unit 220, for example.
 次に、試験実行部253は、ステップS301において取得された競合試験情報に含まれる事前入力情報を設備機器100に出力する(ステップS302)。 Next, the test execution unit 253 outputs the pre-input information included in the competitive test information acquired in step S301 to the equipment device 100 (step S302).
 次に、試験実行部253は、ステップS301において取得された競合試験情報に含まれる競合試験シーケンス情報に基づいて、競合試験を開始する(ステップS303)。 Next, the test execution unit 253 starts a competitive test based on the competitive test sequence information included in the competitive test information acquired in step S301 (step S303).
 次に、試験実行部253は、設備機器100から出力情報を受信したか否かを判定する(ステップS304)。設備機器100から出力情報を受信したと判定した場合(ステップS304;Yes)、試験実行部253は、その受信した出力情報を例えばRAMに記録する(ステップS305)。 Next, the test execution unit 253 determines whether or not output information has been received from the equipment device 100 (step S304). If it is determined that the output information has been received from the facility device 100 (step S304; Yes), the test execution unit 253 records the received output information in, for example, the RAM (step S305).
 設備機器100から出力情報を受信していないと判定した場合(ステップS304;No)、試験実行部253は、ステップS301において取得された競合試験情報に含まれる競合試験シーケンス情報のうち、設備機器100に出力していない入力情報があるか否かを判定する(ステップS306)。 When it is determined that the output information is not received from the facility device 100 (step S304; No), the test execution unit 253 includes the facility device 100 in the competition test sequence information included in the competition test information acquired in step S301. It is determined whether or not there is input information that has not been output (step S306).
 設備機器100に出力していない入力情報があると判定した場合(ステップS306;Yes)、その入力情報に対応する時刻情報に基づいて、その入力情報を設備機器100に出力する時刻になったか否かを判定する(ステップS307)。入力情報を設備機器100に出力する時刻になっていないと判定した場合(ステップS307;No)、処理をステップS304に戻す。 If it is determined that there is input information that has not been output to the facility device 100 (step S306; Yes), whether or not it is time to output the input information to the facility device 100 based on the time information corresponding to the input information Is determined (step S307). If it is determined that it is not time to output the input information to the equipment device 100 (step S307; No), the process returns to step S304.
 入力情報を設備機器100に出力する時刻になったと判定した場合(ステップS307;Yes)、試験実行部253は、その入力情報を設備機器100に出力する(ステップS308)。そして、処理をステップS304に戻す。 When it is determined that it is time to output the input information to the equipment device 100 (step S307; Yes), the test execution unit 253 outputs the input information to the equipment device 100 (step S308). Then, the process returns to step S304.
 設備機器100に出力していない入力情報がないと判定した場合(ステップS306;No)、試験実行部253は、競合試験を終了する。そして、試験結果検証部254は、ステップS301において取得された競合試験情報に含まれる出力判定情報と、ステップS305において記録された出力情報と、に基づいて試験結果を検証する(ステップS309)。 When it is determined that there is no input information that has not been output to the facility device 100 (step S306; No), the test execution unit 253 ends the competition test. Then, the test result verification unit 254 verifies the test result based on the output determination information included in the competitive test information acquired in step S301 and the output information recorded in step S305 (step S309).
 そして、試験結果検証部254は、ステップS309における検証結果を表示部230に表示する(ステップS310)。そして、競合試験実行処理を終了する。 The test result verification unit 254 displays the verification result in step S309 on the display unit 230 (step S310). Then, the competition test execution process ends.
 以上説明したように、本実施形態のソフトウェア試験装置200は、まず、並列して実行される複数のプログラムそれぞれの試験内容を表す単一試験情報を取得する。そして、取得した単一試験情報を統合して、その複数のプログラムの競合試験の内容を表す競合試験情報を生成するため、並行して実行される複数のプログラムの競合試験の効率化を図ることができる。 As described above, the software test apparatus 200 according to the present embodiment first acquires single test information representing the test contents of each of a plurality of programs executed in parallel. In order to integrate the acquired single test information and generate competitive test information representing the content of the competitive test of the multiple programs, the efficiency of the competitive test of multiple programs executed in parallel is improved. Can do.
 以上、本発明の実施形態について説明したが、本発明は本実施形態によって限定されるものではない。 As mentioned above, although embodiment of this invention was described, this invention is not limited by this embodiment.
 例えば、上記の実施形態において、単一試験情報生成部251は、履歴DB241に格納された通信データ及び内部データに基づいて、単一試験情報を生成したが、単一試験情報の生成方法は、これに限られない。例えば、単一試験情報の一部又は全部の情報を、ユーザが、例えば入力部220を介して、入力してもよい。 For example, in the above embodiment, the single test information generation unit 251 generates single test information based on communication data and internal data stored in the history DB 241. However, the single test information generation method is as follows. It is not limited to this. For example, a part or all of the single test information may be input by the user via the input unit 220, for example.
 また、競合試験情報生成部252は、競合試験情報を生成する際、入力情報を設備機器100に入力する順序及びタイミングのうち少なくともいずれか一方を制約する制約条件を満たすように、競合試験情報を生成してもよい。このような制約条件は、例えば、予めユーザにより入力部220を介して入力され、記憶部に240に記憶されていてもよい。 In addition, when generating the competitive test information, the competitive test information generation unit 252 sets the competitive test information so as to satisfy a constraint condition that restricts at least one of the order and timing of inputting the input information to the facility device 100. It may be generated. Such a restriction condition may be input in advance by the user via the input unit 220 and stored in the storage unit 240, for example.
また、上記の実施形態において、設備機器100は、通信データ132と内部データ133の両方を記憶するが、いずれか一方でもよい。この場合、ソフトウェア試験装置200は、設備機器100に記憶された、通信データ132と内部データ133のいずれか一方のデータを用いて、競合試験情報を生成し、競合試験を実行できる。 Moreover, in said embodiment, although the installation apparatus 100 memorize | stores both the communication data 132 and the internal data 133, either may be sufficient. In this case, the software test apparatus 200 can generate competition test information using one of the communication data 132 and the internal data 133 stored in the facility device 100, and can execute the competition test.
 また、上記の実施形態において、ソフトウェア試験装置200は、設備機器100を試験対象としているが、設備機器シミュレータを試験対象としてもよい。 In the above-described embodiment, the software testing apparatus 200 uses the facility device 100 as a test target, but may use a facility device simulator as a test target.
 なお、上記実施の形態において、ソフトウェア試験装置200が実行するプログラムは、フレキシブルディスク、CD-ROM(Compact Disk Read-Only Memory)、DVD(Digital Versatile Disk)、MO(Magneto-Optical Disk)等のコンピュータ読み取り可能な記録媒体に格納されて配布されてもよい。そして、そのプログラムがパーソナルコンピュータ等の情報処理装置にインストールされることにより、上述の処理を実行する各装置が構成されてもよい。 In the above embodiment, the program executed by the software test apparatus 200 is a computer such as a flexible disk, a CD-ROM (Compact Disk Read-Only Memory), a DVD (Digital Versatile Disk), or an MO (Magneto-Optical Disk). It may be stored and distributed in a readable recording medium. And each apparatus which performs the above-mentioned process may be comprised by installing the program in information processing apparatus, such as a personal computer.
 また、プログラムは、インターネット等の通信ネットワーク上の所定のサーバ装置が有するディスク装置等に格納されてもよい。そして、プログラムは、例えば、搬送波に重畳されて、ダウンロードされてもように構成されてもよい。 Further, the program may be stored in a disk device or the like included in a predetermined server device on a communication network such as the Internet. And a program may be comprised so that it may be superimposed on a carrier wave and downloaded, for example.
 また、上述の機能を、OS(Operating System)が分担して実現する場合又はOSとアプリケーションとの協働により実現する場合、OSの機能を実現する部分以外のプログラムのみが、記録媒体に格納されて配布されてもよく、また、ダウンロードされてもよい。 Further, when the above functions are realized by sharing an OS (Operating System) or when the OS and the application cooperate, only a program other than the part realizing the OS functions is stored in the recording medium. It may be distributed or downloaded.
 本発明は、本発明の広義の精神と範囲に逸脱することなく、様々な実施の形態及び変形が可能とされるものである。また、上述した実施形態は、本発明を説明するためのものであり、本発明の範囲を限定するものではない。つまり、本発明の範囲は、実施の形態ではなく、特許請求の範囲によって示される。そして、特許請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、本発明の範囲内とみなされる。 The present invention can be variously modified and modified without departing from the broad spirit and scope of the present invention. Further, the above-described embodiment is for explaining the present invention, and does not limit the scope of the present invention. In other words, the scope of the present invention is shown not by the embodiments but by the claims. Various modifications within the scope of the claims and within the scope of the equivalent invention are considered to be within the scope of the present invention.
 本発明は、複数のプログラムのうち少なくともいずれか2つ以上のプログラムを並行して実行する設備機器において、並行して実行される該プログラムの競合試験を実行するソフトウェア試験システムに適する。 The present invention is suitable for a software test system that executes a competitive test of a program that is executed in parallel in an equipment that executes at least any two or more of the plurality of programs in parallel.
1 ソフトウェア試験システム、100 設備機器、110 制御部、120 駆動部、130 記憶部、131 制御ソフトウェア、132 通信データ、133 内部データ、140 通信部、150 バス、200 ソフトウェア試験装置、210 通信部、220 入力部、230 表示部、240 記憶部、241 履歴DB、242 単一試験情報DB、243 競合試験情報DB、250 制御部、251 単一試験情報取得部、252 競合試験情報生成部、253 試験実行部、254 試験結果検証部、260 バス 1 software test system, 100 equipment, 110 control unit, 120 drive unit, 130 storage unit, 131 control software, 132 communication data, 133 internal data, 140 communication unit, 150 bus, 200 software test device, 210 communication unit, 220 Input unit, 230 display unit, 240 storage unit, 241 history DB, 242 single test information DB, 243 competitive test information DB, 250 control unit, 251 single test information acquisition unit, 252 competitive test information generation unit, 253 test execution Part, 254 test result verification part, 260 bus

Claims (9)

  1.  複数のプログラムのうち少なくともいずれか2つ以上のプログラムを並行して実行する設備機器において、並行して実行される該プログラムの競合試験を実行するソフトウェア試験装置であって、
     前記複数のプログラム毎に、該プログラムの試験内容を表す単一試験情報を取得する単一試験情報取得部と、
     前記複数のプログラムの組み合わせに基づいて、前記競合試験において並行して実行されるプログラムのグループを生成し、生成されたグループに属するプログラム毎に、前記単一試験情報取得部により取得された単一試験情報を特定し、特定した単一試験情報を統合することにより、生成されたグループに属するプログラムの競合試験の内容を表す競合試験情報を生成する競合試験情報生成部と、
     前記グループ毎に、前記競合試験情報生成部により生成された競合試験情報に基づいて、該グループに属するプログラムの競合試験を実行する試験実行部と、
     を備えるソフトウェア試験装置。
    A software test apparatus that executes a competition test of the programs that are executed in parallel in a facility device that executes at least any two or more of the plurality of programs in parallel,
    For each of the plurality of programs, a single test information acquisition unit that acquires single test information representing the test content of the program,
    Based on the combination of the plurality of programs, a group of programs to be executed in parallel in the competitive test is generated, and for each program belonging to the generated group, a single acquired by the single test information acquisition unit A competitive test information generation unit that generates competitive test information representing the content of the competitive test of the program belonging to the generated group by identifying the test information and integrating the specified single test information;
    For each group, based on the competition test information generated by the competition test information generation unit, a test execution unit that executes a competition test of programs belonging to the group;
    A software testing apparatus comprising:
  2.  前記単一試験情報取得部は、前記複数のプログラム毎に、該プログラムの試験において前記設備機器に入力する入力情報と、該入力情報を前記設備機器に入力するタイミングを表す時刻情報と、を含む単一試験情報を取得し、
     前記競合試験情報生成部は、前記生成されたグループに属するプログラム毎に特定された単一試験情報に含まれる入力情報及び時刻情報に基づいて、前記生成されたグループに属するプログラムの競合試験において該入力情報を前記設備機器に入力する順序及びタイミングのうち少なくともいずれか一方がそれぞれ異なる複数の競合試験パターンを、前記競合試験情報として生成する、
     請求項1に記載のソフトウェア試験装置。
    The single test information acquisition unit includes, for each of the plurality of programs, input information to be input to the facility device in a test of the program, and time information indicating a timing at which the input information is input to the facility device. Get single test information,
    The competition test information generation unit is configured to perform the competition test of a program belonging to the generated group based on input information and time information included in single test information specified for each program belonging to the generated group. A plurality of competitive test patterns in which at least any one of the order and timing of inputting the input information to the equipment is different is generated as the competitive test information.
    The software testing apparatus according to claim 1.
  3.  前記生成されたグループに属するプログラムの競合試験において該入力情報を前記設備機器に入力する順序及びタイミングのうち少なくともいずれか一方を制約する制約条件を表す制約情報を入力する入力部をさらに備え、
     前記競合試験情報生成部は、前記入力部により入力された制約情報が表す制約条件を満たすように、前記競合試験パターンを生成する、
     請求項2に記載のソフトウェア試験装置。
    An input unit for inputting constraint information representing a constraint condition that restricts at least one of the order and timing of inputting the input information to the facility device in a competition test of the program belonging to the generated group;
    The competitive test information generating unit generates the competitive test pattern so as to satisfy a constraint condition represented by the constraint information input by the input unit;
    The software test apparatus according to claim 2.
  4.  前記単一試験情報取得部は、前記設備機器が他の機器から受信する通信データを、前記入力情報として取得する、
     請求項2又は3に記載のソフトウェア試験装置。
    The single test information acquisition unit acquires communication data received by the facility device from another device as the input information.
    The software testing apparatus according to claim 2 or 3.
  5.  前記単一試験情報取得部は、前記プログラムにおいて変数として定義されている内部データを、前記入力情報として取得する、
     請求項2又は3に記載のソフトウェア試験装置。
    The single test information acquisition unit acquires internal data defined as a variable in the program as the input information.
    The software testing apparatus according to claim 2 or 3.
  6.  前記単一試験情報取得部は、前記複数のプログラム毎に、該プログラムの試験を実行する前に前記設備機器に入力する事前入力情報を含む単一試験情報を取得し、
     前記競合試験情報生成部は、前記生成されたグループに属するプログラム毎に特定された単一試験情報に含まれる事前入力情報を、前記生成されたグループに属するプログラムの競合試験前の実行前に前記設備機器に入力する事前入力情報として含む競合試験情報を生成する、
     請求項1乃至5のいずれか1項に記載のソフトウェア試験装置。
    The single test information acquisition unit acquires, for each of the plurality of programs, single test information including pre-input information to be input to the equipment before executing the test of the program,
    The competitive test information generation unit is configured to read the pre-input information included in the single test information specified for each program belonging to the generated group before executing the program belonging to the generated group before the competitive test. Generate competitive test information that includes pre-input information to be input to the equipment.
    The software testing apparatus according to any one of claims 1 to 5.
  7.  前記単一試験情報取得部は、前記複数のプログラム毎に、該プログラムの試験を実行することにより前記設備機器から出力された出力情報が正常か否かを判定するための出力判定情報を含む単一試験情報を取得し、
     前記競合試験情報生成部は、前記生成されたグループに属するプログラム毎に特定された単一試験情報に含まれる出力判定情報を、前記生成されたグループに属するプログラムの競合試験を実行することにより前記設備機器から出力された出力情報が正常か否かを判定するための出力判定情報として含む競合試験情報を生成する、
     請求項1乃至6のいずれか1項に記載のソフトウェア試験装置。
    The single test information acquisition unit includes, for each of the plurality of programs, output determination information for determining whether or not output information output from the facility device is normal by executing a test of the program. Get one exam information,
    The competition test information generation unit performs output determination information included in single test information specified for each program belonging to the generated group by executing a competition test of the program belonging to the generated group. Generating competition test information included as output determination information for determining whether the output information output from the equipment is normal;
    The software testing apparatus according to any one of claims 1 to 6.
  8.  複数のプログラムのうち少なくともいずれか2つ以上のプログラムを並行して実行する設備機器において、並行して実行される該プログラムの競合試験を実行するソフトウェア試験方法であって、
     前記複数のプログラム毎に、該プログラムの試験内容を表す単一試験情報を取得する単一試験情報取得ステップと、
     前記複数のプログラムの組み合わせに基づいて、前記競合試験において並行して実行されるプログラムのグループを生成し、生成されたグループに属するプログラム毎に、前記単一試験情報取得ステップにおいて取得された単一試験情報を特定し、特定した単一試験情報を統合することにより、生成されたグループに属するプログラムの競合試験の内容を表す競合試験情報を生成する競合試験情報生成ステップと、
     前記グループ毎に、前記競合試験情報生成ステップにおいて生成された競合試験情報に基づいて、該グループに属するプログラムの競合試験を実行する試験実行ステップと、
     を有するソフトウェア試験方法。
    A software test method for executing a competitive test of a program that is executed in parallel in a facility device that executes at least any two or more of the plurality of programs in parallel,
    For each of the plurality of programs, a single test information acquisition step for acquiring single test information representing the test content of the program;
    Based on the combination of the plurality of programs, a group of programs to be executed in parallel in the competitive test is generated, and each program belonging to the generated group is acquired in the single test information acquisition step. A competitive test information generation step for generating competitive test information representing the content of the competitive test of the program belonging to the generated group by identifying the test information and integrating the identified single test information;
    A test execution step for executing a competition test of a program belonging to the group based on the competition test information generated in the competition test information generation step for each group;
    A software testing method.
  9.  複数のプログラムのうち少なくともいずれか2つ以上のプログラムを並行して実行する設備機器において、並行して実行される該プログラムの競合試験を実行するソフトウェア試験装置に、
     前記複数のプログラム毎に、該プログラムの試験内容を表す単一試験情報を取得する単一試験情報取得ステップと、
     前記複数のプログラムの組み合わせに基づいて、前記競合試験において並行して実行されるプログラムのグループを生成し、生成されたグループに属するプログラム毎に、前記単一試験情報取得ステップにおいて取得された単一試験情報を特定し、特定した単一試験情報を統合することにより、生成されたグループに属するプログラムの競合試験の内容を表す競合試験情報を生成する競合試験情報生成ステップと、
     前記グループ毎に、前記競合試験情報生成ステップにおいて生成された競合試験情報に基づいて、該グループに属するプログラムの競合試験を実行する試験実行ステップと、
     を実行させるプログラム。
    In a facility device that executes at least any two or more of a plurality of programs in parallel, a software test apparatus that executes a competition test of the programs executed in parallel,
    For each of the plurality of programs, a single test information acquisition step for acquiring single test information representing the test content of the program;
    Based on the combination of the plurality of programs, a group of programs to be executed in parallel in the competitive test is generated, and each program belonging to the generated group is acquired in the single test information acquisition step. A competitive test information generation step for generating competitive test information representing the content of the competitive test of the program belonging to the generated group by identifying the test information and integrating the identified single test information;
    A test execution step for executing a competition test of a program belonging to the group based on the competition test information generated in the competition test information generation step for each group;
    A program that executes
PCT/JP2013/063782 2013-05-17 2013-05-17 Software testing device, software testing method, and program WO2014184949A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2015516857A JP5980420B2 (en) 2013-05-17 2013-05-17 Software test apparatus, software test method, and program
PCT/JP2013/063782 WO2014184949A1 (en) 2013-05-17 2013-05-17 Software testing device, software testing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2013/063782 WO2014184949A1 (en) 2013-05-17 2013-05-17 Software testing device, software testing method, and program

Publications (1)

Publication Number Publication Date
WO2014184949A1 true WO2014184949A1 (en) 2014-11-20

Family

ID=51897954

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/063782 WO2014184949A1 (en) 2013-05-17 2013-05-17 Software testing device, software testing method, and program

Country Status (2)

Country Link
JP (1) JP5980420B2 (en)
WO (1) WO2014184949A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016224753A (en) * 2015-06-01 2016-12-28 株式会社Ihi Simulation device
CN107797928A (en) * 2017-10-26 2018-03-13 北京广利核系统工程有限公司 I&C system platform logic algorithmic block test device and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003099285A (en) * 2001-09-25 2003-04-04 Toshiba Corp Method and device for preparing test case related to function competition and program therefor
JP2010003224A (en) * 2008-06-23 2010-01-07 Hitachi Ltd Test information management server, test information management method and program
JP2011118637A (en) * 2009-12-03 2011-06-16 Hitachi Ltd System test specification generation device and test device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003099285A (en) * 2001-09-25 2003-04-04 Toshiba Corp Method and device for preparing test case related to function competition and program therefor
JP2010003224A (en) * 2008-06-23 2010-01-07 Hitachi Ltd Test information management server, test information management method and program
JP2011118637A (en) * 2009-12-03 2011-06-16 Hitachi Ltd System test specification generation device and test device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016224753A (en) * 2015-06-01 2016-12-28 株式会社Ihi Simulation device
CN107797928A (en) * 2017-10-26 2018-03-13 北京广利核系统工程有限公司 I&C system platform logic algorithmic block test device and method

Also Published As

Publication number Publication date
JP5980420B2 (en) 2016-08-31
JPWO2014184949A1 (en) 2017-02-23

Similar Documents

Publication Publication Date Title
CN106599343A (en) SOC system verification method and apparatus for improving simulation efficiency
JP5531829B2 (en) Plant control equipment test equipment
CN105264465A (en) Input device and operation request input method
JP5980420B2 (en) Software test apparatus, software test method, and program
JP4906286B2 (en) Software development environment system
CN110609223A (en) Automatic test system and method for embedded system
JP5521889B2 (en) Automatic program generator
JP2013161153A5 (en)
JP6541420B2 (en) Diagnostic device, diagnostic method, and program
JP5350949B2 (en) Nonvolatile memory test method and memory test apparatus
JP6045681B2 (en) Equipment, equipment analysis system, operation control method, and program
JP6207888B2 (en) Information processing device
JP5907915B2 (en) Process input / output device with calibration procedure execution function and calibration procedure display function, and calibration test method using the device
JPWO2016135821A1 (en) Inspection device, inspection method, and program
JP2018204867A (en) Facility equipment trial operation system
JP2010097405A (en) Simulation system and simulation method
JP2007205817A (en) Testing device of radar information processor
CN105022331A (en) programmable logic controller and control method
CN109483552B (en) Method and equipment for debugging software and hardware of substrate carrying robot system
JP2009214953A (en) Program validating system of elevator
JP2006003227A (en) Integrated circuit tester
RU2747513C1 (en) Method and system for automated commissioning of electrical equipment
CN220626917U (en) Signal generator
CN101419054B (en) Image processing device
CN107885185B (en) Method and system for simulating automatic operation of automobile air conditioner controller key knob

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13884709

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2015516857

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13884709

Country of ref document: EP

Kind code of ref document: A1