CN108255653B - Product testing method and terminal thereof - Google Patents

Product testing method and terminal thereof Download PDF

Info

Publication number
CN108255653B
CN108255653B CN201810001730.1A CN201810001730A CN108255653B CN 108255653 B CN108255653 B CN 108255653B CN 201810001730 A CN201810001730 A CN 201810001730A CN 108255653 B CN108255653 B CN 108255653B
Authority
CN
China
Prior art keywords
test
product
test case
matching
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810001730.1A
Other languages
Chinese (zh)
Other versions
CN108255653A (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.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201810001730.1A priority Critical patent/CN108255653B/en
Publication of CN108255653A publication Critical patent/CN108255653A/en
Application granted granted Critical
Publication of CN108255653B publication Critical patent/CN108255653B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested

Abstract

The invention is suitable for the technical field of product management, and provides a product testing method and a terminal thereof, wherein the product testing method comprises the following steps: receiving a test instruction of a product, and extracting a product identifier of the product from the test instruction; acquiring a test case example matched with the product identification based on a test case template in a test case database; determining a test item according to the product type of the product; respectively calculating matching coefficients of the test case examples and the test items according to the test parameters of the test case examples; if the matching coefficient of the test case instance is larger than a preset matching threshold value, identifying the test case instance as a related case of the test item; and generating a test script based on all the associated use cases of the test item. The invention solves the problem that the existing product testing method can automatically associate the test items with the test case examples, thereby improving the accuracy of product testing and avoiding the condition of missed selection of the test cases.

Description

Product testing method and terminal thereof
Technical Field
The invention belongs to the technical field of product management, and particularly relates to a product testing method and a terminal thereof.
Background
Before each product leaves factory for sale or is released through the Internet, various performances of the product need to be checked through multiple tests so as to judge whether the product meets expected production regulations and ensure that the product does not have abnormal conditions. The speed of product change is increasing, so the efficiency of product testing will directly determine whether the product can be sold and released on time.
However, in the existing product testing technology, a tester needs to manually configure a corresponding test case for each test item of each product, and when there are many test cases, the configuration omission of some test cases often occurs, so that the test of some test items is incomplete, the accuracy of product testing is reduced, and the manual configuration of the test is needed in the product testing process, which also needs to consume a large labor cost.
Disclosure of Invention
In view of this, embodiments of the present invention provide a product testing method and a terminal thereof, so as to solve the problems that in the existing product testing method, a tester needs to manually configure a corresponding test case for a test item of each product, when there are many test cases, a situation that configuration is often omitted for some test cases occurs, so that testing of some test items is incomplete, accuracy of product testing is reduced, and a great labor cost is also consumed in a product testing process due to the need of manual configuration for testing.
A first aspect of an embodiment of the present invention provides a method for testing a product, including:
receiving a test instruction of a product, and extracting a product identifier of the product from the test instruction;
acquiring a test case example matched with the product identification based on a test case template in a test case database;
determining a test item according to the product type of the product;
according to the test parameters of each test case example, respectively calculating the matching coefficients of each test case example and the test items; wherein the test parameters include: testing priority, testing type and first signal input parameter; the first signal input parameter is used for representing the type of the signal input required by running the test case example;
if the matching coefficient of the test case instance is larger than a preset matching threshold value, identifying the test case instance as a related case of the test item;
generating a test script based on all the associated use cases of the test item, the test script being used to test the product.
A second aspect of the embodiments of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the following steps when executing the computer program:
receiving a test instruction of a product, and extracting a product identifier of the product from the test instruction;
acquiring a test case example matched with the product identification based on a test case template in a test case database;
determining a test item according to the product type of the product;
according to the test parameters of each test case example, respectively calculating the matching coefficients of each test case example and the test items; wherein the test parameters include: testing priority, testing type and first signal input parameter; the first signal input parameter is used for representing the type of the signal input required by running the test case example;
if the matching coefficient of the test case instance is larger than a preset matching threshold value, identifying the test case instance as a related case of the test item;
generating a test script based on all the associated use cases of the test item, the test script being used to test the product.
A third aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of:
receiving a test instruction of a product, and extracting a product identifier of the product from the test instruction;
acquiring a test case example matched with the product identification based on a test case template in a test case database;
determining a test item according to the product type of the product;
according to the test parameters of each test case example, respectively calculating the matching coefficients of each test case example and the test items; wherein the test parameters include: testing priority, testing type and first signal input parameter; the first signal input parameter is used for representing the type of the signal input required by running the test case example;
if the matching coefficient of the test case instance is larger than a preset matching threshold value, identifying the test case instance as a related case of the test item;
generating a test script based on all the associated use cases of the test item, the test script being used to test the product.
The product testing method and the terminal thereof provided by the embodiment of the invention have the following beneficial effects:
according to the embodiment of the invention, a product identifier contained in a test instruction is extracted through the test instruction input by a user, then a test item required to be completed by the item is determined through the product identifier, then a terminal device obtains a test case example matched with the product identifier based on a test case template pre-stored in a test case database, and calculates a matching coefficient between each test case example and the test item, so that the test case example with the matching coefficient larger than a preset matching threshold value is selected as the test case example corresponding to the test item, the test case examples and the test item are automatically associated, then a test script corresponding to the product identifier is obtained, and the test of the product is completed. Compared with the existing product testing technology, the embodiment of the invention does not need a user to manually configure the associated test case examples for the test items, but determines which test case examples are associated with the test items according to the association degree between the test case examples and the test items, thereby avoiding the occurrence of missing configuration of the test case examples, improving the accuracy of product testing, and simultaneously reducing the labor cost required in the whole product testing process.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of an implementation of a method for testing a product according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating an implementation of the method S102 for testing a product according to the second embodiment of the present invention;
fig. 3 is a flowchart illustrating an implementation of the method S104 for testing a product according to a third embodiment of the present invention;
fig. 4 is a flowchart illustrating a detailed implementation of a method S301 for testing a product according to a fourth embodiment of the present invention;
FIG. 5 is a flowchart illustrating an implementation of a method for testing a product according to a fourth embodiment of the present invention;
FIG. 6 is a block diagram of a test terminal of a product according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
According to the embodiment of the invention, the product identification contained in the test instruction is extracted through the test instruction input by the user, then the test item required to be completed by the item is determined through the product identification, then the terminal equipment obtains the test case example matched with the product identification based on the test case template pre-stored in the test case database, and calculates the matching coefficient between each test case example and the test item, so that the test case example with the matching coefficient larger than the preset matching threshold is selected to serve as the test case example corresponding to the test item, the test case examples and the test item are automatically associated, then the test script corresponding to the product identification is obtained, the test of the product is completed, and the problems of low accuracy of product test and large labor cost consumption in the existing product test method are solved.
In the embodiment of the invention, the execution main body of the process is a test terminal of the product, and the terminal equipment comprises equipment such as a smart phone, computer equipment, a tablet computer and a product test server. Fig. 1 shows a flowchart of an implementation of a method for testing a product according to a first embodiment of the present invention, which is detailed as follows:
in S101, a test instruction for a product is received, and a product identifier of the product is extracted from the test instruction.
In this embodiment, when a user needs to test a certain product, a test instruction is sent to the terminal device provided in the embodiment of the present invention. The test instruction comprises a product identification corresponding to a product to be tested. Therefore, the terminal device can extract the product identification corresponding to the product from the test instruction.
In this embodiment, the product identifier is specifically identification information for uniquely defining the product identity, such as a product number, a product model, a product authorization code, and the like. Specifically, if the product identifier is a product authorization code, the terminal device may query, through the product authorization code, a product number or a product model corresponding to the authorization code, so that even for a specific product, a test script corresponding to a model or version corresponding to the product may be formulated.
It should be noted that the products in the embodiments of the present invention include physical products and virtual products. Physical products include, but are not limited to: various products with solid structures such as mobile phones, televisions, watches and the like; the virtual product is specifically a software product such as an application program, a running script and the like.
In this embodiment, the sending operation of the test command may be performed manually or automatically. The manual execution specifically comprises: the user inputs the corresponding application identification on the interactive interface of the terminal equipment, then clicks the test start button to generate a test instruction, or generates a test instruction through the local user terminal of the user, and sends the test instruction to the terminal equipment through the communication network. The automatic execution specifically comprises: and if the terminal equipment detects that the current moment meets the preset test starting time or test starting period, generating a test instruction and sending the test instruction to the user terminal. The automatically performed process may be event triggered in addition to by time-triggered means. In this case, the terminal device may set a corresponding test start event, and after receiving information that execution of the test start event is completed, the terminal device identifies the completed information as a test start instruction, and queries a product identifier corresponding to the test start event to determine which product needs to be tested. For example, if the user sets that the debugging of a certain product is completed as a test start event, the terminal device receives the debugging completion information, and executes S101 and subsequent related operations to formulate a test script corresponding to the product, thereby realizing seamless connection among various links of product production and improving production efficiency.
In S102, a test case instance matching the product identifier is obtained based on a test case template in the test case database.
In this embodiment, the test case database may be stored in the terminal device, and may also be stored in the cloud server, in which case, when the terminal device needs to test a product, a call request needs to be initiated to the cloud server, and then the test case database is shared by the cloud server. The test case database comprises a plurality of test case templates, and tests of all functional modules and sub-items in different test items are realized.
In this embodiment, each test case template in the test case database is specifically a generated test case instance, that is, a test case instance generated before the test of this time, and a user can directly call the test case template to test a corresponding function and module in a test project. Each test case instance corresponds to a product identification, so that a user can determine a product suitable for the test case instance according to the product identification.
In this embodiment, the terminal device queries whether a test case template matching the product exists in the test case database according to the product identifier, and extracts the test case template matching the product as a test case instance corresponding to the product. If the test case database does not have the test case template matched with the threshold value, each test case template can be adjusted according to the product parameters corresponding to the product to obtain the test case example matched with the test case template. Optionally, after obtaining the product identifier of the product to be tested, the terminal device may determine a test case list corresponding to the product identifier according to the product identifier, determine the remaining test case examples that cannot be directly obtained according to the test case template that can be directly obtained from the test case database and adjust the corresponding test cases in the test case database according to the product parameters corresponding to the product identifier to obtain all the required test case examples matched with the test case examples.
Optionally, in this embodiment, the terminal device generates a candidate test case pool from the obtained test case instances matched with the product identifier. And each test case instance in the test case pool can test a certain function and module in the product to be tested. When the test case examples required by the test project are determined subsequently, the test cases only need to be extracted from the candidate test case pool, and the whole test case database does not need to be matched, so that the test script generation efficiency is improved.
In S103, a test item is determined according to the product type of the product.
In the present embodiment, S102 and S103 are two steps executed in parallel, that is, the terminal device may execute the relevant operation of S103 while executing S102. Of course, if the terminal device belongs to a single-threaded processing device, the operation of S102 and then S103 may be performed first, or the operation of S103 and then S102 may be performed first.
In this embodiment, each product will correspond to a different test item depending on the type of product. The number of the test items may be one, or two or more. For example, for a plug-and-play wireless network card, the item to be tested may be one, that is, a wireless communication test item; for the smart phone, because the structures of the modules and the products of the smart phone are complex, the corresponding test items are also many, and the test items include but are not limited to: a call function test item, a display function test item, a touch function test item, a wireless communication function test item, an audio playing test item, and the like. Different test items can be obtained by the same product according to different item classification modes, and as described above, the test items of each hardware device or functional module can be determined according to the hardware devices or functional modules contained in the product; the corresponding test items may also be determined according to different test phases, for example, the test items may include: the method comprises an admission test stage, a system integration test, a compatibility test, a safety test, a performance test, a stability test and a production regression test.
In S104, respectively calculating matching coefficients of each test case instance and the test item according to the test parameters of each test case instance; wherein the test parameters include: testing priority, testing type and first signal input parameter; the first signal input parameter is used for representing the signal type of the input required by running the test case example.
In this embodiment, after determining a test item to be tested by a product and a test case instance corresponding to the product, a terminal device establishes an association relationship between the test case instance and the test item, and determines the test case instance required for completing a certain test item. Because a plurality of functional modules may need to be tested in one test item, for example, for test items classified in a test stage, each test item needs to test most functions of the entire product, so that one test item may correspond to a plurality of test case instances, and one test case instance may also be called by a plurality of test items at the same time. For ease of understanding, the correspondence between test items and test case instances is illustrated: the existing two test items are respectively a wireless communication test item and a communication test item, and the wireless communication test item corresponds to the wireless communication test item: a plurality of test cases such as a power output voltage test case, a wireless communication speed test case, a wireless connection time test case and the like; and the call test items correspond to: a power amplifier power test case, a power output voltage test case and a signal-to-noise ratio test case. It can be seen that the power supply output voltage test case can be applied to two test items, and each test item can also correspond to a plurality of test case instances.
In this embodiment, the terminal device determines, according to the matching coefficient between the test case instance and the test item, whether the test content in the test case instance is associated with the test item, and determines whether to establish a correspondence between the test case instance and the test item. Each test case instance carries a test parameter, and the test parameter includes a priority, a test type and a first signal input parameter corresponding to the test.
The test priority is specifically the test order of the test case instance with respect to all test case instances. For example, still by the above example, it is still explained that, for three test case examples of the wireless communication test item including the power output voltage test case, the wireless communication speed test case, and the wireless connection time test case, it is clear that the test of the wireless communication speed inevitably requires that the product has established the wireless connection, and the establishment of the wireless connection inevitably requires that the product has been powered on. Therefore, the priorities among the three test case instances are: the priority of the power output voltage test case is 1, the priority of the wireless connection time test case is 2, and the priority of the wireless communication speed test case is 3.
The test type is specifically the test content or the test purpose corresponding to the test case instance. For example, the test case example of the wireless communication speed is specifically used for determining the uplink data transmission speed and the downlink data transmission speed when the product performs wireless communication.
The first signal input parameter is specifically: the type of signal input required to run the test case instance. Because a test case example is operated, a corresponding excitation signal needs to be input to activate the test case example to operate, and the signal type of the input excitation signal forms the first signal input parameter.
And the terminal equipment obtains a matching coefficient between the test case instance and the test item according to the matching degree between the test parameters and the test item, and judges a correlation program between the test case instance and the test item according to the size of the matching coefficient so as to determine whether a certain test case instance is the test case instance required by the test item. The larger the matching coefficient is, the larger the degree of association between the two is, and conversely, the smaller the matching coefficient is, the smaller the degree of association between the two is.
In this embodiment, if the number of the test items is multiple, the terminal device first calculates the matching coefficients between all the test case instances and one of the test items, and executes the operation of S105, and then executes the operations of S105 and S106 on the next test item, and executes the above two operations in a loop until each test item finds the associated case associated with it.
In S105, if the matching coefficient of the test case instance is greater than a preset matching threshold, the test case instance is identified as a related case of the test item.
In this embodiment, after calculating the matching coefficients between each test case instance and each test item, the terminal device compares each matching coefficient with a preset matching threshold. If the matching coefficient corresponding to a certain test case instance is detected to be larger than the preset matching threshold value, the two are represented to belong to strong association, and the test case instance is identified as the test case required by the test item, namely the associated case. Otherwise, if the matching coefficient corresponding to a certain test case instance is detected to be smaller than or equal to the preset matching threshold, the correlation degree of the two is small, and the test item is tested without being applied to the test case instance.
In S106, a test script is generated based on all the associated use cases of the test item, and the test script is used for testing the product.
In this embodiment, after identifying the matching coefficients of all the test case instances, the terminal device obtains all the associated test case instances of the test item, so that a test script is generated according to all the associated test case instances, and the terminal device can test the product by running the test script.
Optionally, if the number of the test items is multiple, different test items correspond to a series of associated use cases, and then the test sub-script is generated through all the associated use cases of the test items. And executing the operation on all the test items, so that corresponding test scripts are generated according to the plurality of test sub-scripts, and the terminal equipment can test each test item in sequence by running the test scripts, so as to finally obtain a test result corresponding to the product. Preferably, each test item has a corresponding test order, and the terminal device generates the test script according to the test order among the test sub-scripts. It should be noted that the test orders of different test items may be the same, for example, if the test order of the first test item is 1, the test order of the second test item is 2, and the test order of the third test item is 1, it indicates that the first test item and the third test item can be tested in parallel, and after the two test items are completed, the second test item is tested.
It can be seen from the above that, in the product testing method provided in the embodiment of the present invention, the product identifier included in the test instruction is extracted through the test instruction input by the user, then the test item required to be completed by the item is determined through the product identifier, then the terminal device obtains the test case instance matched with the product identifier based on the test case template pre-stored in the test case database, and calculates the matching coefficient between each test case instance and the test item, so as to select the test case instance having the matching coefficient greater than the preset matching threshold value as the test case instance corresponding to the test item, automatically associate the test case instance with the test item, then obtain the test script corresponding to the product identifier, and complete the test on the product. Compared with the existing product testing technology, the embodiment of the invention does not need a user to manually configure the associated test case examples for the test items, but determines which test case examples are associated with the test items according to the association degree between the test case examples and the test items, thereby avoiding the occurrence of missing configuration of the test case examples, improving the accuracy of product testing, and simultaneously reducing the labor cost required in the whole product testing process.
Fig. 2 shows a flowchart of a specific implementation of the method S102 for testing a product according to the second embodiment of the present invention. Referring to fig. 2, with respect to the embodiment shown in fig. 1, S102 in the product testing method provided in this embodiment includes S201 to S202, which are detailed as follows:
further, the obtaining of the test case instance matched with the product identifier based on the test case template in the test case database includes:
in S201, the product parameter of the product is obtained through the product identifier.
In this embodiment, the terminal device determines the product model or the product version corresponding to the product according to the obtained product identifier, and then obtains the product parameter corresponding to the product. Specifically, before each product is generated, a corresponding product production plan is made, product parameters related to the product are listed in the product production plan, and for an entity product, such as a smart phone, the product parameters can be memory capacity, the number of microprocessors, the size of input voltage and a standard adopted by mobile communication; for virtual products, such as applications, the product parameters may be the amount of memory occupied, the number of threads required, and the computational rate of the processor.
Optionally, the process of acquiring the product parameter by the terminal device specifically includes: and the terminal equipment determines the product model of the product according to the product identifier, acquires a product design document corresponding to the product from a corresponding product server according to the product model, and extracts the product parameters from the product design document.
In S202, each test case template in the test case database is adjusted based on the product parameter to obtain the test case instance matched with the product identifier.
In this embodiment, after determining the product parameters corresponding to the product to be tested, the terminal device may adjust each test case template in the test case database according to the product parameters. Due to the same test content, different test cases adjust the relevant parameters in the case according to the characteristics of the product so as to build a product environment matched with the case. For example, test cases for testing parallel processing rates, the number of concurrent threads would be 2 for a dual-processing product and 3 for a triple-processing product. Therefore, the related test parameters in different test cases have inseparable association with the product parameters, and most of the contents of the used test cases are universal with the same test contents, namely, the existing test cases can be adjusted according to the product parameters of the required test products, so that the test case examples matched with the products can be obtained, and the user does not need to manually configure and fill the test cases.
In this embodiment, the test case database includes a plurality of generated test case templates, where the test case templates may be test case instances corresponding to the test case templates when testing products of previous versions, so that the terminal device may adaptively adjust each test case template according to product parameters of the current version, that is, replace product parameters related to a previous version in each test case template with product parameters corresponding to the product identifier, and obtain a test case instance matched with the product.
In the embodiment of the invention, the test case template matched with the product can be obtained by adjusting the existing test case template, so that the generation efficiency of the test case instance is improved, and the product test efficiency is further improved.
Fig. 3 is a flowchart illustrating a specific implementation of the method S104 for testing a product according to a third embodiment of the present invention. Referring to fig. 3, with respect to the embodiment shown in fig. 1, S104 in the product testing method provided in this embodiment includes S301 to S305, which are detailed as follows:
further, the product type corresponds to more than two of the test items;
the calculating the matching coefficients of the test case examples and the test items according to the test parameters of the test case examples respectively comprises:
in S301, acquiring attribute parameters of the test item; the attribute parameters include: the test sequence, the type of the product module to be tested and the second signal input parameters; the second signal input parameter is used for representing the signal type input by the running of the test item.
In this embodiment, after determining a test item to be tested according to a product type, the terminal device further obtains an attribute parameter corresponding to the test item. Specifically, the terminal device may query the attribute parameters corresponding to the item number from the test item database according to the item number corresponding to the test item. Preferably, the test item includes an attribute parameter, and the terminal device may obtain the attribute parameter corresponding to the test item by analyzing the test item.
In this embodiment, the product type corresponds to more than two test items. Therefore, each test item has a corresponding test sequence, and the terminal device changes the test sequence and tests each test item in sequence in the process of testing the product. Due to the fact that a part of test items are carried out, some test items are required to be tested after being completed. For example, for a voice call test item, the voice call test item may be tested only after the testing of the earphone module test item and the radio module item is completed, that is, the two test items are front test items of the voice call test item. Therefore, different test items have a certain number of tests therebetween.
In this embodiment, the product module type specifically refers to which product modules that need to be tested by the test item are specifically provided, so that one test item may correspond to multiple product module types, that is, the attribute parameters may also include multiple product module types.
In this embodiment, as with the first input signal parameter of the test case instance, the test item also has a corresponding second input signal parameter for specifying the signal type of the stimulus signal that needs to be input when performing the test item. For a detailed description, reference may be made to the related description of the parameters of the first input signal, which is not described herein again.
In this embodiment, the terminal device calculates a plurality of matching factors according to the attribute parameters of the test items and the test parameters between the test case instances, and then obtains a matching coefficient between the two. Therefore, the three steps S302 to S304 are three steps performed in parallel, and the terminal device may perform operations related to the following three steps at the same time, or may perform the three steps in sequence in an arbitrary order.
In S302, a difference between the value of the test priority and the value of the test order is calculated as a first matching factor.
In this embodiment, since the priority of each test case determines the test order of the test case relative to other test case instances, if the priority of a certain test case instance is higher, it indicates that the test needs to be performed first, and therefore the test order of the test item corresponding to the certain test case instance should also be earlier. That is, the test priority and the test order are in a positive correlation relationship, that is, the higher the priority is, the higher the test order of the corresponding test item is. Of course, the priority of the test item may be the same as the test order of the test case, that is, the priority of the test item is N, and the test order of the test case instance corresponding to the test item is also N, in this case, the value of the first matching factor is 0. Particularly, if one test item corresponds to a plurality of test case instances, and different test case instances have a certain test order, in this case, the priority of the test item is not necessarily the same as the test order of the test case instance corresponding to the test item, but the difference between the priority of the test item and the test order of the test case instance corresponding to the test item is relatively close, so as long as the difference between the priority of the test item and the test order of the test case instance is smaller than a preset threshold, the priority of the test item and the test order of the test case instance can still be considered to be related. Therefore, the matching degree between the test priority value and the test sequence value can be determined according to the difference value between the test priority value and the test sequence value, and the first matching factor is obtained.
It should be noted that the priority of the test items may be configured by the user when setting the items, or the priority of each test item may be determined according to the corresponding relationship between the input signal and the output signal of each test item, for example, the output signal of the test item a includes a clock signal, and the input signal of the test item B includes a clock signal, which indicates that the test item B needs to be tested after the test item a is completed, that is, the priority of the test item a is higher than the priority of the test item B, and the priority of each test item may be determined through the above manner. The manner of the test order of the test case instances may also be determined with reference to the above two manners.
For example, if the priority of a certain test case instance is 1, and the test order of a certain test item is 2, the difference between the two is 1, and the first matching factor is 1; and for a test item with a test order of 1, the first matching factor is 0.
In S303, a second matching factor is determined according to the degree of association between the test type and the product module type.
In this embodiment, the test type of the test case instance includes a module to be tested and a test purpose, and the product module type of the test item is used to indicate a target template to which the test of the item needs to be completed. Therefore, the terminal device determines the degree of association between the test type and the product module type according to the association condition between different modules, and obtains a second matching factor. For example, although the sound receiving module and the earphone module are different modules, the two modules are used in a linkage manner, so that the sound receiving module and the earphone module can be identified to have larger association, and the sound receiving module and the light emitting module have larger function difference, so that the association between the sound receiving module and the earphone module is smaller.
Specifically, the terminal device prestores a module correlation comparison table, and a second matching factor can be obtained by finding the corresponding correlation between the functional module in the test type and the product module type from the comparison table.
In S304, the number of the same signal types between the first signal input parameter and the second signal input parameter is obtained, and the number is used as a third matching factor.
In this embodiment, as described above, the first signal input parameter describes the input signal type required for running the test case instance, and the second signal input parameter describes the input signal type required for running the test item, and then the two signal groups are compared to determine the number of the two signal groups between which the same signal type is described, and the number is identified as the third matching factor.
For example, the first signal input parameters include: a power input signal, an audio input signal; and the second signal input parameters include: and if the signal types which are the same between the first signal input parameter and the second signal input parameter are the power input signal and the audio input signal, the number of the same signal types is 2, and the signal is identified as a third matching factor.
In S305, importing a first matching factor, a second matching factor, and a third matching factor into a preset matching coefficient conversion model to obtain the matching coefficients; the matching coefficient conversion model specifically comprises:
Figure BDA0001536997300000151
wherein, the L (P)1,P2,P3) Is a matching coefficient; the P is1Is a first matching factor; the P is2Is a second matching factor; the P is3Is a third matching factor; and e is a natural logarithm.
In this embodiment, the larger the value of the first matching factor, the larger the test order distance between the test item and the test case instance is, the lower the matching degree is, that is, the first matching factor and the matching coefficient are in negative correlation, and the first matching factor is taken as an index of the natural logarithm e, so as to improve the influence degree of the overall first factor on the matching coefficient. The larger the values of the second matching factor and the third matching factor are, the greater the correlation degree between the identification test case instance and the test item is, so that the two factors and the matching coefficient are positively correlated.
In the embodiment of the invention, the attribute parameters of the test items are obtained, the matching degree operation is carried out on the attribute parameters and the corresponding parameters in the test parameters of the test case examples to obtain a plurality of matching factors, and then the corresponding matching coefficients are calculated through the matching factors, so that the accuracy of the matching coefficients is improved.
Fig. 4 is a flowchart illustrating a specific implementation of a product testing method according to a fourth embodiment of the present invention. Referring to fig. 4, with respect to the embodiment described in fig. 3, in the test method of a product provided in this embodiment, S301 includes: s401 and S402 are specifically detailed as follows:
further, the obtaining of the attribute parameters of the test item includes:
in S401, a second input signal parameter and an output signal parameter of each test item are respectively obtained.
In this embodiment, the terminal device needs to determine the relative test order among the obtained test items, the determination is mainly based on determining the connection relationship among the test items according to the correspondence between the input signals and the output signals among the test items, and then the test order among the test items is obtained through the signal transmission sequence. Therefore, the terminal device needs to first obtain the excitation signal type, i.e. the second input signal parameter, required to be input when executing each test item, and the signal type, i.e. the output signal parameter, finally output by the test item after the test item is completed.
In S402, a test order of each test item is determined according to a plurality of correspondence relationships between the second input signal parameters and the output signal parameters.
In this embodiment, after acquiring the second input signal parameter and the output signal parameter of each test item, the terminal device matches the second input signal parameter of any test item with the output signal parameter of another test item, matches the input signal parameter of the test item with the second input signal parameter of another test item, thereby determining which test item the previous node and the next node of the test item are connected to, obtaining a connection relationship between the test items, and then determining a corresponding test order.
For example, the input signal of the first test item is a power signal, and the output signal is an audio signal; the input signal of the second test item is an audio signal, and the output signal is a character string data stream signal; the input signal of the third test item is a character string data stream signal, and the output signal is a wireless signal. Namely, the connection relationship among the three test items is as follows: the first test item → the second test item → the third test item, and then the test order corresponding to the three test items is obtained.
In the embodiment of the invention, the test sequence among the test items can be determined according to the relationship between the input signals and the output signals among the test items, so that the aim of automatically sequencing a plurality of test items is fulfilled, and the efficiency of generating the test script is improved.
Fig. 5 is a flowchart illustrating a specific implementation of a method for testing a product according to a fifth embodiment of the present invention. Referring to fig. 5, with respect to the embodiments described in fig. 1 to 4, the method for testing a product provided in this embodiment further includes: s501 to S405 are specifically detailed as follows:
in S501, test script change information is received, and the current time is used as the script change time; the test change information comprises change parameters and user identification.
In this embodiment, a user may change and adjust the generated test script, for example, adjust part of parameters in the test case instance of the added test item, or delete or add the test item, so as to improve the test accuracy of the test script. In this case, the user may generate a test script change message on the interactive interface of the terminal device, or send a test script change message to the terminal device through the user terminal, and after the terminal device teaches the test script change message, the relevant operation of S501 is executed.
In the present embodiment, the test modification information includes modification parameters that are required to adjust the test script, and the types of the parameters included in the modification parameters are different according to different modification situations as described above. If the test item needs to be added or deleted, the change parameter contains the test item identification so as to add or delete the specified test item. In particular, if the test item is to be added, the relevant operations in S104 and S105 need to be executed to newly determine the associated test case corresponding to the test item. If the relevant test parameters in the test case example are adjusted, the change parameters comprise the identification of the test case example, the parameter name to be adjusted and the corresponding parameter values.
In this embodiment, the test change information further includes a user identifier, which is used to determine which user initiates the test script change operation, where the user identifier may be a name of a user login or a terminal identifier corresponding to a user terminal. Optionally, the terminal device may further authenticate the user identifier, and determine whether the user has an authority to modify the test item. If the corresponding modification authority exists, the relevant operation of the S501 is executed, otherwise, the test script change information is discarded, and the change request is not responded.
In S502, the test script is updated according to the change parameter.
In this embodiment, the terminal device extracts the change parameters included in the test script change information, determines the change contents specified by the change parameters, and updates the test script.
In S503, a script change record is generated and stored based on the script change time and the user identifier.
In this embodiment, in order to facilitate management of the test script, each time the user modifies the test script, a script change record is generated and stored, where the script change record includes a script change time and a user identifier corresponding to the initiation of the change operation.
In the embodiment of the invention, by storing the script change record of each time the test script is changed by the user, when the test script is abnormal due to modification at a certain time, the test script can be rolled back to the version before the fault according to the script change record, the reason of the fault and the corresponding change parameters are quickly positioned, and the fault repairing efficiency is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 6 is a block diagram illustrating a structure of a test terminal of a product according to an embodiment of the present invention, where the test terminal of the product includes units for performing steps in the corresponding embodiment of fig. 1. Please refer to fig. 1 and fig. 1 for the corresponding description of the embodiment. For convenience of explanation, only the portions related to the present embodiment are shown.
Referring to fig. 6, the test terminal of the product includes:
a test instruction receiving unit 61, configured to receive a test instruction for a product, and extract a product identifier of the product from the test instruction;
a test case instance obtaining unit 62, configured to obtain a test case instance matched with the product identifier based on a test case template in a test case database;
a test item determining unit 63, configured to determine a test item according to a product type of the product;
a matching coefficient determining unit 64, configured to calculate matching coefficients between the test case instances and the test items according to the test parameters of the test case instances, respectively; wherein the test parameters include: testing priority, testing type and first signal input parameter; the first signal input parameter is used for representing the type of the signal input required by running the test case example;
a relevant case determining unit 65, configured to identify the test case instance as a relevant case of the test item if the matching coefficient of the test case instance is greater than a preset matching threshold;
a test script generating unit 66, configured to generate a test script based on all the associated use cases of the test item, where the test script is used to test the product.
Optionally, the test case instance obtaining unit 62 includes:
the product parameter acquiring unit is used for acquiring the product parameters of the product through the product identification;
and the test case template adjusting unit is used for adjusting each test case template in the test case database based on the product parameters so as to obtain the test case example matched with the product identifier.
Optionally, the product type corresponds to more than two of the test items; the matching coefficient determination unit 64 includes:
the attribute parameter acquisition unit is used for acquiring the attribute parameters of the test items; the attribute parameters include: the test sequence, the type of the product module to be tested and the second signal input parameters; the second signal input parameter is used for representing the type of the signal input required for running the test item;
a first matching factor calculation unit configured to calculate a difference between the value of the test priority and the value of the test order, and use the difference as a first matching factor;
the second matching factor calculation unit is used for determining a second matching factor according to the correlation degree between the test type and the product module type;
the third matching factor calculation unit is used for acquiring the number of the same signal types between the first signal input parameter and the second signal input parameter, and taking the number as a third matching factor;
the matching coefficient calculation unit is used for leading the first matching factor, the second matching factor and the third matching factor into a preset matching coefficient conversion model to obtain the matching coefficient; the matching coefficient conversion model specifically comprises:
Figure BDA0001536997300000191
wherein, the L (P)1,P2,P3) Is a matching coefficient; the P is1Is a first matching factor; the P is2Is a second matching factor; the P is3Is a third matching factor; and e is a natural logarithm.
Optionally, the attribute parameter obtaining unit includes:
the signal parameter acquisition unit is used for respectively acquiring a second input signal parameter and an output signal parameter of each test item;
and the test order determining unit is used for determining the test order of each test item according to the corresponding relation between the plurality of second input signal parameters and the output signal parameters.
Optionally, the test terminal of the product further includes:
the script change information receiving unit is used for receiving the test script change information and taking the current time as the script change time; the test change information comprises change parameters and user identification;
the test script updating unit is used for updating the test script according to the change parameters;
and the script change record generating unit is used for generating and storing the script change record based on the script change time and the user identifier.
Therefore, the product test terminal provided by the embodiment of the invention can determine which test case examples are associated with the test item according to the association degree between the test case examples and the test item without manually configuring the associated test case examples for the test item by a user, thereby avoiding the occurrence of missing configuration of the test case examples, improving the accuracy of product test, and reducing the labor cost required in the whole product test process.
Fig. 7 is a schematic diagram of a terminal device according to another embodiment of the present invention. As shown in fig. 7, the terminal device 7 of this embodiment includes: a processor 70, a memory 71 and a computer program 72, such as a test program for a product, stored in said memory 71 and executable on said processor 70. The processor 70, when executing the computer program 72, implements the steps in the embodiments of the testing method for each product described above, such as S101 to S106 shown in fig. 1. Alternatively, the processor 70, when executing the computer program 72, implements the functions of the units in the above-described device embodiments, such as the functions of the modules 61 to 66 shown in fig. 6.
Illustratively, the computer program 72 may be divided into one or more units, which are stored in the memory 71 and executed by the processor 70 to accomplish the present invention. The one or more units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 72 in the terminal device 7. For example, the computer program 72 may be divided into a test instruction receiving unit, a test case instance obtaining unit, a test item determining unit, a matching coefficient determining unit, an associated case determining unit, and a test script generating unit, where the specific functions of each unit are as follows:
the test instruction receiving unit is used for receiving a test instruction of a product and extracting a product identifier of the product from the test instruction;
the test case instance obtaining unit is used for obtaining a test case instance matched with the product identification based on a test case template in a test case database;
the test item determining unit is used for determining a test item according to the product type of the product;
a matching coefficient determining unit, configured to calculate, according to the test parameters of each test case instance, matching coefficients of each test case instance and the test items, respectively; wherein the test parameters include: testing priority, testing type and first signal input parameter; the first signal input parameter is used for representing the type of the signal input required by running the test case example;
the associated case determining unit is used for identifying the test case instance as the associated case of the test item if the matching coefficient of the test case instance is larger than a preset matching threshold;
and the test script generating unit is used for generating a test script based on all the associated use cases of the test item, and the test script is used for testing the product.
The terminal device 7 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 70, a memory 71. It will be appreciated by those skilled in the art that fig. 7 is merely an example of a terminal device 7 and does not constitute a limitation of the terminal device 7 and may comprise more or less components than shown, or some components may be combined, or different components, for example the terminal device may further comprise input output devices, network access devices, buses, etc.
The Processor 70 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 71 may be an internal storage unit of the terminal device 7, such as a hard disk or a memory of the terminal device 7. The memory 71 may also be an external storage device of the terminal device 7, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 7. Further, the memory 71 may also include both an internal storage unit and an external storage device of the terminal device 7. The memory 71 is used for storing the computer program and other programs and data required by the terminal device. The memory 71 may also be used to temporarily store data that has been output or is to be output.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (8)

