CN108399126A - Intelligent environment protection automated testing method, device, computer equipment and storage medium - Google Patents

Intelligent environment protection automated testing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN108399126A
CN108399126A CN201810135184.0A CN201810135184A CN108399126A CN 108399126 A CN108399126 A CN 108399126A CN 201810135184 A CN201810135184 A CN 201810135184A CN 108399126 A CN108399126 A CN 108399126A
Authority
CN
China
Prior art keywords
case
test
environment protection
intelligent environment
item
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.)
Pending
Application number
CN201810135184.0A
Other languages
Chinese (zh)
Inventor
阳丞晗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Cct Software Information Co Ltd
Original Assignee
Shenzhen Cct Software Information Co Ltd
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 Shenzhen Cct Software Information Co Ltd filed Critical Shenzhen Cct Software Information Co Ltd
Priority to CN201810135184.0A priority Critical patent/CN108399126A/en
Publication of CN108399126A publication Critical patent/CN108399126A/en
Pending legal-status Critical Current

Links

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/368Test management for test version control, e.g. updating test cases to a new software version
    • 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/3696Methods or tools to render software testable

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)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This application involves a kind of intelligent environment protection automated testing method, device, computer equipment and storage mediums.The method includes:Receive the edition data packet that case management machine is sent;Intelligent environment protection data service system to be tested is determined according to the edition data packet;Obtain the corresponding script test case item of the intelligent environment protection data service system;Use-case, which is executed, according to the script use-case test item even runs test assignment;Test data when monitoring equipment sends execution test assignment is executed to use-case.Intelligent environment protection automated testing method, device, computer equipment and the storage medium, which can carry out testing comprehensively, to be improved testing efficiency, reduces cost of labor guarantee software quality.

Description

