CN111008143B - Coverage rate scheduling test method, terminal equipment and computer readable storage medium - Google Patents

Coverage rate scheduling test method, terminal equipment and computer readable storage medium Download PDF

Info

Publication number
CN111008143B
CN111008143B CN201911313530.0A CN201911313530A CN111008143B CN 111008143 B CN111008143 B CN 111008143B CN 201911313530 A CN201911313530 A CN 201911313530A CN 111008143 B CN111008143 B CN 111008143B
Authority
CN
China
Prior art keywords
coverage rate
coverage
rate data
data
test method
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
CN201911313530.0A
Other languages
Chinese (zh)
Other versions
CN111008143A (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.)
Shanghai Pinshun Information Technology Co ltd
Original Assignee
Shanghai Pinshun Information Technology 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 Shanghai Pinshun Information Technology Co ltd filed Critical Shanghai Pinshun Information Technology Co ltd
Priority to CN201911313530.0A priority Critical patent/CN111008143B/en
Publication of CN111008143A publication Critical patent/CN111008143A/en
Application granted granted Critical
Publication of CN111008143B publication Critical patent/CN111008143B/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/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3676Test management for coverage analysis
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a coverage rate scheduling test method, terminal equipment and a computer readable storage medium. The coverage rate scheduling test method provided by the invention comprises the following steps: the method comprises the steps that a server obtains a plurality of coverage rate data sent by a receiving terminal in a preset time interval; acquiring attribute information corresponding to the coverage rate data; and acquiring processing terminals corresponding to the coverage rate data according to the attribute information, so that the processing terminals can generate coverage rate test data according to the received coverage rate data. The server distributes a large amount of acquired coverage rate data to the plurality of processing terminals for processing by scheduling the plurality of processing terminals, so that the burden of independently processing the coverage rate data by the server is reduced, the time of processing the coverage rate data is shortened, and the efficiency of processing the coverage rate data is improved.

Description