1. A method of testing a product, comprising:
receiving a test instruction of a product, and extracting a product identifier of the product from the test instruction;
acquiring a test case example matched with the product identification based on a test case template in a test case database;
determining a test item according to the product type of the product;
according to the test parameters of each test case example, respectively calculating the matching coefficients of each test case example and the test items; wherein the test parameters include: testing priority, testing type and first signal input parameter; the first signal input parameter is used for representing the type of the signal input required by running the test case example;
if the matching coefficient of the test case instance is larger than a preset matching threshold value, identifying the test case instance as a related case of the test item;
generating a test script based on all the associated use cases of the test item, the test script being used for testing the product;
the product type corresponds to more than two test items;
the calculating the matching coefficients of the test case examples and the test items according to the test parameters of the test case examples respectively comprises:
acquiring attribute parameters of the test items; the attribute parameters include: the test sequence, the type of the product module to be tested and the second signal input parameters; the second signal input parameter is used for representing the type of the signal input required for running the test item;
calculating a difference between the value of the test priority and the value of the test order, and taking the difference as a first matching factor;
determining a second matching factor according to the correlation degree between the test type and the product module type;
acquiring the number of the same signal types between the first signal input parameter and the second signal input parameter, and taking the number as a third matching factor;
leading the first matching factor, the second matching factor and the third matching factor into a preset matching coefficient conversion model to obtain the matching coefficient; the matching coefficient conversion model specifically comprises:
Figure FDA0002965269070000021
wherein, the L (P)1,P2,P3) Is a matching coefficient; the P is1Is a first matching factor; the P is2Is a second matching factor; the P is3Is a third matching factor; and e is a natural logarithm.
2. The testing method according to claim 1, wherein the obtaining of the test case instance matching the product identifier based on the test case template in the test case database comprises:
acquiring product parameters of the product through the product identification;
and adjusting each test case template in the test case database based on the product parameters to obtain the test case example matched with the product identifier.
3. The method according to claim 1, wherein the obtaining attribute parameters of the test item comprises:
respectively acquiring a second input signal parameter and an output signal parameter of each test item;
and determining the test sequence of each test item according to the corresponding relation between the plurality of second input signal parameters and the output signal parameters.
4. The test method of any one of claims 1-3, further comprising:
receiving test plan change information, and taking the current time as a plan change time; the test change information comprises change parameters and user identification;
updating the test plan according to the change parameters;
and generating and storing a plan change record based on the plan change time and the user identification.
5. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
receiving a test instruction of a product, and extracting a product identifier of the product from the test instruction;
acquiring a test case example matched with the product identification based on a test case template in a test case database;
determining a test item according to the product type of the product;
according to the test parameters of each test case example, respectively calculating the matching coefficients of each test case example and the test items; wherein the test parameters include: testing priority, testing type and first signal input parameter; the first signal input parameter is used for representing the type of the signal input required by running the test case example;
if the matching coefficient of the test case instance is larger than a preset matching threshold value, identifying the test case instance as a related case of the test item;
generating a test script based on all the associated use cases of the test item, the test script being used for testing the product;
the product type corresponds to more than two test items;
the calculating the matching coefficients of the test case examples and the test items according to the test parameters of the test case examples respectively comprises:
acquiring attribute parameters of the test items; the attribute parameters include: the test sequence, the type of the product module to be tested and the second signal input parameters; the second signal input parameter is used for representing the type of the signal input required for running the test item;
calculating a difference between the value of the test priority and the value of the test order, and taking the difference as a first matching factor;
determining a second matching factor according to the correlation degree between the test type and the product module type;
acquiring the number of the same signal types between the first signal input parameter and the second signal input parameter, and taking the number as a third matching factor;
leading the first matching factor, the second matching factor and the third matching factor into a preset matching coefficient conversion model to obtain the matching coefficient; the matching coefficient conversion model specifically comprises:
Figure FDA0002965269070000031
wherein, the L (P)1,P2,P3) Is a matching coefficient; the P is1Is a first matching factor; the P is2Is a second matching factor; the P is3Is a third matching factor; and e is a natural logarithm.
6. The terminal device according to claim 5, wherein the obtaining of the test case instance matching the product identifier based on the test case template in the test case database comprises:
acquiring product parameters of the product through the product identification;
and adjusting each test case template in the test case database based on the product parameters to obtain the test case example matched with the product identifier.
7. The terminal device according to claim 5, wherein the obtaining of the attribute parameters of the test item comprises:
respectively acquiring a second input signal parameter and an output signal parameter of each test item;
and determining the test sequence of each test item according to the corresponding relation between the plurality of second input signal parameters and the output signal parameters.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN201810001730.1A 2018-01-02 2018-01-02 Product testing method and terminal thereof Active CN108255653B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810001730.1A CN108255653B (en) 2018-01-02 2018-01-02 Product testing method and terminal thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810001730.1A CN108255653B (en) 2018-01-02 2018-01-02 Product testing method and terminal thereof

