CN107391366A - The generation method and execution method and apparatus of a kind of test case - Google Patents

The generation method and execution method and apparatus of a kind of test case Download PDF

Info

Publication number
CN107391366A
CN107391366A CN201710553282.1A CN201710553282A CN107391366A CN 107391366 A CN107391366 A CN 107391366A CN 201710553282 A CN201710553282 A CN 201710553282A CN 107391366 A CN107391366 A CN 107391366A
Authority
CN
China
Prior art keywords
cbb
package modules
execution
test case
module
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.)
Granted
Application number
CN201710553282.1A
Other languages
Chinese (zh)
Other versions
CN107391366B (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201710553282.1A priority Critical patent/CN107391366B/en
Publication of CN107391366A publication Critical patent/CN107391366A/en
Application granted granted Critical
Publication of CN107391366B publication Critical patent/CN107391366B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

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

Abstract

The invention discloses a kind of generation method of test case and method and apparatus are performed, are related to field of computer technology, the hybrid programming that the CBB using variety classes programming language is realized in a test case can be realized.This method comprises the following steps:Receive the instruction of user's input, the instruction inputted according to user determines the general basic module CBB package modules that user selectes in general basic module CBB storehouses, and the instruction of user's input is used for instruction user CBB package modules selected in CBB storehouses and the composition strategy for the CBB package modules composition test case selected using user;CBB storehouses include multiple CBB package modules, and CBB package modules include tag head and CBB, and tag head includes the mark of instruction CBB programming language type;The CBB package modules selected according to composition strategy using user generate test case.

Description

The generation method and execution method and apparatus of a kind of test case
Technical field
The present invention relates to field of computer technology, more particularly to a kind of generation method of test case and execution method and dress Put.
Background technology
As the development of computer technology, programming language are more and more diversified.Various programming languages are each advantageous and fit It is different with scene.In a complicated software system, different parts may use different realizing, and technology can reach more Good effect, therefore to that can realize that the technical research of multi-language program is more and more.Support to test for testing field The demand of the multilingual exploitation of use-case is more and more urgent.Existing multilingual test case development technique mainly has two kinds, Yi Zhongshi: The automatization testing technique of more script language callings is supported, the test case pair that the technical support is developed using a variety of scripts Unit under test completes test, is a kind of multilingual calling of script level.It can be used not using the test case of the technological development With programming language, but single test case can only use same programming language, i.e. CBB in a test case (Common Building Block, general basic module) must use identical language, otherwise test case in test process It can not be performed.It is for second:The multilingual development technique of service-oriented support, this is by unified class RPC The different services that (RemoteProcedure Call Protocol remote procedure calls) framework is realized can use different volumes Cheng Yuyan realizes, and different services using different programming languages to realize when, CBB can not be multiplexed in test case, simultaneously The problem of there is also in former technique.
The content of the invention
Embodiments of the invention provide a kind of generation method of test case and perform method and apparatus, can realize one The hybrid programming of the CBB using variety classes programming language is realized in individual test case.
To reach above-mentioned purpose, embodiments of the invention adopt the following technical scheme that:
First aspect, there is provided a kind of generation method of test case, comprise the following steps:The instruction of user's input is received, The instruction inputted according to user determines the CBB package modules that user selectes in general basic module CBB storehouses, wherein, user is defeated The instruction entered is used for the CBB package modules that instruction user is selected in CBB storehouses and the CBB package module groups selected using user Into the composition strategy of test case;CBB storehouses include multiple CBB package modules, and CBB package modules include tag head and general basic Module CBB, tag head include the mark of instruction CBB programming language type;According to composition strategy, the CBB selected using user Package module generates test case, and test case includes at least one CBB package modules, and at least one CBB package modules perform Order forms test case.In this scenario, the instruction inputted according to user determines that the CBB that user selectes is encapsulated in CBB storehouses Module, and the CBB package modules for selecting user according to the composition strategy indicated by the instruction of user's input generate test case, So test case includes at least one CBB package modules, and in test case at least one CBB package modules according to it Comprising CBB execution order arrangement.Because the tag head of the CBB package modules in test case carries CBB package modules Comprising CBB programming language type mark, perform by aforesaid way generate test case when, can directly select The CBB of the executive process difference each CBB package modules of implementation of test cases corresponding to programming language type, it is achieved thereby that one The hybrid programming of the CBB using variety classes programming language is realized in individual test case, and it is not of the same race in test case use During the CBB package module hybrid programmings of class programming language, it can also be performed.
In a kind of possible design, before the instruction for receiving user's input, also comprise the following steps:Obtain CBB's Programming language type;Tag head is added for CBB, generates the CBB package modules, and CBB package modules are added to CBB storehouses. CBB storehouses can be generated using aforesaid way, and realize the renewal to CBB storehouses.
In a kind of possible design, before adding tag head for CBB, in addition to:CBB is parsed, whether determines CBB Include input parameter and/or output parameter;If CBB includes input parameter and/or output parameter, by input parameter and/or defeated Go out parameter read-in tag head.The function of being realized according to CBB, input parameter and output parameter may be not present in CBB, or only deposits In input parameter, either only exist output parameter or input and output parameter simultaneously be present;If according to parsing CBB's As a result determine that it has input parameter and/or output parameter, then input parameter and/or output parameter are write into tag head, so When performing CBB function, can be determined if to include input parameter and/or output parameter according to tag head, so The input parameter and/or output parameter assignment included according to the input parameter and/or output parameter from label header parsing for CBB.
Second aspect, there is provided a kind of generating means of test case, comprising receiving module and package module, receiving module is used In the instruction for receiving user's input;Module is designed, the instruction that the user for being received according to receiving module inputs is in general basic The general basic module CBB package modules that user selectes are determined in module CBB storehouses, wherein, the instruction of user's input is used to indicate The CBB package modules and the composition for the CBB package modules composition test case selected using user that user selectes in CBB storehouses Strategy;CBB storehouses include multiple CBB package modules, and CBB package modules include tag head and general basic module CBB, tag head bag The mark of the programming language type of the CBB containing instruction;According to composition strategy, the CBB package modules selected using user generate test Use-case, test case include at least one CBB package modules, and at least one CBB package modules execution order forms test case.
In a kind of possible design, in addition to:Acquisition module and package module;Acquisition module, for obtaining CBB programming Language form;Package module, for adding tag head for CBB, CBB package modules are generated, and CBB package modules are added to CBB storehouses.
In a kind of possible design, in addition to:Parsing module, for parsing CBB, determine CBB include input parameter and/or Output parameter;Input parameter and/or output parameter are then write into tag head.
The third aspect, there is provided a kind of generating means of test case, including:It is communication interface, processor, memory, total Line;Memory is used to store computer executed instructions, and processor is connected with memory by bus, when Test cases technology device During operation, the computer executed instructions of computing device memory storage, so that the generating means of test case perform above-mentioned the The generation method of the test case of one side.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable storage medium, including instruction, when its on computers During operation so that computer performs the method such as first aspect.
5th aspect, the embodiment of the present application provides a kind of computer program product including instructing, when it is in computer During upper operation so that the computer performs the method such as first aspect.
It is to be appreciated that the generating means or computer-readable storage medium or computer of any test case of above-mentioned offer Program product is used to perform the generation method of test case corresponding to first aspect presented above, and therefore, it can reach To beneficial effect refer to first aspect above test case generation method and following detailed description in it is corresponding Scheme beneficial effect, here is omitted.
6th aspect, there is provided a kind of execution method of test case, including:Test case is loaded, wherein, test case bag Containing at least one general basic module CBB package modules, at least one CBB package modules form test according to execution order and used Example, CBB package modules include tag head and general basic module CBB, the CBB in instruction CBB package modules are included in tag head Programming language type mark;According to execution order, the CBB package modules of pre-execution in test case are obtained, pre-execution CBB package modules include next CBB being performed of execution order instruction;Parse the label of the CBB package modules of pre-execution Head, obtain the CBB of the CBB package modules of pre-execution programming language type;According to the acquisition of programming language type and programming language Executive process corresponding to type, and the CBB of the CBB package modules by executive process execution pre-execution.In this scenario, due to Tag head in CBB package modules carries the mark of CBB programming language type, therefore is encapsulated performing by this class CBB During the test case of module composition, CBB selections that can be using direct basis programming language type as the CBB package modules of pre-execution are held The CBB of the CBB package modules of traveling Cheng Zhihang pre-executions, for example, execution order can be by the ID of each CBB package module (identification, mark) composition, it is to identify the precedence that the CBB of each CBB package module is performed that it, which is acted on,; After test case is loaded, first CBB being performed CBB package modules are determined according to the execution order first, are then solved The programming language type that the CBB package modules tag head obtains first CBB being performed is analysed, and obtains first and is performed Executive process corresponding to CBB programming language type performs first CBB being performed, and then obtains the according to execution order Two CBB being performed CBB package modules, circulation aforesaid operations are until the CBB of all CBB package modules in test case It is performed and finishes.So, even if the CBB that the CBB package modules in test case are included employs different types of programming language Speech type can also ensure that test has been used and be performed, and realize to the hybrid programming of the CBB using variety classes programming language The execution of test case.
A kind of possible design method is the also CBB of the CBB package modules including pre-execution input ginseng in tag head Number;According to programming language type, executive process corresponding with programming language type is obtained, and pre-execution is performed by process Before the CBB of CBB package modules, in addition to:The tag head of the CBB package modules of pre-execution is parsed, obtains the CBB envelopes of pre-execution Die-filling piece of CBB input parameter;Obtain the CBB of the CBB package modules of pre-execution input value;Input value is assigned to pre- hold The CBB of capable CBB package modules input parameter.Wherein, the CBB of the CBB package modules of pre-execution input value can be used Family input can also be pre-execution CBB package modules before the CBB of the CBB package modules output valve that performs, obtain pre- The CBB of the CBB package modules of execution input value can specifically use following two modes, mode one:Receive user's input The CBB of the CBB package modules of pre-execution input value;Mode two:According to execution order and the CBB Encapsulation Moulds of pre-execution The CBB of block input parameter, read the CBB of the CBB package modules performed before the CBB package modules of pre-execution output Value;Sealed the CBB of the CBB package modules performed before the CBB package modules of pre-execution output valve as the CBB of pre-execution Die-filling piece of CBB input value.
The input ginseng that a kind of possible design method is the CBB that input value is assigned to the CBB package modules of pre-execution Number, including:Input value is converted into the Format Type identical form with input parameter;Input value assignment after form is changed Input parameter to the CBB of the CBB package modules of pre-execution.
A kind of possible design method is the tag head also CBB of the CBB package modules including pre-execution output parameter; Then method also includes:Parse pre-execution CBB package modules tag head, obtain the CBB package modules of pre-execution CBB it is defeated Go out parameter;According to programming language type, executive process corresponding with programming language type is obtained, and pre-execution is performed by process CBB package modules CBB after, in addition to:The CBB of the CBB packaging parts of pre-execution output valve is assigned to the CBB of pre-execution The CBB of package module output parameter, and store.
In addition, using unified lattice when input value can store before entering row format conversion with output valve in such scheme Formula, due to needing to realize across the language multiplexing of CBB package modules in test case, it is therefore desirable to by each CBB input value with And output valve does unified form storage, for example, the input value of first CBB package module in test case is typically that user is led to Instruction input is crossed, the input value that the instruction of user's input includes can be arbitrary format, and the input value is needed with predetermined first Form (such as:String format) it is stored in Installed System Memory, when the CBB of first CBB package module is by corresponding execution journey Sequence perform when, it is necessary to by input value be converted to the CBB of first CBB package module input parameter identical form (such as: Numeric type), it is assigned to the CBB of first CBB package module input parameter afterwards, and the CBB of first CBB package module After output valve is assigned to the CBB of first CBB package module output parameter, also need to be converted into predetermined format (such as:Character string Form) stored, called when being performed so as to the CBB of next CBB package modules by corresponding configuration processor.
7th aspect, there is provided a kind of performs device of test case, including:Load-on module, for loading test case, its In, test case includes at least one general basic module CBB package modules, and at least one CBB package modules are secondary according to performing Sequence forms test case, and CBB package modules include tag head and general basic module CBB, instruction CBB encapsulation is included in tag head The mark of the programming language type of CBB in module;Acquisition module, for according to execution order, obtaining load-on module loading The CBB package modules of pre-execution in test case, the CBB package modules of pre-execution include next being held of execution order instruction Capable CBB;Parsing module, the tag head of the CBB package modules of the pre-execution for parsing acquisition module acquisition, obtains pre-execution CBB package modules CBB programming language type;Execution module, for the programming language type parsed according to parsing module Obtain executive process corresponding with programming language type, and the CBB of the CBB package modules by executive process execution pre-execution.
A kind of possible design method is:The also CBB of the CBB package modules including pre-execution input ginseng in tag head Number;Parsing module is additionally operable to parse the tag head of the CBB package modules for the pre-execution that acquisition module obtains, and obtains pre-execution The CBB of CBB package modules input parameter;Assignment module, the CBB of the CBB package modules for obtaining pre-execution input value; Input value is assigned to the CBB of the CBB package modules of pre-execution input parameter.Exemplary, assignment module is specifically used In the CBB of the CBB package modules for the pre-execution for receiving user's input input value.Or assignment module is specifically used for basis and held The CBB of the CBB package modules of row order and pre-execution input parameter, reads and is held before the CBB package modules of pre-execution The CBB of capable CBB package modules output valve;By the CBB package modules performed before the CBB package modules of pre-execution Input value of the CBB output valve as the CBB of the CBB package modules of pre-execution.
A kind of possible design method is:Assignment module is specifically used for being converted to input value into the form class with input parameter Type identical form;Input value after form is changed is assigned to the CBB of the CBB package modules of pre-execution input parameter.
A kind of possible design method is:The tag head also CBB of the CBB package modules including pre-execution output parameter; Parsing module is additionally operable to parse the tag head of the CBB package modules of pre-execution, obtains the CBB's of the CBB package modules of pre-execution Output parameter;The CBB that assignment module is additionally operable to the CBB of the CBB packaging parts of pre-execution output valve being assigned to pre-execution is encapsulated The CBB of module output parameter, and store.
Eighth aspect, there is provided a kind of performs device of test case, including:Communication interface, processor, memory, bus; Memory is used to store computer executed instructions, and processor is connected with memory by bus, when the execution of the test case During plant running, the computer executed instructions of memory storage described in computing device, so that the test case performs dress Put the method in terms of execution such as the 6th.
9th aspect, there is provided a kind of computer-readable storage medium, it is characterised in that including instruction, when it is transported on computers During row so that the computer performs the method as described in terms of the 6th.
Tenth aspect, the embodiment of the present application provides a kind of computer program product including instructing, when it is in computer During upper operation so that the computer performs the method in terms of the such as the 6th.
It is to be appreciated that the performs device or computer-readable storage medium or computer of any test case of above-mentioned offer Program product is used to perform the execution method of test case corresponding to the 6th aspect presented above, and therefore, it can reach To beneficial effect refer to the 6th aspect above test case execution method and following detailed description in it is corresponding Scheme beneficial effect, here is omitted.
Tenth on the one hand, there is provided a kind of method in generation general basic module CBB storehouses, comprises the following steps:Obtain general Basic module CBB programming language type;Tag head is added for CBB, generates general basic module CBB package modules, CBB encapsulation Module includes tag head and CBB, and tag head includes the mark of instruction CBB programming language type;CBB package modules are added to CBB storehouses.In this scenario, because the CBB package modules included in the CBB storehouses that are generated according to the program have tag head and CBB, And tag head includes the mark of instruction CBB programming language type, therefore using such CBB package modules generation test case And when performing, executive process corresponding to programming language type can be directly selected and distinguish each CBB Encapsulation Moulds of implementation of test cases The CBB of block, it is achieved thereby that the hybrid programming of the CBB using variety classes programming language is realized in a test case, and And when test case uses the CBB package module hybrid programmings of variety classes programming language, it can also be performed.
In a kind of possible design, before adding tag head for CBB, in addition to:CBB is parsed, whether determines CBB Include input parameter and/or output parameter;If CBB includes input parameter and/or output parameter, by input parameter and/or defeated Go out parameter read-in tag head.The function of being realized according to CBB, input parameter and output parameter may be not present in CBB, or only deposits In input parameter, either only exist output parameter or input and output parameter simultaneously be present;If according to parsing CBB's As a result determine that it has input parameter and/or output parameter, then input parameter and/or output parameter are write into tag head, so When performing CBB function, can be determined if to include input parameter and/or output parameter according to tag head, so The input parameter and/or output parameter assignment included according to the input parameter and/or output parameter from label header parsing for CBB.
12nd aspect, there is provided a kind of device in generation general basic module CBB storehouses, acquisition module are general for obtaining Basic module CBB programming language type;Package module, the CBB for being obtained for acquisition module add tag head, and generation is general Basic module CBB package modules, CBB package modules include tag head and CBB, and tag head includes instruction CBB programming language class The mark of type;CBB package modules are added to CBB storehouses.
In a kind of possible design, in addition to:Parsing module, for parsing the CBB of acquisition module acquisition, determine that CBB is It is no to include input parameter and/or output parameter;If CBB includes input parameter and/or output parameter, by input parameter and/or Output parameter writes tag head.
13rd aspect, there is provided a kind of device in generation general basic module CBB storehouses, including:Communication interface, processor, Memory, bus;Memory is used to store computer executed instructions, and processor is connected with memory by bus, when generation is logical During with the plant running in basic module CBB storehouses, the computer executed instructions of computing device memory storage, so that generation is general The method that the device in basic module CBB storehouses performs above-mentioned tenth one side.
Fourteenth aspect, the embodiment of the present application provides a kind of computer-readable storage medium, including instruction, when it is in computer During upper operation so that computer performs the method such as the tenth one side.
15th aspect, the embodiment of the present application provides a kind of computer program product including instructing, when it is being calculated When being run on machine so that the computer performs the method such as the tenth one side.
It is to be appreciated that device or the computer storage in any generation general basic module CBB storehouses of above-mentioned offer are situated between Matter or computer program product are used to perform generation general basic module CBB storehouses corresponding to first aspect presented above Method, therefore, the method that its beneficial effect that can reach refers to the generation general basic module CBB storehouses of first aspect above And in following detailed description corresponding scheme beneficial effect, here is omitted.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, embodiment will be described below In the required accompanying drawing used be briefly described.
Fig. 1 embodiments herein provides a kind of by the generating means of test case and the performs device of test case The schematic diagram of the system architecture of composition;
A kind of structural representation of the generating means for test case that Fig. 2 embodiments herein provides;
A kind of structural representation of the performs device for test case that Fig. 3 embodiments herein provides;
A kind of schematic flow sheet of the generation method for test case that Fig. 4 embodiments herein provides;
A kind of generating principle schematic diagram for test case that Fig. 5 embodiments herein provides;
A kind of structural representation for CBB templates that Fig. 6 embodiments herein provides;
A kind of combination schematic diagram one for CBB that Fig. 7 embodiments herein provides;
A kind of combination schematic diagram two for CBB that Fig. 8 embodiments herein provides;
A kind of combination schematic diagram three for CBB that Fig. 9 embodiments herein provides;
A kind of combination schematic diagram four for CBB that Figure 10 embodiments herein provides;
A kind of structural representation for test case that Figure 11 embodiments herein provides;
A kind of schematic flow sheet of the execution method for test case that Figure 12 embodiments herein provides;
A kind of schematic flow sheet of the method in generation general basic module CBB storehouses that Figure 13 embodiments herein provides;
A kind of implementation principle schematic diagram for test case that Figure 14 embodiments herein provides;
A kind of structural representation of the generating means for test case that another embodiment of Figure 15 the application provides;
A kind of structural representation of the generating means for test case that the another embodiment of Figure 16 the application provides;
A kind of structural representation of the performs device for test case that another embodiment of Figure 17 the application provides;
A kind of structural representation of the performs device for test case that the another embodiment of Figure 18 the application provides;
A kind of structural representation of the device in generation general basic module CBB storehouses that Figure 19 embodiments herein provides;
A kind of structural representation of the device in generation general basic module CBB storehouses that another embodiment of Figure 20 the application provides Figure;
A kind of structural representation of the device in generation general basic module CBB storehouses that the another embodiment of Figure 21 the application provides Figure.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes.
The principle of the application is:CBB Encapsulation Moulds are formed to the tag head of mark of the CBB additions comprising programming language type Block;Then the CBB of different programming language types CBB package modules are used in mixed way in same test case, have been developed The test case of whole function.This test case in the process of implementation can encapsulate each CBB that different programming languages are write The CBB of module is sent into different executive process and performed, and is compiled it is achieved thereby that being realized in a test case using variety classes Cheng Yuyan CBB hybrid programming.
This programme needs to operate in following application scenarios, by being in communication with each other the tested of connection (such as being connected using network interface card) Equipment and computer (such as personal PC), need on computer that the front end IDE that the application carries out test case exploitation is installed (Integrated Development Environment, IDE), a kind of example is:Computer operating system can Think Windows7, more than internal memory 512M, more than hard disk 40G (including system disk).Equipment under test provides the application and tested The backstage enforcement engine that use-case performs.Wherein, CBB refers to the parts that can be shared between different product, system, module, skill Art and other related result of design, refer to the journey that can realize specific function that can be write by programming language in this application Sequence code, this program code can share between different product, system.Test case (Test Case) refers to as some spy Different target and one group of test input, execution condition and the expected results worked out, it is to test some Program path or to examine It is no to meet some particular demands.
As shown in figure 1, embodiments herein is used for below by the generating means of test case and holding for test case Luggage puts the system architecture of composition, wherein the generating means operation front end IDE of test case, possess for CBB add tag head with And the functions such as Test Sample Design are completed, the generating means of test case can be computer in itself or be integrated in computer Functional entity.The performs device operation backstage enforcement engine of test case, the parameter pair that actually enters according to user's output add The test case of load is performed and exports operation result, the performs device of test case can be equipment under test in itself or by Functional entity in measurement equipment.
Wherein, the generating means of test case include:Shown in reference picture 2, including communication interface 101, processor 102, Memory 103 and bus 104, communication interface 101, processor 102 are connected by bus 104 with memory 103.
Processor 102 can be a general central processor (Central Processing Unit, CPU), microprocessor Device, ASIC (Application-Specific Integrated Circuit, ASIC), or one or more The individual integrated circuit for being used to control application scheme program to perform.
Memory 103 can be read-only storage (Read-Only Memory, ROM) or can store static information and instruction Other kinds of static storage device, random access memory (Random Access Memory, RAM) or letter can be stored Breath and other kinds of dynamic memory or the EEPROM (Electrically of instruction Erasable Programmable Read-only Memory, EEPROM), read-only optical disc (Compact Disc Read- Only Memory, CD-ROM) or other optical disc storages, laser disc storage (including compression laser disc, laser disc, laser disc, digital universal Laser disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store with referring to The desired program code of order or data structure form simultaneously can be by any other medium of computer access, but not limited to this. Memory can be individually present, and be connected by bus with processor.Memory can also integrate with processor.
Wherein, memory 103 is used to store the application code for performing application scheme, and is controlled by processor 102 System performs.Communication interface 101 is used for the content for receiving external equipment input, such as user instruction in the application etc., processing Device 102 is used to perform the application code stored in memory 103, so as to realize that the test described in the embodiment of the present application is used The generation method of example.
Wherein, the performs device of test case includes:Shown in reference picture 3, including communication interface 201, processor 202, Memory 203 and bus 204, communication interface 201, processor 202 are connected by bus 204 with memory 203.
Processor 202 can be a general central processor (Central Processing Unit, CPU), microprocessor Device, ASIC (Application-Specific Integrated Circuit, ASIC), or one or more The individual integrated circuit for being used to control application scheme program to perform.
Memory 203 can be read-only storage (Read-Only Memory, ROM) or can store static information and instruction Other kinds of static storage device, random access memory (Random Access Memory, RAM) or letter can be stored Breath and other kinds of dynamic memory or the EEPROM (Electrically of instruction Erasable Programmable Read-only Memory, EEPROM), read-only optical disc (Compact Disc Read- Only Memory, CD-ROM) or other optical disc storages, laser disc storage (including compression laser disc, laser disc, laser disc, digital universal Laser disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store with referring to The desired program code of order or data structure form simultaneously can be by any other medium of computer access, but not limited to this. Memory can be individually present, and be connected by bus with processor.Memory can also integrate with processor.
Wherein, memory 203 is used to store the application code for performing application scheme, and is controlled by processor 102 System performs.Communication interface 201 is used for the content for receiving external equipment input, such as user instruction in the application etc., processing Device 202 is used to perform the application code stored in memory 203, so as to realize that the test described in the embodiment of the present application is used The execution method of example.
Based on shown in the system and entity apparatus reference picture 4 provided in above-mentioned scene, embodiments herein provides one The generation method of kind test case, comprises the following steps:
S301, the generating means of test case obtain CBB programming language type.
Here, CBB can be program module existing or newly developed in CBB storehouses, and CBB programming language type, which refers to, adopts Which kind of language the function that CBB realized is write with, and programming language type can include here:Python be (a kind of object-oriented Explanation type computer programming language), Ruby (a kind of computer programming language of object-oriented), TCL (Tool Command Language, Tool Command Language), DLL (a kind of file format), Perl (Practical Extraction It is and Reporting Language, actual to extract with reporting language), C language etc..
S302, the generating means of test case add tag head for CBB, generate CBB package modules, and by CBB Encapsulation Moulds Block is added to CBB storehouses.
Wherein, CBB storehouses include multiple CBB package modules, it is to be understood that if CBB storehouses in step S302 can be by The CBB package modules composition of dry CBB generations newly developed, or by existing CBB storehouses (including CBB of the prior art) CBB is all updated to the CBB storehouses of CBB package modules formation by step S302, and can also will be included by step S302 has The CBB of New function CBB package modules are added to CBB storehouses, and then constantly update extension CBB storehouses.
Wherein, CBB package modules include tag head and CBB.Tag head includes:Tag head includes instruction CBB programming The mark of language form.Rower is entered with the annotation of set form in tag head according to different programming language types in step S301 Know, such as://Language:C (mark C language).Function realization of the CBB package modules shown in reference picture 5 also comprising CBB, i.e., Realize CBB program code.Realized in step S302 and automation addition tag head is carried out to existing CBB in CBB storehouses, or it is right Tag head is added automatically in CBB newly developed, to ensure that enforcement engine can be unified to identify and hold the CBB of CBB package modules The corresponding processing of row.
S303, the generating means of test case receive the instruction of user's input.
S304, the generating means of test case determine to use according to the instruction that user inputs in general basic module CBB storehouses The selected CBB package modules in family, wherein, the instruction of user's input is used for the CBB package modules that instruction user is selected in CBB storehouses And the composition strategy for the CBB package modules composition test case selected using user.
According to composition strategy, the CBB package modules selected using user generate test for S305, the generating means of test case Use-case, test case include at least one CBB package modules, and at least one CBB package modules are formed according to execution order and tested Use-case.
On step S303-S305, testing example design interface can be one and show the user of user can be direct Carry out figure drag-and-drop operation and the painting canvas of line operation.Wherein, the generating means of test case can directly receive user's input Instruction, such as the instruction of user's input can be to the figures of CBB package modules on painting canvas according to the instruction of user's input Dilatory realization CBB package modules are selected, further by painting canvas according to the instruction that user inputs to selected CBB envelopes Line operation is carried out between die-filling piece of figure, CBB package modules are assembled into specific test case, completes specific survey The function of examination project.It is appreciated that the operation of progress line is only between the figure of this CBB package modules that will be selected A kind of composition strategy that the CBB package modules selected are formed to test case, being also using other modes realization composition strategy can With.In addition, in test case, the execution order row for the CBB that each CBB package modules include according to each CBB package module Row, as shown in figure 5, in Test Sample Design function, the relation of each CBB package modules is by the CBB's according to CBB package modules Execution order is designed as:CBB package modules 1 comprising the CBB1 write by Python, the CBB for including the CBB2 write by Ruby Package module 2, and be respectively in the two branches after CBB package modules 2:CBB envelopes comprising the CBB3 write by TCL Die-filling piece 3 and the CBB package modules 4 comprising the CBB4 write by DLL.Wherein, execution order can be sealed by each CBB Die-filling piece ID (identification, mark) composition, the effect of execution order is to identify each CBB package module The precedence that CBB is performed.It is understood that step S301 and S302 are not the necessary step in this all embodiment Suddenly, i.e., in one embodiment, if having been obtained for a kind of CBB storehouses, and multiple CBB package modules are included in the CBB storehouses, Then the generation of test case only needs to perform step S303-305.
A kind of generation of example to above-mentioned test case is specifically provided to provide as described in detail below:
The template of a CBB package module is opened in IDE environment, wherein, the template of CBB package modules is by left in Fig. 6 Dialog box (Dialog) two parts on right side form in the CBB mark figures and Fig. 6 of side, and CBB identifies figure in an initial condition Without input parameter and output parameter, the dialog box on right side in Fig. 6 is ejected after double-click CBB mark figures, in function parameter function Description section only has CBB tag head portions, the implementation process content of the function without CBB, can by existing Ruby or The CBB's of the language developments such as Python realizes code copies into CBB package modules, CBB marks predefined with the system Sign head and form a CBB package module.Wherein, the editing process of tag head is that detailed process is:
A. the mark of CBB programming language type is added, according to CBB programming language type, using the note of set form Release and be identified, such as ##Language:Ruby (identifies Ruby language) to CBB.
B. CBB is parsed, determines whether CBB includes input parameter and/or output parameter;If CBB include input parameter and/or Output parameter, input parameter and/or output parameter are write into tag head, the annotation in tag head according to fixed format is marked respectively Input parameter and/or output parameter are known, so that enforcement engine identifies.
Function parameter function description section forms tag head in wherein Fig. 6, and CBB ID is wherein also carried in tag head.Show Example property:Input parameter is included in tag head:##PARA1:Allalarm, output parameter ##output1:alarm.Initial shape State, CBB identify figure without input parameter and output parameter, input parameter and/or output parameter are write into label in step b. Head after, CBB mark figure on generate input parameter mark (can be text box, such as:In Fig. 6 AllAlarm and Oval text box corresponding to AlarmList) and output parameter mark (oval text box corresponding to Alarm), user can Directly to edit input parameter as output parameter assignment on CBB mark figures.In addition, also included in tag head, CBB execution As a result:branch1:Suc (success), branch2:Fail (failure);Same CBB implementing result is on CBB mark figures Mark.Dialog box edit terminates to confirm that editor finishes by OK, or is closed and exited by cancel.
A kind of step S305 specific example is provided, test is formed using selected CBB package modules according to composition strategy The process of use-case:It is specifically as follows and forms arbitrary test case by identifying the operative combination of figure to above-mentioned CBB.Such as: Branch after being finished by the CBB lines identified between figure to realize the CBB of CBB package modules in test case Selection, as shown in Figure 7:It can realize and select different branches to hold according to the CBB of upper CBB package module implementing result OK.The wherein CBB of CBB package modules 1 is used to realize condition selection function, is described as:Print and report DUT (Device Under test, device being tested) feedback object information, if it succeeds, reporting module detects RTWP (Received Total Wideband Power, received total wideband power) information, otherwise, print and report error message.Wherein CBB is encapsulated Module 1 connects CBB package modules 2 and CBB package modules 3, according to the CBB of CBB package modules 1 implementing result, CBB Encapsulation Moulds Block 2 and CBB package modules 3 form choice relation, the CBB of CBB package modules 1 run succeeded (suc) then perform CBB package modules 2 CBB, its function are:As a result report, be described as:It is successfully tested, reports successful test results, and upload test record.CBB The CBB of package module 1 performs the CBB that failure (Fail) then performs CBB package modules 3, and its function is:As a result report, be described as: Test crash, failure testing result is reported, and upload test record.The line identified by CBB between figure can be realized The circular treatment of CBB package modules in test case, as shown in Figure 8:Directly represent to need circulation to hold by line with the arrow The CBB of capable CBB package modules.Wherein, the CBB of CBB package modules 1 function is:Order issues, it is determined that what veneer inserted Behind groove position (slot), Query Board software version information (SoftVer), its input parameter is slot, output parameter is SoftVer, the CBB of CBB package modules 2 is performed if the CBB of CBB package modules 1 runs succeeded, its function is version information ratio Compared with being described as:Single board software edition verifies, and its input parameter includes:(Bill of Material, material are clear by SoftVer, BOM It is single) and SoftPkgVer (software kit version), list of the circulation to next groove position if the CBB of CBB package modules 2 runs succeeded Plate software version information performs above-mentioned circulation.In addition the parameter class variable between CBB can transmit, such as be sealed with preceding CBB Input parameter of die-filling piece of the CBB output parameter as the CBB in rear CBB package modules, as shown in Figure 9:By ellipse in figure Circular icon representation variable (input parameter or output parameter), the Transfer Parameters between different CBB, by multiple CBB Encapsulation Moulds Block connects composition test case, such as the CBB of CBB package modules 1 function is described as to obtain bar code:From actuator Veneer bar code (Barcode) is obtained, the CBB of CBB package modules 2 function is described as to calculate Bom:According to veneer bar code meter Board B om codings are calculated, wherein the CBB of CBB package modules 1 output parameter Barcode is as the defeated of the CBB of CBB package modules 2 Enter parameter.In addition, the sub-process of multiple CBB package modules compositions nested can be packaged into the CBB envelopes of a larger particle simultaneously Die-filling piece.As shown in Figure 10:The execution flow that CBB package modules 1, CBB package modules 2 and CBB package modules 3 form can be with It is packaged into and figure (CBB package modules 4) is identified by a CBB to represent.
A complete test case is provided, shown in reference picture 11, by the CBB package module mouse drags in CBB storehouses To IDE test case editing area (test case editing area:The part of all CBB marks figures is carried in Figure 11), accordingly really Surely selected CBB package modules;According to the edit mode of the template of above-mentioned CBB package modules, and the combination of CBB mark figures Mode assembles CBB package modules generation test case.Specifically, the test case can be saved in one using script file form In individual ini (Initialization File, initialization) text.
In this scenario, the instruction inputted according to user determines the CBB package modules that user selectes in CBB storehouses, and presses The CBB package modules for selecting user according to the composition strategy indicated by the instruction of user's input generate test case, so test Use-case includes at least one CBB package modules, and at least one CBB package modules are included according to it in test case CBB execution order arrangement.Because the tag head of the CBB package modules in test case carries what CBB package modules were included The mark of CBB programming language type, when performing the test case generated by aforesaid way, programming language can be directly selected The CBB of the executive process difference each CBB package modules of implementation of test cases corresponding to type, it is achieved thereby that being used in a test The hybrid programming of the CBB using variety classes programming language is realized in example, and variety classes programming language is used in test case During the CBB package module hybrid programmings of speech, it can also be performed.
It is understood that because CBB storehouses can be individually created or be updated, therefore provided in one embodiment of the application A kind of method in generation general basic module CBB storehouses, comprises the following steps shown in reference picture 12:
S401, the device in generation general basic module CBB storehouses obtain general basic module CBB programming language type.
S402, the device in generation general basic module CBB storehouses add tag head for the CBB, generate general basic module CBB package modules, CBB package modules include tag head and CBB, and tag head includes the mark of instruction CBB programming language type.
Wherein for CBB add tag head before, include parsing CBB, determine CBB whether include input parameter and/or Output parameter;If CBB includes input parameter and/or output parameter, input parameter and/or output parameter are write into tag head.
CBB package modules are added to CBB storehouses by S403, the device in generation general basic module CBB storehouses.
Wherein, concrete scheme and the test of step S401~403 performed by the device in general basic module CBB storehouses are generated Step S301~303 performed by the generating means of use-case are similar, and it, which is illustrated, repeats no more.
Wherein in this scenario, because the CBB package modules included in the CBB storehouses that are generated according to the program have tag head And CBB, and tag head includes the mark of instruction CBB programming language type, therefore surveyed using the generation of such CBB package modules When trying out example and performing, each CBB of executive process difference implementation of test cases corresponding to programming language type can be directly selected The CBB of package module, compiled it is achieved thereby that being realized in a test case using the CBB of variety classes programming language mixing Journey, and when test case uses the CBB package module hybrid programmings of variety classes programming language, can also be performed.
Said process completes the generating process of a test case, the execution for test case, the execution of test case By carrying out parsing identification to the tag head of each CBB package modules after device loading test case, by different programming languages CBB test script is sent into different executive process and performed, and the assignment of input and output parameter is done into pop down Pop and be uniformly processed.Based on shown in the system and entity apparatus reference picture 13 provided in above-mentioned scene, embodiments herein A kind of execution method of test case is provided, comprised the following steps:
S501, test case performs device loading test case.
Wherein, test case includes at least one CBB package modules, and at least one CBB package modules are according to execution order Test case is formed, CBB package modules include the tag head and CBB, included in tag head in instruction CBB package modules The mark of CBB programming language type.
S502, the performs device of test case obtain the CBB Encapsulation Moulds of pre-execution in test case according to execution order Block, the CBB package modules of pre-execution include next CBB being performed of execution order instruction.
Such as:Execution order can be ID (identification, mark) composition by each CBB package module, It is to identify the precedence that the CBB of each CBB package module is performed that it, which is acted on,;CBB Encapsulation Moulds in certain test case When the CBB of block is performed successively according to execution order, the CBB package modules identified first are that ID number is primary in execution order CBB package modules, can also be in the program test case generating means after test case is generated simultaneously according to execution Order generates a flow implementation procedure table, is indicated by the ID of the CBB package modules included in the process table precedence Above-mentioned execution order, and flow implementation procedure corresponding to acquisition simultaneously during the performs device loading test case of test case Table.
S503, the performs device of test case parse the tag head of the CBB package modules of pre-execution, obtain pre-execution The CBB of CBB package modules programming language type.
Certainly the generation method according to above-mentioned test case, if also include the CBB package modules of pre-execution in tag head CBB input parameter;Then before step S504, it is also necessary to parse the tag head of the CBB package modules of pre-execution, acquisition is held in advance The CBB of capable CBB package modules input parameter;Obtain the CBB of the CBB package modules of pre-execution input value;By input value It is assigned to the CBB of the CBB package modules of pre-execution input parameter.
Following two modes, mode one can specifically be used by obtaining the CBB of the CBB package modules of pre-execution input value: Receive the CBB of the CBB package modules of the pre-execution of user's input input value;Mode two:According to execution order and pre-execution CBB package modules CBB input parameter, read the CBB package modules that are performed before the CBB package modules of pre-execution CBB output valve;Using the CBB of the CBB package modules performed before the CBB package modules of pre-execution output valve as holding in advance The CBB of capable CBB package modules input value.In addition, input value is assigned to the defeated of the CBB of the CBB package modules of pre-execution Enter parameter, specifically include:Input value is converted into the Format Type identical form with input parameter;It is defeated after form is changed Enter value be assigned to pre-execution CBB package modules CBB input parameter.For example, the input value of the CBB package modules of pre-execution Can be that the input value that the instruction of user's input includes can be arbitrary format, and this is defeated first by instruction input by user Enter value need in a predetermined format (such as:String format) it is stored in Installed System Memory, as the CBB of first CBB package module , it is necessary to which input value is converted into the input parameter phase with the CBB of first CBB package module when being performed by corresponding configuration processor Form together (such as:Numeric type), the CBB of first CBB package module input parameter is assigned to afterwards.
Certainly, if the tag head also CBB of the CBB package modules including pre-execution output parameter;Then methods described is also wrapped Include:The tag head of the CBB package modules of pre-execution is parsed, obtains the CBB of the CBB package modules of pre-execution output parameter.
S504, test case performs device according to programming language type obtain it is corresponding with programming language type perform into Journey, and the CBB of the CBB package modules by executive process execution pre-execution.
If before step S504, parsing the tag head of the CBB package modules of pre-execution, the CBB encapsulation of pre-execution is obtained The CBB of module output parameter, then also include after step S404:The CBB of the CBB packaging parts of pre-execution output valve is assigned It is worth the output parameter of the CBB to the CBB package modules of pre-execution, and stores.Such as:By the CBB's of the CBB packaging parts of pre-execution Output valve is assigned to the CBB of the CBB package modules of pre-execution output parameter, while output valve is converted into predetermined format (such as: String format) stored.
Input value is stored in system for content with output valve using identical form in such scheme, and band needs to be assigned to During corresponding parameter, entering row format conversion, so popping to be uniformly processed by pop down and realize CBB package modules in test case Across language multiplexing.For example, the input value of first CBB package module in test case, which is typically user, passes through instruction Input, the input value that the instruction of user's input includes can be arbitrary format, and the input value needs (example in a predetermined format first Such as:String format) it is stored in Installed System Memory, when the CBB of first CBB package module is performed by corresponding configuration processor When, it is necessary to by input value be converted to the CBB of first CBB package module input parameter identical form (such as:Numerical value Type), it is assigned to the CBB of first CBB package module input parameter afterwards, and the CBB of first CBB package module output After value is assigned to the CBB of first CBB package module output parameter, also need to be converted into predetermined format (such as:Character string lattice Formula) stored, called when being performed so as to the CBB of next CBB package modules by corresponding configuration processor.
Shown in reference picture 14, above-mentioned test example executing method is illustrated, after test case loading, according to execution Order, the CBB package modules of pre-execution in test case are obtained, afterwards according to the CBB of CBB package modules programming language type Pass through CBB processing of the different executive process to each CBB package modules.For example, after loading test case, according to each The CBB of CBB package modules execution order, the primary CBB package modules of ID number are obtained, parse the programming language in tag head The mark of type, if the primary CBB package modules CBB of ID number is write using Ruby, select executive process corresponding to Ruby Perform the CBB of the primary CBB package modules of ID number.With reference to the generation method of foregoing test case, if test case uses pin This document form stores, in specific implementation procedure, because the CBB of the primary CBB package modules of ID number is to be write using Ruby Scripted code, therefore directly invoke Ruby script resolvers, the CBB of the primary CBB package modules of ID number Ruby compiled The scripted code write is directly injected into Ruby resolvers and performed, and obtains implementing result and stores.Then held according to execution order The CBB of the deputy CBB package modules of row ID number, said process is repeated, until whole test case is finished.
If also including input parameter and/or output parameter in the tag head of certain each CBB package modules, each CBB envelopes Die-filling piece of CBB input parameter, output parameter and operation result is popped by pop down is uniformly stored in Installed System Memory, specific mistake Journey is as follows:The instruction that the CBB of the primary CBB package modules of ID number input value inputs typically by user in test case Input, the input value that the instruction of user's input includes can be arbitrary format, and the input value first needs to be converted to pre- fix Formula is (such as:String format) it is stored in Installed System Memory, held when the CBB of the primary CBB package modules of ID number is performed program During row, it is necessary to the type that input value is converted to the CBB of the primary CBB package modules of ID number input parameter it is identical (such as Numeric type or character string type), the CBB of the primary CBB package modules of ID number input parameter is assigned to afterwards, is being performed Bi Hou, and after the CBB of the primary CBB package modules of ID number output valve is assigned to its output parameter, it is also desirable to be converted to pre- Formula fix (such as:String format) stored, so as to ID number primary CBB package modules output parameter with afterwards When the input parameter of CBB package modules has parametric variable transitive relation, the CBB of the CBB package modules after it is corresponding Configuration processor is called when performing.Wherein, the CBB of the CBB package modules after the primary CBB package modules of ID number input ginseng Number can be entered as the CBB of CBB package module output valve or the occurrence for user's input, actual conditions foundation It whether there is parametric variable transitive relation as shown in Figure 9 between the two.In addition, the CBB of each CBB package modules execution knot Fruit success (suc) or failure (fail) are also converted to above-mentioned predetermined format (such as:String format) it is stored in Installed System Memory.
In this scenario, because the tag head in CBB package modules carries the mark of CBB programming language type, Therefore, can be using direct basis programming language type as pre-execution when performing the test case being made up of this class CBB package modules CBB package modules CBB selection executive process perform pre-execution CBB package modules CBB, for example, execution order can be with It is ID (identification, mark) composition by each CBB package module, it is to identify each CBB encapsulation that it, which is acted on, The precedence that the CBB of module is performed;After test case is loaded, determine that first is performed according to the execution order first CBB CBB package modules, then parse the CBB package modules tag head obtain first CBB being performed programming language Type, and executive process corresponding to obtaining first CBB being performed programming language type performs this first and is performed CBB, second CBB being performed CBB package modules are then obtained according to execution order, circulation aforesaid operations are until test is used The CBB of all CBB package modules in example, which is performed, to be finished.So, though what the CBB package modules in test case were included CBB, which employs different types of programming language type and can also ensure that test has been used, to be performed, and is realized to using variety classes The execution of the test case of the CBB of programming language hybrid programming.
The embodiment of the present application provides a kind of generating means of test case, for performing the generation side of above-mentioned test case Method.The embodiment of the present application can carry out the division of functional module according to above method example to it, for example, each work(can be corresponded to Each functional module can be divided, two or more functions can also be integrated in a processing module.It is above-mentioned integrated Module can both be realized in the form of hardware, can also be realized in the form of software function module.It should be noted that Division in the embodiment of the present application to module is schematical, only a kind of division of logic function, can be had when actually realizing Other dividing mode.
In the case where dividing each functional module using corresponding each function, Figure 15 shows involved in above-described embodiment And test case generating means a kind of possible structural representation, the generating means 600 of test case include:Receive mould Block 601, design module 602.Receiving module 601 is used to support the generating means of test case to perform the process S303 in Fig. 4;If Meter module 602 is used to support the generating means of test case to perform the process S304-S305 in Fig. 4.In addition, also include obtaining mould Block 603 is used to support the generating means of test case to perform the process S301 in Fig. 4, and package module 604 is used to support test to use The generating means of example perform the process S302 in Fig. 4.Exemplary, the device also includes parsing module 605 and is used to support to test The generating means of use-case perform step b.Wherein, all related contents for each step that above method embodiment is related to can help The function description of corresponding function module is guided to, will not be repeated here.
In the case of using integrated unit, Figure 16 shows the generation of test case involved in above-described embodiment A kind of possible structural representation of device.The generating means 600 of test case include:Memory cell 611, processing unit 612 And interface unit 613.The action that processing unit 612 is used for the generating means of test case is controlled management, for example, place Reason unit 612 is used to support the generating means of test case to perform process S301, S302, S304, S305 in Fig. 4.Storage is single Member 611, for the program code and data of the generating means for storing test case.Interface unit 613 is used for being set outside other Standby connection receives the instruction of user's input, such as performs step S303.
Wherein, processing unit 612 can be the processor 102 in Fig. 2.Memory cell 611 can be the memory in Fig. 2 103。
The embodiment of the present application provides a kind of performs device of test case, for performing the execution side of above-mentioned test case Method.The embodiment of the present application can carry out the division of functional module according to above method example to it, for example, each work(can be corresponded to Each functional module can be divided, two or more functions can also be integrated in a processing module.It is above-mentioned integrated Module can both be realized in the form of hardware, can also be realized in the form of software function module.It should be noted that Division in the embodiment of the present application to module is schematical, only a kind of division of logic function, can be had when actually realizing Other dividing mode.
In the case where dividing each functional module using corresponding each function, Figure 17 shows involved in above-described embodiment And test case performs device a kind of possible structural representation, the performs device 700 of test case includes:Load mould Block 701, acquisition module 702, parsing module 703, execution module 704.What load-on module 701 was used to supporting test case performs dress Put the process S501 performed in Figure 13, acquisition module 702 is used to support the performs device of test case to perform the process in Figure 13 S502, parsing module 703 are for supporting that the performs device of test case performs the process S503 in Figure 13, execution module 704 is used The process S504 in Figure 13 is performed in supporting the performs device of test case.Wherein, parsing module 703 is also with parsing tag head Input parameter and/or output parameter, the device also include assignment module 705, for perform for input parameter and/or output ginseng The correlation step of number assignment, with specific reference to above method embodiment.Wherein, each step that above method embodiment is related to owns Related content can quote the function description of corresponding function module, will not be repeated here.
In the case of using integrated unit, Figure 18 shows the execution of test case involved in above-described embodiment A kind of possible structural representation of device.The performs device 700 of test case includes:Memory cell 711, processing unit 712 And interface unit 713.The action that processing unit 712 is used for the performs device of test case is controlled management, for example, place Reason unit 712 is used to support the performs device of test case to perform the process S701-S704 in Figure 13.Memory cell 711, is used for Store the program code and data of the performs device of test case.Interface unit 713 is used to be connected reception with other external equipments The content of input.
Wherein, processing unit 712 can be the processor 202 in Fig. 3.Memory cell 711 can be the memory in Fig. 3 203。
The embodiment of the present application provides a kind of device in generation general basic module CBB storehouses, general for performing above-mentioned generation The method in basic module CBB storehouses.The embodiment of the present application can carry out the division of functional module, example according to above method example to it Such as, each function can be corresponded to and divide each functional module, two or more functions can also be integrated at one Manage in module.Above-mentioned integrated module can both be realized in the form of hardware, can also use the form of software function module Realize.It should be noted that the division in the embodiment of the present application to module is schematical, only a kind of logic function is drawn Point, there can be other dividing mode when actually realizing.
In the case where dividing each functional module using corresponding each function, Figure 19 shows involved in above-described embodiment And generation general basic module CBB storehouses device a kind of possible structural representation, generation general basic module CBB storehouses Device 800 includes:Acquisition module 801, package module 802.Acquisition module 801 is used to support generation general basic module CBB storehouses Device perform process S401 in Figure 12, package module 802 is used to support the device in generation general basic module CBB storehouses to perform Process S402 and S403 in Figure 12.Wherein, the device also includes parsing module 803, for performing parsing CBB input parameter And/or the correlation step of output parameter, with specific reference to above method embodiment.Wherein, each step that above method embodiment is related to Rapid all related contents can quote the function description of corresponding function module, will not be repeated here.
In the case of using integrated unit, Figure 20 shows generation general basic mould involved in above-described embodiment A kind of possible structural representation of the device in block CBB storehouses.The device 800 in generation general basic module CBB storehouses includes:Storage is single Member 811, processing unit 812 and interface unit 813.Processing unit 812 is used for the device to generation general basic module CBB storehouses Action be controlled management, for example, processing unit 812 be used for support the performs device of test case to perform the process in Figure 12 S401-S404.Memory cell 811, the program code and data of the device for storing generation general basic module CBB storehouses.Connect Mouth unit 813 is used to be connected the content for receiving input with other external equipments.
Wherein, it is processor with processing unit 812, memory cell 811 is memory, and interface unit is that communication interface is Example.Wherein, generating the device in general basic module CBB storehouses includes:Shown in reference picture 21, including communication interface 901, processor 902nd, memory 903 and bus 904, communication interface 901, processor 902 are connected by bus 904 with memory 903.
Processor 902 can be a general central processor (Central Processing Unit, CPU), microprocessor Device, ASIC (Application-Specific Integrated Circuit, ASIC), or one or more The individual integrated circuit for being used to control application scheme program to perform.
Memory 903 can be read-only storage (Read-Only Memory, ROM) or can store static information and instruction Other kinds of static storage device, random access memory (Random Access Memory, RAM) or letter can be stored Breath and other kinds of dynamic memory or the EEPROM (Electrically of instruction Erasable Programmable Read-only Memory, EEPROM), read-only optical disc (Compact Disc Read- Only Memory, CD-ROM) or other optical disc storages, laser disc storage (including compression laser disc, laser disc, laser disc, digital universal Laser disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store with referring to The desired program code of order or data structure form simultaneously can be by any other medium of computer access, but not limited to this. Memory can be individually present, and be connected by bus with processor.Memory can also integrate with processor.
Wherein, memory 903 is used to store the application code for performing application scheme, and is controlled by processor 902 System performs.Communication interface 901 is used for the content for receiving external equipment input, and processor 902 is used to perform to store in memory 903 Application code, so as to realize the method in the generation general basic module CBB storehouses described in the embodiment of the present application.
It should be understood that in the various embodiments of the application, the size of the sequence number of above-mentioned each process is not meant to perform suitable The priority of sequence, the execution sequence of each process should be determined with its function and internal logic, without the implementation of reply the embodiment of the present application Process forms any restriction.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed Scope of the present application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, can be with Realize by another way.For example, apparatus embodiments described above are only schematical, for example, the unit Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, equipment or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its any combination real It is existing.When being realized using software program, can realize in the form of a computer program product whole or in part.The computer Program product includes one or more computer instructions.On computers load and perform computer program instructions when, all or Partly produce according to the flow or function described in the embodiment of the present application.The computer can be all-purpose computer, special meter Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer-readable recording medium In, or the transmission from a computer-readable recording medium to another computer-readable recording medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center Word user line (Digital Subscriber Line, DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another Individual web-site, computer, server or data center are transmitted.The computer-readable recording medium can be computer Any usable medium that can be accessed is either comprising numbers such as one or more servers that medium can be used to integrate, data centers According to storage device.The usable medium can be magnetic medium (for example, floppy disk, hard disk, tape), optical medium (for example, DVD), Or semiconductor medium (such as solid state hard disc (Solid State Disk, SSD)) etc..
Described above, the only embodiment of the application, but the protection domain of the application is not limited thereto is any Those familiar with the art can readily occur in change or replacement in the technical scope that the application discloses, and should all contain Cover within the protection domain of the application.Therefore, the protection domain of the application should be based on the protection scope of the described claims.

Claims (28)

  1. A kind of 1. generation method of test case, it is characterised in that including:
    The instruction of user's input is received, the instruction inputted according to the user determines that user selects in general basic module CBB storehouses Fixed general basic module CBB package modules, wherein, the instruction of user's input is used for instruction user in the CBB storehouses Selected CBB package modules and the composition strategy for the CBB package modules composition test case selected using the user;It is described CBB storehouses include multiple CBB package modules, and the CBB package modules include tag head and general basic module CBB, the label Head includes the mark for the programming language type for indicating the CBB;
    According to the composition strategy, the CBB package modules selected using the user generate the test case, and the test is used Example includes at least one CBB package modules, and at least one CBB package modules are used according to the test of execution order composition Example.
  2. 2. the generation method of test case according to claim 1, it is characterised in that the instruction for receiving user's input Before, in addition to:
    Obtain the programming language type of the CBB;
    Tag head is added for the CBB, generates the CBB package modules, and the CBB package modules are added to the CBB Storehouse.
  3. 3. according to the method for claim 2, it is characterised in that before the addition tag head for the CBB, in addition to:
    The CBB is parsed, determines whether the CBB includes input parameter and/or output parameter;
    If the CBB includes input parameter and/or output parameter, by described in the input parameter and/or output parameter write-in Tag head.
  4. 4. a kind of execution method of test case, it is characterised in that including:
    Load test case, wherein, the test case includes at least one general basic module CBB package modules, it is described extremely A few CBB package module forms the test case according to execution order, and the CBB package modules include tag head and general Basic module CBB, the mark for the programming language type for indicating the CBB in the CBB package modules is included in the tag head;
    According to the execution order, the CBB package modules of pre-execution in the test case, the CBB envelopes of the pre-execution are obtained The die-filling piece of next CBB being performed for including execution order instruction;
    The tag head of the CBB package modules of the pre-execution is parsed, obtains the CBB of the CBB package modules of pre-execution volume Journey language form;
    Corresponding with programming language type executive process is obtained according to the programming language type, and by it is described perform into The CBB of the CBB package modules of pre-execution described in Cheng Zhihang.
  5. 5. according to the method for claim 4, it is characterised in that also the CBB including the pre-execution is sealed in the tag head Die-filling piece of CBB input parameter;
    It is described according to the programming language type, obtain executive process corresponding with the programming language type, and pass through institute Before the CBB for stating the CBB package modules that process performs the pre-execution, in addition to:
    Parse the tag head of the CBB package modules of the pre-execution, obtain the CBB package modules of the pre-execution CBB it is defeated Enter parameter;
    Obtain the CBB of the CBB package modules of pre-execution input value;
    The input value is assigned to the CBB of the CBB package modules of pre-execution input parameter.
  6. 6. according to the method for claim 5, it is characterised in that the CBB of the CBB package modules for obtaining the pre-execution Input value, including:
    Receive the CBB of the CBB package modules of the pre-execution of user's input input value.
  7. 7. according to the method for claim 5, it is characterised in that the CBB's of the CBB packaging parts for obtaining the pre-execution Input value, including:
    According to the input parameter of the execution order and the CBB of the CBB package modules of the pre-execution, read and pre- held described The CBB of the CBB package modules performed before capable CBB package modules output valve;
    Pre- held using the CBB of the CBB package modules performed before the CBB package modules of the pre-execution output valve as described The CBB of capable CBB package modules input value.
  8. 8. according to the method described in claim any one of 5-7, it is characterised in that it is described the input value is assigned to it is described pre- The CBB of the CBB package modules of execution input parameter, including:
    The input value is converted into the Format Type identical form with the input parameter;
    Input value after form is changed is assigned to the CBB of the CBB package modules of pre-execution input parameter.
  9. 9. according to the method described in claim any one of 5-7, it is characterised in that the tag head also includes the pre-execution The CBB of CBB package modules output parameter;
    Then methods described also includes:The tag head of the CBB package modules of the pre-execution is parsed, obtains the CBB of the pre-execution The CBB of package module output parameter;
    It is described that executive process corresponding with the programming language type is obtained according to the programming language type, and by described After process performs the CBB of the CBB package modules of the pre-execution, in addition to:
    The CBB of the CBB packaging parts of pre-execution output valve is assigned to the CBB's of the CBB package modules of the pre-execution Output parameter, and store.
  10. A kind of 10. method in generation general basic module CBB storehouses, it is characterised in that including:
    Obtain general basic module CBB programming language type;
    Tag head is added for the CBB, generates general basic module CBB package modules, the CBB package modules include the mark Head and the CBB are signed, the tag head includes the mark for the programming language type for indicating the CBB;
    The CBB package modules are added to the CBB storehouses.
  11. 11. according to the method for claim 10, it is characterised in that before the addition tag head for the CBB, also wrap Include:
    The CBB is parsed, determines whether the CBB includes input parameter and/or output parameter;
    If the CBB includes input parameter and/or output parameter, by described in the input parameter and/or output parameter write-in Tag head.
  12. A kind of 12. generating means of test case, it is characterised in that
    Receiving module, for receiving the instruction of user's input;
    Module is designed, the instruction that the user for being received according to the receiving module inputs is in general basic module CBB storehouses The middle general basic module CBB package modules for determining user and selecting, wherein, the instruction of user's input exists for instruction user The CBB package modules and the group for the CBB package modules composition test case selected using the user selected in the CBB storehouses Into strategy;The CBB storehouses include multiple CBB package modules, and the CBB package modules include tag head and general basic module CBB, the tag head include the mark for the programming language type for indicating the CBB;According to the composition strategy, using the use The selected CBB package modules in family generate the test case, and the test case includes at least one CBB package modules, described At least one CBB package modules form the test case according to execution order.
  13. 13. device according to claim 12, it is characterised in that also include:
    Acquisition module, for obtaining the programming language type of the CBB;
    Package module, for adding tag head for the CBB, generate the CBB package modules, and by the CBB package modules Added to the CBB storehouses.
  14. 14. device according to claim 13, it is characterised in that also include:
    Parsing module, for parsing the CBB, determine whether the CBB includes input parameter and/or output parameter;It is if described CBB includes input parameter and/or output parameter, then the input parameter and/or output parameter is write into the tag head.
  15. A kind of 15. performs device of test case, it is characterised in that including:
    Load-on module, for loading test case, wherein, the test case is sealed comprising at least one general basic module CBB Die-filling piece, at least one CBB package modules form the test case, the CBB package modules bag according to execution order Containing tag head and general basic module CBB, the programming language for indicating the CBB in the CBB package modules is included in the tag head Say the mark of type;
    Acquisition module, for according to the execution order, obtaining pre-execution in the test case of the load-on module loading CBB package modules, the CBB package modules of the pre-execution include next CBB being performed of execution order instruction;
    Parsing module, the tag head of the CBB package modules of the pre-execution obtained for parsing the acquisition module, obtains institute State the CBB of the CBB package modules of pre-execution programming language type;
    Execution module, the programming language type for being parsed according to the parsing module obtain and the programming language type Corresponding executive process, and the CBB of the CBB package modules by the executive process execution pre-execution.
  16. 16. device according to claim 15, it is characterised in that also include the CBB of the pre-execution in the tag head The CBB of package module input parameter;
    The parsing module is additionally operable to parse the tag head of the CBB package modules for the pre-execution that the acquisition module obtains, Obtain the CBB of the CBB package modules of pre-execution input parameter;
    Assignment module, the CBB of the CBB package modules for obtaining pre-execution input value;The input value is assigned to The CBB of the CBB package modules of pre-execution input parameter.
  17. 17. device according to claim 16, it is characterised in that the assignment module is specifically used for receiving user's input The CBB of the CBB package modules of pre-execution input value.
  18. 18. device according to claim 16, it is characterised in that assignment module be specifically used for according to the execution order with And the CBB of the CBB package modules of pre-execution input parameter, read and held before the CBB package modules of the pre-execution The CBB of capable CBB package modules output valve;The CBB package modules that will be performed before the CBB package modules of the pre-execution CBB input value of the output valve as the CBB of the CBB package modules of the pre-execution.
  19. 19. according to the device described in claim any one of 16-18, it is characterised in that the assignment module is specifically used for institute State input value and be converted to Format Type identical form with the input parameter;Input value after form is changed is assigned to institute State the CBB of the CBB package modules of pre-execution input parameter.
  20. 20. according to the device described in claim any one of 16-18, it is characterised in that
    The tag head also CBB of the CBB package modules including pre-execution output parameter;
    The parsing module is additionally operable to parse the tag head of the CBB package modules of the pre-execution, obtains the CBB of the pre-execution The CBB of package module output parameter;
    The assignment module is additionally operable to the CBB of the CBB packaging parts of pre-execution output valve being assigned to the pre-execution The CBB of CBB package modules output parameter, and store.
  21. A kind of 21. device in generation general basic module CBB storehouses, it is characterised in that including:
    Acquisition module, for obtaining general basic module CBB programming language type;
    Package module, the CBB for being obtained for the acquisition module add tag head, generation general basic module CBB envelopes Die-filling piece, the CBB package modules include the tag head and the CBB, and the tag head includes the programming for indicating the CBB The mark of language form;And the CBB package modules are added to the CBB storehouses.
  22. 22. device according to claim 21, it is characterised in that also include:
    Parsing module, the CBB obtained for parsing the acquisition module, determine the CBB whether comprising input parameter and/ Or output parameter;If the CBB includes input parameter and/or output parameter, the input parameter and/or output parameter are write Enter the tag head.
  23. A kind of 23. generating means of test case, it is characterised in that including:Communication interface, processor, memory, bus;Institute State memory to be used to store computer executed instructions, the processor is connected with the memory by the bus, when described During the generating means operation of test case, the computer executed instructions of memory storage described in the computing device, so that institute State method of the generating means execution of test case as described in claim any one of 1-3.
  24. 24. a kind of computer-readable storage medium, it is characterised in that including instructing, when run on a computer so that the meter Calculation machine performs the method as described in claim any one of 1-3.
  25. A kind of 25. performs device of test case, it is characterised in that including:Communication interface, processor, memory, bus;Institute State memory to be used to store computer executed instructions, the processor is connected with the memory by the bus, when described During the performs device operation of test case, the computer executed instructions of memory storage described in the computing device, so that institute State method of the performs device execution of test case as described in claim any one of 4-9.
  26. 26. a kind of computer-readable storage medium, it is characterised in that including instructing, when run on a computer so that the meter Calculation machine performs the method as described in claim any one of 4-9.
  27. A kind of 27. device in generation general basic module CBB storehouses, it is characterised in that including:Communication interface, processor, storage Device, bus;The memory is used to store computer executed instructions, and the processor is connected with the memory by the bus Connect, when the plant running in the generation general basic module CBB storehouses, the calculating of memory storage described in the computing device Machine execute instruction, so that the device in the generation general basic module CBB storehouses performs the method as described in claim 10 or 11.
  28. 28. a kind of computer-readable storage medium, it is characterised in that including instructing, when run on a computer so that the meter Calculation machine performs the method as described in claim 10 or 11.
CN201710553282.1A 2017-07-07 2017-07-07 Test case generation method, test case execution method and test case execution device Active CN107391366B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710553282.1A CN107391366B (en) 2017-07-07 2017-07-07 Test case generation method, test case execution method and test case execution device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710553282.1A CN107391366B (en) 2017-07-07 2017-07-07 Test case generation method, test case execution method and test case execution device

Publications (2)

Publication Number Publication Date
CN107391366A true CN107391366A (en) 2017-11-24
CN107391366B CN107391366B (en) 2021-01-29

Family

ID=60333757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710553282.1A Active CN107391366B (en) 2017-07-07 2017-07-07 Test case generation method, test case execution method and test case execution device

Country Status (1)

Country Link
CN (1) CN107391366B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109902013A (en) * 2019-02-28 2019-06-18 中国科学院国家空间科学中心 A kind of payload test method and system based on configuration cycle tests
CN109933521A (en) * 2019-01-23 2019-06-25 平安科技(深圳)有限公司 Automated testing method, device, computer equipment and storage medium based on BDD
CN110990293A (en) * 2019-12-17 2020-04-10 北京同有飞骥科技股份有限公司 Automatic verification test method and system
CN112256554A (en) * 2019-07-22 2021-01-22 腾讯科技(深圳)有限公司 Method and equipment for testing based on scene test case
CN112433940A (en) * 2020-11-19 2021-03-02 腾讯科技(深圳)有限公司 Software development kit SDK testing method and related equipment
TWI793909B (en) * 2021-04-12 2023-02-21 南亞科技股份有限公司 Semiconductor test system and method
WO2023213295A1 (en) * 2022-05-05 2023-11-09 节卡机器人股份有限公司 Custom component control system and method, and device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050160322A1 (en) * 2004-01-13 2005-07-21 West John R. Method and system for conversion of automation test scripts into abstract test case representation with persistence
CN102609341A (en) * 2011-07-08 2012-07-25 李康 Hardware equipment automation testing system and testing method thereof
CN104331360A (en) * 2013-07-23 2015-02-04 上海斐讯数据通信技术有限公司 Automatic testing platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050160322A1 (en) * 2004-01-13 2005-07-21 West John R. Method and system for conversion of automation test scripts into abstract test case representation with persistence
CN102609341A (en) * 2011-07-08 2012-07-25 李康 Hardware equipment automation testing system and testing method thereof
CN104331360A (en) * 2013-07-23 2015-02-04 上海斐讯数据通信技术有限公司 Automatic testing platform

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
杨威: "FrontPage98在企业Intranet中的应用", 《计算机与通信》 *
王兰: "集群***的自动化测试技术的研究与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109933521A (en) * 2019-01-23 2019-06-25 平安科技(深圳)有限公司 Automated testing method, device, computer equipment and storage medium based on BDD
CN109902013A (en) * 2019-02-28 2019-06-18 中国科学院国家空间科学中心 A kind of payload test method and system based on configuration cycle tests
CN112256554A (en) * 2019-07-22 2021-01-22 腾讯科技(深圳)有限公司 Method and equipment for testing based on scene test case
CN112256554B (en) * 2019-07-22 2023-06-16 腾讯科技(深圳)有限公司 Method and equipment for testing based on scene test cases
CN110990293A (en) * 2019-12-17 2020-04-10 北京同有飞骥科技股份有限公司 Automatic verification test method and system
CN110990293B (en) * 2019-12-17 2023-08-11 北京同有飞骥科技股份有限公司 Automatic verification test method and system
CN112433940A (en) * 2020-11-19 2021-03-02 腾讯科技(深圳)有限公司 Software development kit SDK testing method and related equipment
TWI793909B (en) * 2021-04-12 2023-02-21 南亞科技股份有限公司 Semiconductor test system and method
WO2023213295A1 (en) * 2022-05-05 2023-11-09 节卡机器人股份有限公司 Custom component control system and method, and device and storage medium

Also Published As

Publication number Publication date
CN107391366B (en) 2021-01-29

Similar Documents

Publication Publication Date Title
CN107391366A (en) The generation method and execution method and apparatus of a kind of test case
CN107807878B (en) Keyword-based universal test resource driving and execution management method
CN103198009B (en) A kind of universal testing method, system and related device
US5784275A (en) System and method for performing interface independent virtual instrumentation functions in a graphical data flow program
CN104063312B (en) Method for generating test case and Test cases technology device
CN103178996B (en) Distributed packet-switching chip model verification system and method
US7596546B2 (en) Method and apparatus for organizing, visualizing and using measured or modeled system statistics
CN107704392A (en) The processing method and server of a kind of test case
CN108460199B (en) CNI modeling system
US9170856B2 (en) Message traffic interception system
CN105068927A (en) Keyword drive-based automatic test method of urban rail drive control units
CN109240688A (en) Interface development method, electronic device and readable storage medium storing program for executing
CN109002033B (en) Automatic calibration system and method based on UDS
CN107391219B (en) Function Compilation Method and device
CN110532182B (en) Automatic testing method and device for virtualization platform
US11262733B2 (en) Method, device, and computer program for configuring an intelligent electronic device
CN112100013A (en) Method, device and system for testing security chip SPI (Serial peripheral interface)
CN114707236A (en) Model-based virtual-real combined simulation test method
CN105739481B (en) The test method of industrial control software, apparatus and system
US7712073B1 (en) Software development artifact creation tool
CN104063231A (en) Test resource rapid access method based on HIT-TENA
CN103376777A (en) Testing method for Modbus communication interface of controller and host computer
CN107133040A (en) A kind of standardized product service apparatus and business module extend method of replacing
CN106405277A (en) Test device of main processing unit of nuclear power station protection system and test method
CN109885483A (en) Log method for visualizing and system for operating status in Real-time Feedback game

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
GR01 Patent grant
GR01 Patent grant