Intelligent environment protection automated testing method, device, computer equipment and storage medium
Technical field
This application involves intelligent environment protection technical field of measurement and test, more particularly to a kind of intelligent environment protection test method, device, meter Calculate machine equipment and storage medium.
Background technology
Intelligent environment protection refers to that Information of the Environment is combined with Internet technology.Intelligent environment protection by technology of Internet of things by inciting somebody to action Sensor and equipment are embedded into various environmental monitoring object weight, have been combined field of environment protection with Internet of Things by cloud computing Come, the integration of human society and environment operation system may be implemented, realized in a manner of more fine and dynamic environmental management with The intelligence of decision.
Core processing system of the intelligent environment protection data service system as intelligent environment protection, in the case of avoiding existing defects On it line publication before tested, tradition use by hand carry out test make convergence process it is slow, in case of emergency without Method is completed in a short time test, and testing efficiency is low.Also, using manual test other than human cost can greatly improve, Since manual test cannot be tested comprehensively, so can not also ensure the quality of software, lead to that there are quality risks.
Invention content
Based on this, it is necessary to which in view of the above technical problems, testing efficiency can be improved, reduce cost of labor guarantor by providing one kind Demonstrate,prove intelligent environment protection test method, device, computer equipment and the storage medium of quality.
A kind of intelligent environment protection automated testing method, the described method comprises the following steps:
Receive the edition data packet that case management machine is sent;
Intelligent environment protection data service system to be tested is determined according to the edition data packet;
Obtain the corresponding script test case item of the intelligent environment protection data service system;
Use-case, which is executed, according to the script use-case test item even runs test assignment;
Test data when monitoring equipment sends execution test assignment is executed to use-case.
It is described in one of the embodiments, to obtain the corresponding script test case of the intelligent environment protection data service system The step of include:
The request instruction for obtaining script test case item is sent to case management machine;
Receive the script test case item that the case management machine is obtained according to request instruction from use case storage server.
It is described in one of the embodiments, that the step that use-case even runs test assignment is executed according to the script use-case test item Suddenly include:
Drive main control unit from the tested required data of intelligent environment protection data service system of underlying device acquisition Source;
If the data source of the main control unit acquisition is sky, the use-case even runs test assignment error.
The main control unit is acquired by wireless terminal unit from underlying device tested in one of the embodiments, The required data source of intelligent environment protection data service system.
The test data is error message when executing test assignment in one of the embodiments, is used to indicate use Example executes and generates test errors according to error message stopping use-case even race test assignment when monitoring equipment receives error message It reports and alarms.
A kind of intelligent environment protection automatic test device, described device include:
Receiving module, the edition data packet for receiving the transmission of case management machine;
Test system module is determined, for determining intelligent environment protection data service system to be tested according to the edition data packet System;
Acquisition module, for obtaining the corresponding script test case item of the intelligent environment protection data service system;
Execution module even runs test assignment for executing use-case according to the script use-case test item;
Reporting modules are sent, test data when monitoring equipment sends execution test assignment is executed to use-case.
The acquisition module includes in one of the embodiments,:
Request instruction unit is sent, for sending the request instruction for obtaining script test case item to case management machine;
Test case unit is received, for receiving the case management machine according to request instruction from use case storage server The script test case item of acquisition.
The execution module includes in one of the embodiments,:
Driving unit, for driving main control unit from the tested intelligent environment protection data service system of underlying device acquisition Required data source;
If the data source of the main control unit acquisition is sky, the use-case even runs test assignment error.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, and feature exists In the processor realizes any one of the above-mentioned intelligent environment protection automated testing method side when executing the computer program The step of method.
A kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of above-mentioned intelligent environment protection automated testing method is realized when being executed by processor.
Above-mentioned intelligent environment protection automated testing method, device, computer equipment and storage medium execute machine root by use-case Tested intelligent environment protection data service system is determined according to the edition data packet received, and gets corresponding script test Test assignment is even run with use-case is executed after item, executing monitoring equipment to use-case when test assignment malfunctions sends error reporting.It should Intelligent environment protection automated testing method executes machine by use-case and can be carried out automatically to intelligent environment protection data service system to be measured Quickly comprehensive test, improves testing efficiency, bans the method for using manual test in tradition, not only reduces without human intervention Cost of labor, it is ensured that software quality.
Description of the drawings
Fig. 1 is the system architecture schematic diagram of intelligent environment protection automated testing method in one embodiment;
Fig. 2 is the flow diagram of intelligent environment protection automated testing method in one embodiment;
Fig. 3 is the stream that the corresponding script test case item step of intelligent environment protection data service system is obtained in one embodiment Journey schematic diagram;
Fig. 4 is to execute the flow diagram that use-case even runs test assignment according to script use-case test item in one embodiment;
Fig. 5 is the sequential flow chart of intelligent environment protection automated testing method in one embodiment;
Fig. 6 is the structure diagram of intelligent environment protection automatic test device in one embodiment;
Fig. 7 is the internal structure chart of one embodiment Computer equipment.
Specific implementation mode
It is with reference to the accompanying drawings and embodiments, right in order to make the object, technical solution and advantage of the application be more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Intelligent environment protection automated testing method provided by the present application can be applied to application intelligent environment protection as shown in Figure 1 In automatization test system figure, which includes:Use case storage server 102, case management machine 104, use-case execute machine 106, Use-case execute monitoring equipment 108, main control unit 110, wireless terminal device 112, the first router 114, the second router 116 with And third router 114.Wherein, use case storage server 102 is led to by the first router 114 and case management machine 104 Letter connection.Case management machine 104 executes machine 106 with use-case by the second router 116 and is communicated, and it is logical that use-case executes machine 106 It crosses third router 118 and use-case executes monitoring equipment 108 and communicated.Use-case executes machine 106 and is led to main control unit 110 Letter connection, main control unit 110 are communicated to connect with wireless terminal device 112.
Use case storage server 102 obtains script test use for storing script test case item and responding case management machine The request instruction of item.Case management machine 104, which is used to execute machine to the use-case, sends edition data packet, and response use-case executes machine The request instruction of the 106 acquisition script test case items sent 102 acquisition script test case item from use case storage server. Use-case executes machine 106 and sends the request instruction for obtaining script test case item and carried out according to the script test case item received Test assignment is even run, use-case execution monitoring equipment 108 is used to monitor in real time use-case and executes the shape that machine 106 executes even race test assignment State.
In one embodiment, it as shown in Fig. 2, providing a kind of intelligent environment protection automated testing method, answers in this way It illustrates, includes the following steps for executing machine 106 for the use-case in Fig. 1:
S202 receives the edition data packet that case management machine is sent.
Wherein, include the edition data in relation to intelligent environment protection data service system to be tested in edition data packet.Use-case Supervisor be used for use-case execute machine send edition data packet and issue intelligent environment protection use-case even run test assignment, can also with Installation automatized script test case software for editing is used for edit script on example supervisor.
Specifically, after establishment automation use-case even runs test assignment on case management machine, machine transmission quilt is executed to use-case The edition data packet of the intelligent environment protection data service system of test, use-case execute machine and carry out initialization according to the use-case pipe received The edition data packet that reason machine is sent can determine the intelligent environment protection operation system that needs are tested.
S204 determines intelligent environment protection data service system to be tested according to the edition data packet.
Specifically, include the related data in relation to intelligent environment protection data service system to be tested inside edition data packet. Use-case executes after machine receives edition data packet and may know that needs execute automation and use by the data inside edition data packet Example even runs the intelligent environment protection data service system of test.
S206 obtains the corresponding script test case item of intelligent environment protection data service system.
Wherein, script test case item is test script, is the series of instructions of a fc-specific test FC, these instructions can To be automated, testing tool executes, and test script can carry out edit-modify in case management machine.Therefore, in order to execute phase The test assignment of corresponding intelligent environment protection data service system, use-case execute machine and need to obtain the intelligent environment protection data service system Corresponding script test case item.
Specifically, as shown in figure 3, it includes following to obtain the corresponding script test case item of intelligent environment protection data service system Step:
S302 sends the request instruction for obtaining script test case item to case management machine.
Specifically, for script test case item library storage in use case storage server, use-case executes machine to case management machine After sending the request instruction for obtaining script test case item, case management machine is i.e. from the script being stored in use case storage server The script test case item of needs is obtained in test case Xiang Ku.
S304 receives the script test case that case management machine is obtained according to request instruction from use case storage server .
Wherein, use case storage server is used to store the script for the intelligent environment protection data service system product for having confirmed that publication Test case item provides the test case for transferring, upload, delete, changing and inquiring its storage for automatic test task at any time .
Specifically, when case management machine receives the request instruction that use-case executes the acquisition script test case item that machine is sent Afterwards, i.e., the script test case item for obtaining needs is transferred from use case storage server, is then forwarded to use-case and is executed machine, use-case is held I.e. executable use-case even runs test assignment after row machine receives the script test case item.
S208 executes use-case according to script test case item and even runs test assignment.
Wherein, it is specially each instruction in implementation of test cases item to execute use-case and even run test, when use-case executes machine It can start to execute use-case even race test assignment after receiving script test case item.
S210 executes test data when monitoring equipment sends execution test assignment to use-case.
Wherein, use-case executes monitoring equipment and executes machine communication connection by router and use-case, is held for monitoring use-case in real time Row machine executes the process status that test assignment is and as a result, and can receive use-case execution machine in mistake during even running Report.Use-case, which executes monitoring equipment, can stop the test times of execution machine by the wrong data of the use-case execution machine of acquisition reported Business, the race task error of the company of execution is informed in alarm, and error reporting is reported to case management machine, after waiting for use-case to execute machine recovery Case management machine can the company's of re-issuing race test assignment.
Specifically, use-case execute machine execute even run test assignment during, by router send test data to Example monitoring equipment, when use-case monitoring equipment monitors use-case according to the test data received executes machine even race test assignment error, Alarm can be carried out to inform and stop use-case execution machine.
The intelligent environment protection automated testing method by created on case management machine 104 voluntarily connect run test assignment and under It sends out edition data packet corresponding and executes machine 106 to use-case.Use-case can receive case management machine after the completion of executing the initialization of machine 106 The 104 edition data packets issued, use-case executes machine 106 needs intelligent environment protection to be tested according to the edition data packet determination received Data service system, the intelligent environment protection data service system tested as needed send to case management machine 104 and obtain the intelligence again The request instruction of the energy corresponding script test case item of environment protection digital operation system.Case management machine 104 refers to according to the request Order is sent to use-case after the script test case item for obtaining needs in use case storage server 102 and executes machine 106.Use-case executes Machine 106 starts the company of execution according to the script test case item received and runs test assignment, and use-case executes the then real-time prison of monitoring equipment 108 It controls use-case and executes the process status that machine 106 executes test assignment.It can stop executing when task malfunctions and carry out alarm reparation.
In above-mentioned intelligent environment protection automated testing method, machine is executed by use-case and is determined according to the edition data packet received Tested intelligent environment protection data service system, and execute use-case even race test after getting corresponding script test case item Task executes monitoring equipment transmission error reporting when test assignment malfunctions to use-case.The intelligent environment protection automated testing method is logical Quickly comprehensive test, raising test effect can be carried out to intelligent environment protection data service system to be measured automatically by crossing use-case execution machine Rate bans the method for using manual test in tradition, not only reduces cost of labor without human intervention, it is ensured that software matter Amount.
In one embodiment, as shown in figure 4, according to script test case item execute use-case even run test assignment include with Lower step:
S402, driving main control unit are required from the tested intelligent environment protection data service system of underlying device acquisition Data source.
Wherein, main control unit is used to be responsible for the long-range forwarding of intelligent environment protection data, is responsible for receiving wireless terminal list downwards The data of member acquisition are wirelessly connected upwardly through wired connection or CDMA/GPRS and upload in data to system server.Bottom is set The standby equipment for operation intelligent environment protection data service system, all numbers of data source including intelligent environment protection data service system According to.Specifically, when use-case execution machine, which executes use-case, even runs test assignment, drive main control unit from the operation intelligent environment protection number The data needed according to gathered data operation system in the equipment of operation system.
S404, if the data source of main control unit acquisition is sky, the use-case even runs test assignment error.
Specifically, when main control unit does not collect data from underlying device if indicate use-case execute machine according to script The test that test case item executes connects the error of race task.
In one embodiment, test data is error message when executing test assignment, is used to indicate use-case and executes prison It reports and is reported according to error message stopping use-case even race test assignment generation test errors when control machine receives error message It is alert.
Specifically, use-case executes monitoring equipment and monitors the process shape that use-case execution machine executes even race test assignment in real time always State, use-case execute machine and the data for executing test assignment are sent to use-case execution monitoring equipment by router, and the test of transmission is appointed Business data are error message when executing test assignment.Use-case executes monitoring equipment and passes through the error message generation error that receives Report and stop the test assignment of execution machine execution.Also, use-case execution monitoring equipment is carried out at the same time alarm and informs that staff goes out Which mistake wrong execution machine occurs, and the error reporting is reported to case management machine, use-case pipe after waiting pending machine maintenance multiple Reason machine issues test assignment to use-case execution machine again and restarts the company's of execution race test assignment.Appoint if use-case executes machine and executes Business is smooth, and use-case executes monitoring equipment, and alarm does not indicate that test assignment successfully passes then.
In one embodiment, if test assignment malfunctions, while the journal file on use-case execution machine can be passed through There is the reason etc. of mistake in positioning analysis in (LOG daily records).Journal file is the record file for recording system operating time Or file set, there is processing historical data.Therefore the effects that tracking of diagnosis problem, executes the working day of machine by use-case Will is also that can analyze mistake simultaneously.
In above-mentioned intelligent environment protection automated testing method, when test assignment malfunctions, use-case executes machine and executes monitoring to use-case Machine sends error reporting, and use-case, which executes monitoring equipment, to be stopped test assignment and alarm, and is tested comprehensively during the test and anti-in time Feedback false alarm informs that personnel repair, and reduces software quality risk, ensure that the software matter of intelligent environment protection data service system Amount.
In one embodiment, as shown in figure 5, a kind of intelligent environment protection automated testing method, including:
S502, the establishment of case management machine connect race test assignment automatically, and executing machine to use-case sends edition data packet.
Specifically, after use-case executes machine initialization, automatic test personnel create automatically on case management machine Change and even run test assignment, case management machine issues edition data packet according to the mission bit stream of establishment and executed to corresponding use-case automatically On machine.
S504, use-case execute machine and receive the edition data packet that case management machine is sent.S506, use-case are executed according to version number Intelligent environment protection data service system to be tested is determined according to packet.
Specifically, edition data packet includes the edition data of intelligent environment protection data service system to be tested, and use-case executes Being determined after the edition data packet that machine reception case management machine issues needs intelligent environment protection data service system to be tested.
S508, use-case execute machine and send the corresponding script test of acquisition intelligent environment protection data service system to case management machine With the request instruction of item.
Specifically, it after use-case execution machine determines intelligent environment protection data service system to be tested, needs to get storage The script test case item of the system in use case storage server.Use-case executes machine and obtains the system to the transmission of case management machine The request instruction of corresponding script test case item.Case management machine is obtained according to the request instruction from use case storage server Script test case item.
S510, case management machine are obtained according to the request instruction of the script test case item of reception to use case storage server The script test case item that script needs.
Specifically, after case management machine receives the request instruction of acquisition script test case item of use-case execution, root Script test case item is obtained from use case storage server according to the request instruction.
The script test case item got from use case storage server is sent to use-case and executed by S512, case management machine Machine.
S514, use-case execute machine and receive script test case item, and executing use-case according to script test case item even runs test Task.
Specifically, the request instruction that case management machine is executed according to use-case gets corresponding script from storage server The script test case item is sent to use-case and executes machine by test case Xiang Houzai.Use-case executes machine and receives script test case It can start to execute use-case even race test assignment after.
S516, use-case execute machine and send the test data executed when use-case even runs test assignment to use-case execution monitoring equipment.
S518, test data are the error message that use-case executes that machine executes test assignment, and use-case monitoring equipment is according to receiving Error message stop use-case and execute the use-case that machine executes and even run test assignment and generation error reporting and alarming.Specifically Ground, use-case execution monitoring equipment are used to monitor in real time the process status that use-case execution machine execution test assignment is and as a result, and can It is reported with receiving mistake of use-case execution machine during even running.Use-case executes monitoring equipment and executes what machine reported by obtaining use-case Wrong data can stop the test assignment of execution machine, and alarm informs that automatic test personnel execute and even runs test assignment error, And error reporting is reported to case management machine, waiting for use-case to execute case management machine after machine restores can the company's of re-issuing race survey Trial is engaged in.It should be understood that although each step in the flow chart of Fig. 2-5 is shown successively according to the instruction of arrow, These steps are not that the inevitable sequence indicated according to arrow executes successively.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-5 Part steps may include that either these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can either the sub-step of other steps or at least part in stage be in turn or alternately with other steps It executes.
In one embodiment, as shown in fig. 6, providing a kind of intelligent environment protection automatic test device, including:Receive mould Block 602 determines test system module 604, acquisition module 606, execution module 608 and transmission reporting modules 610, wherein:
Receiving module 602, the edition data packet for receiving the transmission of case management machine;
Test system module 604 is determined, for determining intelligent environment protection data service system to be tested according to edition data packet System;
Acquisition module 606, for obtaining the corresponding script test case item of intelligent environment protection data service system;
Execution module 608 even runs test assignment for executing use-case according to script use-case test item;
Reporting modules 610 are sent, test data when monitoring equipment sends execution test assignment is executed to use-case.
In one embodiment, acquisition module includes:
Request instruction unit is sent, for sending the request instruction for obtaining script test case item to case management machine;
Test case unit is received, is obtained from use case storage server according to request instruction for receiving case management machine Script test case item.
In one embodiment, execution module includes:
Driving unit, for driving main control unit from the tested intelligent environment protection data service system of underlying device acquisition Required data source;
If the data source of main control unit acquisition is sky, the use-case even runs test assignment error.
In one embodiment, driving unit is for driving main control unit to be adopted from underlying device by wireless terminal unit The tested required data source of intelligent environment protection data service system of collection.
In one embodiment, it is error message when executing test assignment to send the test data in reporting modules, when The use-case is executed to be generated according to error message stopping use-case even race test assignment when monitoring equipment receives error message and be surveyed Examination error reporting is simultaneously alarmed.
Specific restriction about intelligent environment protection automatic test device may refer to automate above for intelligent environment protection The restriction of test method, details are not described herein.Modules in above-mentioned intelligent environment protection automatic test device can whole or portion Divide and is realized by software, hardware and combinations thereof.Above-mentioned each module can be in the form of hardware embedded in or independently of computer equipment In processor in, can also in a software form be stored in the memory in computer equipment, in order to processor calling hold The corresponding operation of the above modules of row.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 7.The computer equipment include the processor connected by system bus, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The database of machine equipment is used to store the data of main control unit upload.The network interface of the computer equipment is used for and outside Terminal is communicated by network connection.To realize a kind of intelligent environment protection automatic test side when the computer program is executed by processor Method.
It will be understood by those skilled in the art that structure shown in Fig. 7, is only tied with the relevant part of application scheme The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment May include either combining certain components than more or fewer components as shown in the figure or being arranged with different components.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory And the computer program that can be run on a processor, processor realize following steps when executing computer program:
Receive the edition data packet that case management machine is sent;
Intelligent environment protection data service system to be tested is determined according to the edition data packet;
Obtain the corresponding script test case item of intelligent environment protection data service system;
Use-case, which is executed, according to script test case item even runs test assignment;
Test data when monitoring equipment sends execution test assignment is executed to use-case.
In one embodiment, following steps are also realized when processor executes computer program:
The request instruction for obtaining script test case item is sent to case management machine;
Receive the script test case item that case management machine is obtained according to request instruction from use case storage server.
In one embodiment, following steps are also realized when processor executes computer program:
Drive main control unit from the tested required data of intelligent environment protection data service system of underlying device acquisition Source;
If the data source of main control unit acquisition is sky, the use-case even runs test assignment error.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program realizes following steps when being executed by processor:
Receive the edition data packet that case management machine is sent;
Intelligent environment protection data service system to be tested is determined according to the edition data packet;
Obtain the corresponding script test case item of intelligent environment protection data service system;
Use-case, which is executed, according to script test case item even runs test assignment;
Test data when monitoring equipment sends execution test assignment is executed to use-case.
In one embodiment, following steps are also realized when computer program is executed by processor:
The request instruction for obtaining script test case item is sent to case management machine;
Receive the script test case item that case management machine is obtained according to request instruction from use case storage server.
In one embodiment, following steps are also realized when computer program is executed by processor:
Drive main control unit from the tested required data of intelligent environment protection data service system of underlying device acquisition Source;
If the data source of main control unit acquisition is sky, the use-case even runs test assignment error.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, Any reference to memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above example can be combined arbitrarily, to keep description succinct, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield is all considered to be the range of this specification record.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, under the premise of not departing from the application design, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the protection domain of the application patent should be determined by the appended claims.