Publications (2)

Publication Number Publication Date
CN108255653A CN108255653A (en) 2018-07-06
CN108255653B true CN108255653B (en) 2021-05-04

Family

ID=62724793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810001730.1A Active CN108255653B (en) 2018-01-02 2018-01-02 Product testing method and terminal thereof

Country Status (1)

Country Link
CN (1) CN108255653B (en)

Families Citing this family (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704251B (en) * 2018-07-09 2023-07-11 映翰通嘉兴通信技术有限公司 Dynamically configurable testing device and testing method
CN109062799A (en) * 2018-07-27 2018-12-21 北京奇虎科技有限公司 Regression testing method, the apparatus and system of advertising scenarios
CN109032946B (en) * 2018-07-27 2022-03-18 厦门集微科技有限公司 Test method and device and computer readable storage medium
CN109062802B (en) * 2018-08-13 2023-06-09 深圳壹账通智能科技有限公司 Software testing method, computer readable storage medium and terminal equipment
CN109376069B (en) * 2018-09-03 2023-07-21 中国平安人寿保险股份有限公司 Method and device for generating test report
CN109544097B (en) * 2018-10-19 2024-04-05 中国平安人寿保险股份有限公司 Moon knot information processing method based on new product development, electronic device and readable storage medium
CN109101432A (en) * 2018-10-24 2018-12-28 中国银行股份有限公司 Method for generating test case and device
CN111435227B (en) * 2018-12-25 2023-07-21 中移(杭州)信息技术有限公司 Smart home equipment testing method, device, equipment and medium
CN109785867B (en) * 2019-01-02 2021-08-03 深圳壹账通智能科技有限公司 Double-recording flow configuration method and device, computer equipment and storage medium
CN109614342A (en) * 2019-01-23 2019-04-12 四川虹美智能科技有限公司 A kind of method and test case management platform of application program automatic test
TWI722431B (en) * 2019-05-15 2021-03-21 振鋒企業股份有限公司 Authorization method for data editing authority of product item
CN111984619A (en) * 2019-05-21 2020-11-24 振锋企业股份有限公司 Authorization method for data editing authority of product item
CN110334005A (en) * 2019-05-24 2019-10-15 平安普惠企业管理有限公司 Graphic data base screening technique and device, storage medium, electronic equipment
CN110109842B (en) * 2019-06-18 2023-08-08 网易(杭州)网络有限公司 Method and device for testing numerical system
CN110896472B (en) * 2019-06-18 2021-09-14 研祥智能科技股份有限公司 Detection method and system based on display equipment
CN110427315A (en) * 2019-06-18 2019-11-08 深圳壹账通智能科技有限公司 Push away excellent test device, method and storage medium
CN112580903A (en) * 2019-09-27 2021-03-30 华晨宝马汽车有限公司 Method and apparatus for evaluating quality stability of engine and storage medium
CN110874326B (en) * 2019-11-21 2023-10-27 望海康信(北京)科技股份公司 Test case generation method and device, computer equipment and storage medium
CN111163134A (en) * 2019-12-11 2020-05-15 浙江极智通信科技股份有限公司 Equipment testing method and system
CN111274126B (en) * 2020-01-14 2022-10-04 华为云计算技术有限公司 Test case screening method, device and medium
CN111381142A (en) * 2020-02-21 2020-07-07 上海御渡半导体科技有限公司 Semiconductor automatic test equipment and test method for improving test flow efficiency
CN111737136A (en) * 2020-06-24 2020-10-02 海尔优家智能科技(北京)有限公司 Object testing method and device based on Internet of things platform
CN111897688B (en) * 2020-08-04 2024-05-03 北京泽石科技有限公司 Test method and device for test object
CN112631843A (en) * 2020-12-22 2021-04-09 北京百度网讯科技有限公司 Equipment testing method and device, electronic equipment, readable medium and product
CN112506728B (en) * 2021-02-04 2021-06-04 上海国微思尔芯技术股份有限公司 Test method and device for prototype verification system
CN113765737B (en) * 2021-07-23 2023-08-08 苏州浪潮智能科技有限公司 Automatic test method and device for compatibility of network card and optical module, and electronic equipment
CN113626268A (en) * 2021-08-12 2021-11-09 深圳市美恩微电子有限公司 Automatic test system and method for mainboard
CN113740758A (en) * 2021-09-04 2021-12-03 深圳一信泰质量技术有限公司 Automatic energy efficiency testing method, device, equipment and medium for power supply product
CN113567797B (en) * 2021-09-27 2022-02-22 北京全路通信信号研究设计院集团有限公司 Design method and system suitable for track circuit product performance test case
CN114090442B (en) * 2021-11-22 2023-01-31 安徽继远检验检测技术有限公司 Automatic testing method and system for power cloud testing management platform
CN114578210B (en) * 2022-02-25 2024-02-02 苏州浪潮智能科技有限公司 Mainboard testing method, device, equipment and storage medium
CN114970253B (en) * 2022-05-13 2023-01-31 张家口宣化华泰矿冶机械有限公司 Angle calculation method of vertical shaft drilling machine, terminal and storage medium
CN114779058B (en) * 2022-06-23 2022-09-23 联宝(合肥)电子科技有限公司 Mainboard detection method, device, equipment and medium for dynamically adjusting item measurement proportion
CN114812695B (en) * 2022-06-27 2022-10-28 芯耀辉科技有限公司 Product testing method and device, computer equipment and storage medium
CN115617699A (en) * 2022-12-16 2023-01-17 歌尔股份有限公司 Product mixed line testing method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599044A (en) * 2008-06-05 2009-12-09 国网南京自动化研究院 A kind of manner of execution of test case
CN102622294A (en) * 2011-01-28 2012-08-01 国际商业机器公司 Method and method for generating test cases for different test types
JP2012248101A (en) * 2011-05-30 2012-12-13 Ntt Data Corp Program test support device, program test support method, and program test support program
CN104794057A (en) * 2015-04-29 2015-07-22 瑞斯康达科技发展股份有限公司 Automatic testing method and device for crossed event
CN105718371A (en) * 2016-01-21 2016-06-29 深圳市同创国芯电子有限公司 Regression test method, device and system
CN106326116A (en) * 2016-08-17 2017-01-11 北京奇虎科技有限公司 Method and device for testing product
CN106610891A (en) * 2015-10-22 2017-05-03 中兴通讯股份有限公司 Test method and device
CN107024916A (en) * 2016-12-08 2017-08-08 中国北方发动机研究所(天津) A kind of diesel engine electric control system test case parameter automatic patching system and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599044A (en) * 2008-06-05 2009-12-09 国网南京自动化研究院 A kind of manner of execution of test case
CN102622294A (en) * 2011-01-28 2012-08-01 国际商业机器公司 Method and method for generating test cases for different test types
JP2012248101A (en) * 2011-05-30 2012-12-13 Ntt Data Corp Program test support device, program test support method, and program test support program
CN104794057A (en) * 2015-04-29 2015-07-22 瑞斯康达科技发展股份有限公司 Automatic testing method and device for crossed event
CN106610891A (en) * 2015-10-22 2017-05-03 中兴通讯股份有限公司 Test method and device
CN105718371A (en) * 2016-01-21 2016-06-29 深圳市同创国芯电子有限公司 Regression test method, device and system
CN106326116A (en) * 2016-08-17 2017-01-11 北京奇虎科技有限公司 Method and device for testing product
CN107024916A (en) * 2016-12-08 2017-08-08 中国北方发动机研究所(天津) A kind of diesel engine electric control system test case parameter automatic patching system and method

Also Published As

Publication number Publication date
CN108255653A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN108255653B (en) Product testing method and terminal thereof
CN109918205B (en) Edge equipment scheduling method, system, device and computer storage medium
US10453165B1 (en) Computer vision machine learning model execution service
US11310066B2 (en) Method and apparatus for pushing information
WO2019169723A1 (en) Test case selection method, device and equipment, and computer-readable storage medium
CN109491736B (en) Display method and device of pop-up frame window
WO2020238712A1 (en) Cloud product recommendation method and apparatus, electronic device, and computer readable medium
CN111177113A (en) Data migration method and device, computer equipment and storage medium
CN110781180A (en) Data screening method and data screening device
WO2022267769A1 (en) Method and apparatus for generating graph data
CN116611411A (en) Business system report generation method, device, equipment and storage medium
US20160156724A1 (en) Method, apparatus, and system for determining target user for service policy
CN106651408B (en) Data analysis method and device
US20170161322A1 (en) Method and electronic device for searching resource
CN108255704B (en) Abnormal response method of script calling event and terminal thereof
CN113691403B (en) Topology node configuration method, related device and computer program product
CN115080412A (en) Software update quality evaluation method, device, equipment and computer storage medium
CN109005469A (en) A kind of conversion method of message format, device, storage medium and android terminal
CN115145587A (en) Product parameter checking method and device, electronic equipment and storage medium
US20170171330A1 (en) Method for pushing information and electronic device
EP4053713A1 (en) Question and answer method and apparatus based on knowledge graph
CN114138358A (en) Application program starting optimization method, device, equipment and storage medium
CN111444253A (en) Data import method and device, computer readable storage medium and computer equipment
CN113900734B (en) Application program file configuration method, device, equipment and storage medium
CN113986112B (en) Soft keyboard display method, related device and computer program product

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