Coverage rate scheduling test method, terminal equipment and computer readable storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a coverage rate scheduling test method, a terminal device, and a computer readable storage medium.
Background
The IOS line code coverage rate is a quality index for measuring the white box test of mobile phone application software (APP) carried on IOS (Mobile operating System developed by apple Inc.), and is an index for evaluating the inside of a product code class, in particular for evaluating whether a test code has covered all paths of the product code. At present, a machine is generally relied on to combine a source code, a symbol file and execution data of a specified software version to generate a coverage rate report, and as each mobile phone can upload coverage rate data sets for multiple times, when the data processing capacity is large, the serial processing mode is low in efficiency and cannot meet the requirement of large-scale test.
Disclosure of Invention
The invention mainly aims to provide a coverage rate scheduling test method, terminal equipment and a computer readable storage medium, and aims to solve the technical problem that when the data processing capacity is large, the efficiency is low by adopting a serial processing mode, and the large-scale test requirement cannot be met.
In order to achieve the above purpose, the present invention provides a coverage rate scheduling test method, which includes the following steps:
the method comprises the steps that a server obtains a plurality of coverage rate data sent by a receiving terminal in a preset time interval;
acquiring attribute information corresponding to the coverage rate data;
and acquiring processing terminals corresponding to the coverage rate data according to the attribute information, so that the processing terminals can generate coverage rate test data according to the received coverage rate data.
Optionally, the coverage rate scheduling test method further includes:
when coverage rate data is received, acquiring a receiving time point of the coverage rate data;
the receiving time point is associated with the coverage rate data and stored;
executing the step that the server acquires a plurality of coverage rate data sent by the receiving terminal in a preset time interval when the current time point reaches the ending time point of the preset period; and the time interval corresponding to the preset period is equal to the preset time interval, and the ending time point is updated according to the current time point and the preset time interval.
Optionally, the step of obtaining, according to the attribute information, the processing terminal corresponding to each coverage rate data, so that the processing terminal generates coverage rate test data according to the received coverage rate data, includes:
classifying the coverage rate data according to the attribute information to obtain at least two coverage rate data sets;
acquiring first quantity information of the coverage rate data set;
acquiring the corresponding processing terminal of each coverage rate data set according to the first quantity information;
and sending the coverage rate data set to the corresponding processing terminal so that the processing terminal can generate coverage rate test data according to the received coverage rate data set.
Optionally, the step of acquiring the processing terminal corresponding to each coverage rate data set according to the first quantity information includes:
acquiring second quantity information of the processing terminal currently connected with the server;
and distributing the processing terminals corresponding to each coverage rate data set according to the second quantity information and the first quantity information.
Optionally, the step of acquiring the processing terminal corresponding to each coverage rate data set according to the first quantity information further includes:
acquiring third quantity information of coverage rate data contained in each coverage rate data set and fourth quantity information of coverage rate data currently processed in each terminal device;
and determining the terminal equipment corresponding to each coverage rate data set according to the third quantity information and the fourth quantity information.
Optionally, after the step of obtaining, according to the attribute information, the processing terminal corresponding to each coverage rate data, so that the processing terminal generates coverage rate test data according to the received coverage rate data, the coverage rate scheduling test method further includes:
and after receiving the coverage rate test data returned by the processing terminal, generating a coverage rate test report according to the coverage rate test data.
Optionally, the coverage test data includes:
at least one of symbol data, execution data, and version data.
Optionally, the step of generating a coverage test report according to the coverage processing data includes:
generating a mapping relation among the symbol data, the execution data and the version data;
and generating the coverage rate test report according to the mapping relation.
In order to achieve the above object, the present invention further provides a terminal device, where the terminal device includes a memory, a processor, and a control program of a coverage rate scheduling test method stored in the memory and capable of running on the processor, and the control program of the coverage rate scheduling test method implements the steps of the coverage rate scheduling test method described above when executed by the processor.
In order to achieve the above object, the present invention further provides a computer readable storage medium, on which a control program of a coverage scheduling test method is stored, which when executed by a processor, implements the steps of the coverage scheduling test method as described above.
According to the technical scheme, a server is used for acquiring a plurality of coverage rate data sent by a receiving terminal in a preset time interval; acquiring attribute information corresponding to the coverage rate data; and acquiring processing terminals corresponding to the coverage rate data according to the attribute information, so that the processing terminals can generate coverage rate test data according to the received coverage rate data. The server distributes a large amount of acquired coverage rate data to the plurality of processing terminals for processing by scheduling the plurality of processing terminals, so that the burden of independently processing the coverage rate data by the server is reduced, the time of processing the coverage rate data is shortened, and the efficiency of processing the coverage rate data is improved.
Drawings
FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flow chart of a first embodiment of the coverage rate scheduling test method of the present invention;
FIG. 3 is a flow chart of a second embodiment of the coverage rate scheduling test method of the present invention;
FIG. 4 is a flow chart of a third embodiment of the coverage rate scheduling test method of the present invention;
FIG. 5 is a flowchart of a fourth embodiment of the coverage rate scheduling test method of the present invention;
FIG. 6 is a flowchart of a fifth embodiment of a coverage rate scheduling test method according to the present invention;
FIG. 7 is a flowchart of a coverage rate scheduling test method according to a sixth embodiment of the present invention;
fig. 8 is a flowchart of a seventh embodiment of the coverage rate scheduling test method of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and rear are referred to in the embodiments of the present invention), the directional indications are merely used to explain the relative positional relationship between the components, the movement condition, and the like in a specific posture, and if the specific posture is changed, the directional indications are correspondingly changed.
In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present invention.
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The main solutions of the embodiments of the present invention are: the method comprises the steps that a server obtains a plurality of coverage rate data sent by a receiving terminal in a preset time interval; acquiring attribute information corresponding to the coverage rate data; and acquiring processing terminals corresponding to the coverage rate data according to the attribute information, so that the processing terminals can generate coverage rate test data according to the received coverage rate data.
In the prior art, a machine is generally relied on to combine the source code, the symbol file and the execution data of a specified software version to generate a coverage rate report, and each mobile phone can upload coverage rate data sets for multiple times, so that when the data processing amount is large, the serial processing mode is low in efficiency, and the large-scale test requirement cannot be met.
According to the coverage rate scheduling test method, the server distributes a large amount of acquired coverage rate data to the plurality of processing terminals for processing by scheduling the plurality of processing terminals, so that the burden of independently processing the coverage rate data by the server is reduced, the time of processing the coverage rate data is shortened, and the efficiency of processing the coverage rate data is improved.
As shown in fig. 1, fig. 1 is a schematic diagram of a terminal structure of a hardware running environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a server or terminal equipment with a data processing function.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard priority interface, a wireless interface (e.g., wiFi interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (NVM), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the terminal structure shown in fig. 1 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, a program of an operating system, a network communication module, and a coverage scheduling test method may be included in a memory 1005 as one type of computer-readable storage medium.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a control program of the coverage schedule test method stored in the memory 1005 and perform the following operations:
the method comprises the steps that a server obtains a plurality of coverage rate data sent by a receiving terminal in a preset time interval;
acquiring attribute information corresponding to the coverage rate data;
and acquiring processing terminals corresponding to the coverage rate data according to the attribute information, so that the processing terminals can generate coverage rate test data according to the received coverage rate data.
Further, the processor 1001 may call a control program of the coverage schedule test method stored in the memory 1005, and further perform the following operations:
when coverage rate data is received, acquiring a receiving time point of the coverage rate data;
the receiving time point is associated with the coverage rate data and stored;
executing the step that the server acquires a plurality of coverage rate data sent by the receiving terminal in a preset time interval when the current time point reaches the ending time point of the preset period;
and the time interval corresponding to the preset period is equal to the preset time interval, and the ending time point is updated according to the current time point and the preset time interval.
Further, the processor 1001 may call a control program of the coverage schedule test method stored in the memory 1005, and further perform the following operations:
classifying the coverage rate data according to the attribute information to obtain at least two coverage rate data sets;
acquiring first quantity information of the coverage rate data set;
acquiring the corresponding processing terminal of each coverage rate data set according to the first quantity information;
and sending the coverage rate data set to the corresponding processing terminal so that the processing terminal can generate coverage rate test data according to the received coverage rate data set.
Further, the processor 1001 may call a control program of the coverage schedule test method stored in the memory 1005, and further perform the following operations:
acquiring second quantity information of the processing terminal currently connected with the server;
and distributing the processing terminals corresponding to each coverage rate data set according to the second quantity information and the first quantity information.
Further, the processor 1001 may call a control program of the coverage schedule test method stored in the memory 1005, and further perform the following operations:
acquiring third quantity information of coverage rate data contained in each coverage rate data set and fourth quantity information of coverage rate data currently processed in each terminal device;
and determining the terminal equipment corresponding to each coverage rate data set according to the third quantity information and the fourth quantity information.
Further, the processor 1001 may call a control program of the coverage schedule test method stored in the memory 1005, and further perform the following operations:
and after receiving the coverage rate test data returned by the processing terminal, generating a coverage rate test report according to the coverage rate test data.
Further, the processor 1001 may call a control program of the coverage schedule test method stored in the memory 1005, and further perform the following operations:
generating a mapping relation among the symbol data, the execution data and the version data;
and generating the coverage rate test report according to the mapping relation.
Based on the hardware framework, the embodiment of the coverage rate scheduling test method is provided.
Referring to fig. 2, fig. 2 is a first embodiment of the coverage scheduling test method of the present invention, which includes the following steps:
step S10, a server acquires a plurality of coverage rate data sent by a receiving terminal in a preset time interval;
in this embodiment, coverage rate data is generated at any time in the running process of the mobile phone, and one server can be connected with a plurality of mobile phones for testing, so that a preset time interval is set for the server to perform centralized processing on all coverage rate data received in the time interval.
Step S20, obtaining attribute information corresponding to the coverage rate data;
in this embodiment, the attribute information is a file type of coverage rate data and upstream-downstream relationship information of a file, where the file is identified by a gill commit corresponding to the coverage rate data.
And step S30, acquiring processing terminals corresponding to the coverage rate data according to the attribute information, so that the processing terminals can generate coverage rate test data according to the received coverage rate data.
In this embodiment, the processing terminal is a slave machine connected to the server, after the server obtains the file type of the coverage rate data and the information of the upstream and downstream relations of all the files, the coverage rate data is classified and packaged according to the file type and the upstream and downstream relations, the packaged coverage rate data is sent to the corresponding slave machine, after the slave machine receives the coverage rate data, the coverage rate data is tested, coverage rate test data is generated, and then the coverage rate test data is returned to the server, and the coverage rate test report of all the coverage rate test data in the time interval can be obtained by collecting the coverage rate test data sent by each slave machine by the server.
In this embodiment, the server distributes a large amount of coverage rate data acquired to the plurality of processing terminals for processing by scheduling the plurality of processing terminals, so that the burden of the server for individually processing the coverage rate data is reduced, the time for processing the coverage rate data is shortened, and the efficiency of processing the coverage rate data is improved.
Referring to fig. 3, fig. 3 is a second embodiment of the coverage rate scheduling test method according to the present invention, based on the first embodiment, before step S10, further including:
step S40, when coverage rate data is received, acquiring a receiving time point of the coverage rate data;
step S50, the receiving time point and the coverage rate data are stored in a correlated mode;
step S60, when the current time point reaches the ending time point of the preset period, executing the step that the server acquires a plurality of coverage rate data sent by the receiving terminal in a preset time interval;
and the time interval corresponding to the preset period is equal to the preset time interval, and the ending time point is updated according to the current time point and the preset time interval.
In this embodiment, the server automatically records a time point of receiving coverage rate data uploaded by the mobile phone, and sets a preset time interval, where the preset time interval is a time interval corresponding to a preset period, and if the time interval between the current time point and the time point of initially receiving the coverage rate data reaches the preset time interval, the server completes a data acquisition task in the time interval, processes according to the received coverage rate data, and distributes the processed data to a corresponding slave machine for testing. In the process, the server can continuously receive coverage rate data sent by the mobile phone terminal without closing the data acquisition channel, and the coverage rate data are stored in a time-sharing manner only according to the coverage rate data received at a plurality of preset time intervals for subsequent calling and processing.
In this embodiment, the time interval is set to perform time-sharing centralized processing on the coverage rate data, the server does not need to perform real-time processing on the received coverage rate data, so that the workload of the server is further reduced, and when a large amount of coverage rate data is processed in a centralized manner, a plurality of slave machines are tested in parallel, so that the data processing efficiency is improved.
Referring to fig. 4, fig. 4 is a third embodiment of the coverage rate scheduling test method according to the present invention, based on the first or second embodiment, step S30 includes:
step S31, classifying the coverage rate data according to the attribute information to obtain at least two coverage rate data sets;
in this embodiment, the attribute information is a file type of coverage rate data and upstream-downstream relationship information of the file, and the file is identified by a gill commit corresponding to the coverage rate data. Therefore, the upstream and downstream relation between the coverage rate data can be obtained according to the gill commit mark and the logical relation between gill commit, and then the coverage rate data is classified according to the gill commit mark and the logical relation between gill commit, so that at least two coverage rate data sets are obtained.
In this embodiment, the coverage data sets may include coverage data of the same type, or may include coverage data of different types but having a logical relationship between coverage data, where the method for dividing the coverage data sets depends on the actual situation, and is not specifically limited herein.
Step S32, obtaining first quantity information of the coverage rate data set;
step S33, the processing terminal corresponding to each coverage rate data set is obtained according to the first quantity information;
and step S34, the coverage rate data set is sent to the corresponding processing terminal, so that the processing terminal can generate coverage rate test data according to the received coverage rate data set.
In this embodiment, the first number of information, that is, the number of coverage rate data sets, and the server sends the coverage rate data sets to the slave machine according to the number of coverage rate data sets to perform coverage rate data testing.
Referring to fig. 5, fig. 5 is a fourth embodiment of the coverage rate scheduling test method according to the present invention, based on the third embodiment, step S33 includes:
step S331, obtaining second number information of the processing terminal currently connected to the server;
and step S332, distributing the processing terminals corresponding to each coverage rate data set according to the second quantity information and the first quantity information.
In this embodiment, the processing functions between slave machines connected to the server are the same, and therefore, the server allocates according to the number of coverage data groups and the number of slave machines. Specifically, if the first number of coverage rate data sets is 5 and the number of slave machines is 5, each slave machine processes one coverage rate data set to generate respective coverage rate test data, and then sends the coverage rate test data to a server for summarizing the coverage rate test data to generate a coverage rate test report. It should be noted that the number of slave machines and the number of coverage data sets described above do not represent an actual number, and therefore do not have a limiting effect on the number of actual slave machines and the number of coverage data sets.
In this embodiment, the number of coverage rate data sets and the number of slave machines are comprehensively considered, so that the coverage rate data are distributed, the maximum utilization rate of the slave machines is realized, and the test efficiency is further improved.
Referring to fig. 6, fig. 6 is a fifth embodiment of the coverage rate scheduling test method according to the present invention, based on the above third embodiment, step S33 further includes:
step S333, acquiring third quantity information of coverage rate data included in each coverage rate data set and fourth quantity information of coverage rate data currently processed in each terminal device;
step S334, determining a terminal device corresponding to each coverage rate data set according to the third quantity information and the fourth quantity information.
In this embodiment, the processing functions between slave machines connected to the server are the same, the third quantity information is specific quantity information of coverage rate data included in the coverage rate data set, the fourth quantity information is the maximum quantity of coverage rate data that can be processed by a slave machine connected to the server, and the server determines a pairing relationship between the coverage rate data set and the slave machine according to the third quantity information and the fourth quantity information, so that the slave machine achieves the maximum utilization rate.
Referring to fig. 7, fig. 7 is a sixth embodiment of the coverage scheduling test method according to the present invention, based on any one of the first to fifth embodiments, after step S30, further including:
and step S70, after receiving the coverage rate test data returned by the processing terminal, generating a coverage rate test report according to the coverage rate test data. The coverage test data includes: at least one of symbol data, execution data, and version data.
In this embodiment, after the server issues coverage rate data received from the mobile phone to the slave machine to perform coverage rate data test, the coverage rate test data returned by the slave machine is received again, where the coverage rate test data includes: symbol data, execution data, and version data, and generating a coverage test report based on the symbol data, the execution data, and the version data.
Referring to fig. 8, fig. 8 is a seventh embodiment of the coverage scheduling test method according to the present invention, based on the sixth embodiment, step S70 includes:
step S71, generating a mapping relation among the symbol data, the execution data and the version data;
and step S72, generating the coverage rate test report according to the mapping relation.
In this embodiment, the symbol data is a symbol identifier of coverage rate test data, the execution data is test information corresponding to specific execution content of the coverage rate data, and the version data is source code version information corresponding to the coverage rate data. And the server generates a mapping relation of the symbol data, the execution data and the version data, and gathers the test data according to the mapping relation to generate a coverage rate test report.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the invention, and all equivalent structural changes made by the specification and drawings of the present invention or direct/indirect application in other related technical fields are included in the scope of the present invention.

Claims (7)

1. The coverage rate scheduling test method is characterized by comprising the following steps of:
the method comprises the steps that a server obtains a plurality of coverage rate data sent by a receiving terminal in a preset time interval;
acquiring attribute information corresponding to the coverage rate data;
acquiring processing terminals corresponding to the coverage rate data according to the attribute information, so that the processing terminals can generate coverage rate test data according to the received coverage rate data;
the step of obtaining the processing terminal corresponding to each coverage rate data according to the attribute information so that the processing terminal generates coverage rate test data according to the received coverage rate data comprises the following steps:
classifying the coverage rate data according to the attribute information to obtain at least two coverage rate data sets;
acquiring first quantity information of the coverage rate data set;
acquiring the corresponding processing terminal of each coverage rate data set according to the first quantity information;
the coverage rate data set is sent to the corresponding processing terminal, so that the processing terminal can generate coverage rate test data according to the received coverage rate data set;
the step of obtaining the processing terminal corresponding to each coverage rate data set according to the first quantity information includes:
acquiring second quantity information of the processing terminal currently connected with the server;
distributing the corresponding processing terminals of each coverage rate data set according to the second quantity information and the first quantity information;
the step of obtaining the processing terminal corresponding to each coverage rate data set according to the first quantity information further includes:
acquiring third quantity information of coverage rate data contained in each coverage rate data set and fourth quantity information of coverage rate data currently processed in each processing terminal;
and determining the corresponding processing terminal of each coverage rate data set according to the third quantity information and the fourth quantity information.
2. The coverage scheduling test method of claim 1, further comprising:
when coverage rate data is received, acquiring a receiving time point of the coverage rate data;
the receiving time point is associated with the coverage rate data and stored;
executing the step that the server acquires a plurality of coverage rate data sent by the receiving terminal in a preset time interval when the current time point reaches the ending time point of the preset period;
and the time interval corresponding to the preset period is equal to the preset time interval, and the ending time point is updated according to the current time point and the preset time interval.
3. The coverage scheduling test method according to claim 1, wherein after the step of obtaining, according to the attribute information, the processing terminal corresponding to each coverage data, so that the processing terminal generates coverage test data according to the received coverage data, the coverage scheduling test method further includes:
and after receiving the coverage rate test data returned by the processing terminal, generating a coverage rate test report according to the coverage rate test data.
4. The coverage scheduling test method of claim 3, wherein the coverage test data comprises:
at least one of symbol data, execution data, and version data.
5. The coverage scheduling test method of claim 4, wherein the step of generating a coverage test report from the coverage test data comprises:
generating a mapping relation among the symbol data, the execution data and the version data;
and generating the coverage rate test report according to the mapping relation.
6. A terminal device, characterized in that it comprises a memory, a processor and a control program of a coverage scheduling test method stored on the memory and executable on the processor, which when executed by the processor realizes the steps of the coverage scheduling test method according to any one of claims 1 to 5.
7. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a control program of a coverage scheduling test method, which when executed by a processor, implements the steps of the coverage scheduling test method according to any one of claims 1 to 5.
CN201911313530.0A 2019-12-17 2019-12-17 Coverage rate scheduling test method, terminal equipment and computer readable storage medium Active CN111008143B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911313530.0A CN111008143B (en) 2019-12-17 2019-12-17 Coverage rate scheduling test method, terminal equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911313530.0A CN111008143B (en) 2019-12-17 2019-12-17 Coverage rate scheduling test method, terminal equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111008143A CN111008143A (en) 2020-04-14
CN111008143B true CN111008143B (en) 2023-06-13

Family

ID=70116850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911313530.0A Active CN111008143B (en) 2019-12-17 2019-12-17 Coverage rate scheduling test method, terminal equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111008143B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115658534B (en) * 2022-11-04 2024-01-19 上海安般信息科技有限公司 Distributed fuzzy test method and device based on multi-engine fusion

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294114A (en) * 2015-06-08 2017-01-04 阿里巴巴集团控股有限公司 A kind of code coverage acquisition methods, server and application apparatus to be measured
CN108829593A (en) * 2018-06-05 2018-11-16 平安壹钱包电子商务有限公司 Code coverage calculation and analysis methods, device, equipment and storage medium
CN109684221A (en) * 2018-12-27 2019-04-26 江苏满运软件科技有限公司 Test code coverage acquisition method, system, equipment and medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10289532B2 (en) * 2015-04-08 2019-05-14 Opshub, Inc. Method and system for providing delta code coverage information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294114A (en) * 2015-06-08 2017-01-04 阿里巴巴集团控股有限公司 A kind of code coverage acquisition methods, server and application apparatus to be measured
CN108829593A (en) * 2018-06-05 2018-11-16 平安壹钱包电子商务有限公司 Code coverage calculation and analysis methods, device, equipment and storage medium
CN109684221A (en) * 2018-12-27 2019-04-26 江苏满运软件科技有限公司 Test code coverage acquisition method, system, equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
姜文 ; 刘立康 ; .基于持续集成的C/C++软件覆盖率测试.计算机技术与发展.2017,(第03期),第43-47+52页. *

Also Published As

Publication number Publication date
CN111008143A (en) 2020-04-14

Similar Documents

Publication Publication Date Title
US20210240721A1 (en) Application Recommending Method and System, and Server
CN108521353B (en) Processing method and device for positioning performance bottleneck and readable storage medium
CN104838405B (en) The method and system of test frame for application program
CN108255707B (en) Development role creating method, device, equipment and storage medium of test case
JP2015534688A (en) Application development, compilation, and debugging method and apparatus
CN107786601B (en) Information processing method, terminal and server
CN109726108B (en) Front-end code testing method, device, system and medium based on analog data
CN103246606B (en) The performance test methods of ESB platform and system
CN105357475A (en) Video playing method and device
CN109871308B (en) Automatic test method and device, terminal equipment and computer readable storage medium
CN113672441B (en) Method and device for testing intelligent equipment
CN110968468A (en) Pressure testing method, terminal device and computer storage medium
CN103605610A (en) System and method for software testing based on Hadoop
CN111008143B (en) Coverage rate scheduling test method, terminal equipment and computer readable storage medium
CN109586988B (en) Webpage opening delay testing method, network equipment and intelligent gateway
CN111045879B (en) Method, device and storage medium for generating pressure test report
CN115794641A (en) Method, device and equipment for making number based on business process and storage medium
CN109144840A (en) A kind of test method, device and its equipment
CN111132038A (en) Information interaction method and system, AMF entity and 5G terminal
CN111078563A (en) Coverage rate data processing method, terminal device and computer readable storage medium
CN111078518B (en) Data acquisition method, terminal device and computer readable storage medium
CN106294104B (en) Test case execution method and mobile terminal
CN109254847B (en) Tenant mapping information acquisition method and device
CN109962804B (en) System and method for distributing service grade
CN106547679B (en) Script management method and script management platform

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