Claims (10)

1. a kind of intelligent environment protection automated testing method, which is characterized in that the described method comprises the following steps:
Receive the edition data packet that case management machine is sent;
Intelligent environment protection data service system to be tested is determined according to the edition data packet;
Obtain the corresponding script test case item of the intelligent environment protection data service system;
Use-case, which is executed, according to the script use-case test item even runs test assignment;It executes monitoring equipment to use-case and sends to execute to test and appoint Test data when business.
2. intelligent environment protection automated testing method according to claim 1, which is characterized in that described to obtain the intelligent ring The step of protecting data service system corresponding script test case item include:
The request instruction for obtaining script test case item is sent to case management machine;
Receive the script test case item that the case management machine is obtained according to request instruction from use case storage server.
3. intelligent environment protection automated testing method according to claim 1, which is characterized in that described to be used according to the script Example test item execution use-case connects the step of running test assignment and includes:
Drive main control unit from the tested required data source of intelligent environment protection data service system of underlying device acquisition;
If the data source of the main control unit acquisition is sky, the use-case even runs test assignment error.
4. intelligent environment protection automated testing method according to claim 3, which is characterized in that the main control unit passes through The required data source of intelligent environment protection data service system that wireless terminal unit is tested from underlying device acquisition.
5. intelligent environment protection automated testing method according to claim 1, which is characterized in that the test data is to execute Error message when test assignment is used to indicate use-case and executes when monitoring equipment receives error message and stopped according to the error message Only use-case even runs test assignment generation test errors and reports and alarm.
6. a kind of intelligent environment protection automatic test device, which is characterized in that described device includes:
Receiving module, the edition data packet for receiving the transmission of case management machine;
Test system module is determined, for determining intelligent environment protection data service system to be tested according to the edition data packet;
Acquisition module, for obtaining the corresponding script test case item of the intelligent environment protection data service system;
Execution module even runs test assignment for executing use-case according to the script use-case test item;
Reporting modules are sent, test data when monitoring equipment sends execution test assignment is executed to use-case.
7. intelligent environment protection automatic test device according to claim 6, which is characterized in that the acquisition module includes:
Request instruction unit is sent, for sending the request instruction for obtaining script test case item to case management machine;
Test case unit is received, is obtained from use case storage server according to request instruction for receiving the case management machine Script test case item.
8. intelligent environment protection automatic test device according to claim 6, which is characterized in that the execution module includes:
Driving unit, for driving main control unit to be acquired needed for tested intelligent environment protection data service system from underlying device The data source wanted;
If the data source of the main control unit acquisition is sky, the use-case even runs test assignment error.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In when the processor executes the computer program the step of any one of realization claim 1 to 5 the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claim 1 to 5 is realized when being executed by processor.
CN201810135184.0A 2018-02-09 2018-02-09 Intelligent environment protection automated testing method, device, computer equipment and storage medium Pending CN108399126A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810135184.0A CN108399126A (en) 2018-02-09 2018-02-09 Intelligent environment protection automated testing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810135184.0A CN108399126A (en) 2018-02-09 2018-02-09 Intelligent environment protection automated testing method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108399126A true CN108399126A (en) 2018-08-14

Family

ID=63095991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810135184.0A Pending CN108399126A (en) 2018-02-09 2018-02-09 Intelligent environment protection automated testing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108399126A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159050A (en) * 2019-12-30 2020-05-15 深圳Tcl新技术有限公司 Intelligent lock testing method and device and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634592A (en) * 2013-12-09 2014-03-12 乐视致新电子科技(天津)有限公司 Automatic test method and system for intelligent televisions
US20140245070A1 (en) * 2013-02-27 2014-08-28 International Business Machines Corporation Automated execution of functional test scripts on a remote system within a unit testing framework
CN104239217A (en) * 2014-10-14 2014-12-24 北京全路通信信号研究设计院有限公司 Method and system for testing railway signal software
CN105205003A (en) * 2015-10-28 2015-12-30 努比亚技术有限公司 Automated testing method and device based on clustering system
CN105354140A (en) * 2015-11-02 2016-02-24 上海聚力传媒技术有限公司 Automation testing method and system
CN105446878A (en) * 2015-11-09 2016-03-30 上海爱数信息技术股份有限公司 Continuous program automated testing method
US9411710B2 (en) * 2014-08-01 2016-08-09 Unisys Corporation Automated regression test case selector and black box test coverage tool for product testing

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140245070A1 (en) * 2013-02-27 2014-08-28 International Business Machines Corporation Automated execution of functional test scripts on a remote system within a unit testing framework
CN103634592A (en) * 2013-12-09 2014-03-12 乐视致新电子科技(天津)有限公司 Automatic test method and system for intelligent televisions
US9411710B2 (en) * 2014-08-01 2016-08-09 Unisys Corporation Automated regression test case selector and black box test coverage tool for product testing
CN104239217A (en) * 2014-10-14 2014-12-24 北京全路通信信号研究设计院有限公司 Method and system for testing railway signal software
CN105205003A (en) * 2015-10-28 2015-12-30 努比亚技术有限公司 Automated testing method and device based on clustering system
CN105354140A (en) * 2015-11-02 2016-02-24 上海聚力传媒技术有限公司 Automation testing method and system
CN105446878A (en) * 2015-11-09 2016-03-30 上海爱数信息技术股份有限公司 Continuous program automated testing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159050A (en) * 2019-12-30 2020-05-15 深圳Tcl新技术有限公司 Intelligent lock testing method and device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN113112086B (en) Intelligent production system based on edge calculation and identification analysis
CN106056695B (en) A kind of intelligent mobile inspection terminal based on Internet of Things
US10958531B2 (en) On-demand remote predictive monitoring for industrial equipment analysis and cost forecast
US20160327600A1 (en) Integrated transformer health monitoring architecture
CN103685442A (en) Remote industrial monitoring using a cloud infrastructure
CN110677286B (en) Power failure alarm monitoring method, device and system
CN113315222A (en) Intelligent substation automation equipment operation and maintenance management and control system suitable for electric power system
CN116107282B (en) Industrial robot predictive maintenance system based on enterprise application integration
CN115471625A (en) Cloud robot platform big data intelligent decision method and system
CN115497187A (en) Intelligent inspection method and system for nuclear power plant
CN117289085A (en) Multi-line fault analysis and diagnosis method and system
CN115509191A (en) Equipment remote operation and maintenance system and method
CN108399126A (en) Intelligent environment protection automated testing method, device, computer equipment and storage medium
CN114445756A (en) Automatic inspection method and system for production equipment
CN105117347A (en) Test data simulation method and system and automation test method and system
CN111177488B (en) Metering equipment maintenance processing method and device, computer equipment and storage medium
CN117421152A (en) Container abnormality detection method and device
US20230282098A1 (en) Systems and methods for real-time prioritization and management of heat trace circuit alarms
CN117172749A (en) Rail transit inspection maintenance worker management method, device, equipment and storage medium
CN109558956A (en) The evaluation method that goes offline, device, computer equipment and the storage medium of measuring equipment
CN104284353B (en) A kind of wireless local area network service performance test methods and system
KR101733184B1 (en) Method and system for integrated monitoring
Campos et al. UML model for integration between RCM and CBM in an e-Maintenance architecture
CN109269012A (en) Data transmit analysis of the accuracy method, apparatus, computer equipment and system
CN116088381B (en) Equipment alarm data processing method, controller and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180814

RJ01 Rejection of invention patent application after publication