CN114416580A - Test case distribution method, device, equipment and storage medium - Google Patents

Test case distribution method, device, equipment and storage medium Download PDF

Info

Publication number
CN114416580A
CN114416580A CN202210087299.3A CN202210087299A CN114416580A CN 114416580 A CN114416580 A CN 114416580A CN 202210087299 A CN202210087299 A CN 202210087299A CN 114416580 A CN114416580 A CN 114416580A
Authority
CN
China
Prior art keywords
tested
case
target
quality control
control factor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210087299.3A
Other languages
Chinese (zh)
Inventor
邵永恰
王欣
苏畅
徐伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202210087299.3A priority Critical patent/CN114416580A/en
Publication of CN114416580A publication Critical patent/CN114416580A/en
Pending legal-status Critical Current

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The invention discloses a test case distribution method, a test case distribution device, test case distribution equipment and a storage medium. The method comprises the following steps: acquiring a target case set to be tested; determining at least one address information corresponding to each target case to be tested according to at least one quality control factor carried by each target case to be tested; and sending each target case to be tested in the target case set to a corresponding terminal device according to at least one address information corresponding to each target case to be tested.

Description

Test case distribution method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a test case distribution method, a test case distribution device, test case distribution equipment and a storage medium.
Background
The whole scale of current software system is bigger and bigger, the complexity is higher and higher, research and development test work's the degree of difficulty and work load also rise day by day, research and development test team scale is progressively enlarged, from this for accomplishing system construction and optimization work, need disassemble research and development test task layer upon layer, the work content that everyone is responsible for is infinitely refined, though can accomplish whole task equally, how link up between task after disassembling and the task, how control of intermodule uniformity, the ability level of different people or different subgroups can lead to the completion degree and the quality of different tasks to have very big difference, thereby influence the whole quality control of system.
Disclosure of Invention
The embodiment of the invention provides a test case distribution method, a test case distribution device, test case distribution equipment and a storage medium, which can carry out test work from multiple different dimensions according to quality control factors and improve the test level.
In a first aspect, an embodiment of the present invention provides a test case distribution method, including: acquiring a target case set to be tested;
determining at least one address information corresponding to each target case to be tested according to at least one quality control factor carried by each target case to be tested;
and sending each target case to be tested in the target case set to the corresponding terminal equipment according to the at least one address information corresponding to each target case to be tested.
In a second aspect, an embodiment of the present invention further provides a test case distribution apparatus, where the test case distribution apparatus includes:
the acquisition module is used for acquiring a target case set to be tested;
the determining module is used for determining at least one piece of address information corresponding to each target case to be tested according to at least one quality control factor carried by each target case to be tested;
and the sending module is used for sending each target case to be tested in the target case set to be tested to the corresponding terminal equipment according to the at least one piece of address information corresponding to each target case to be tested.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the method according to any one of the embodiments of the present invention.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method according to any one of the embodiments of the present invention.
The embodiment of the invention obtains a target case set to be tested; determining at least one address information corresponding to each target case to be tested according to at least one quality control factor carried by each target case to be tested; and sending each target case to be tested in the target case set to the corresponding terminal equipment according to at least one address information corresponding to each target case to be tested, so that test work can be carried out from multiple different dimensions according to the quality control factor, and the test level is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a flow chart of a test case assignment method in an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a test case dispensing apparatus in an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer-readable storage medium containing a computer program in an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
The term "include" and variations thereof as used herein are intended to be open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment".
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 is a flowchart of a test case distribution method according to an embodiment of the present invention, where the present embodiment is applicable to a case of test case distribution, and the method may be executed by a test case distribution apparatus according to an embodiment of the present invention, and the apparatus may be implemented in a software and/or hardware manner, as shown in fig. 1, the method specifically includes the following steps:
s110, acquiring a target case set to be tested.
Wherein the target case set to be tested comprises at least one target case to be tested, and the target case to be tested comprises: the case description information and the at least one quality control factor may, for example, be such that the target case to be tested X comprises: case description information P, quality control factor A, quality control factor B and quality control factor C; target test case Y includes: case description information Q, quality control factor a, quality control factor B, quality control factor C, and quality control factor D.
Specifically, the manner of obtaining the target case set to be tested may be: acquiring a case set to be tested; determining a target rule table according to the number of the cases to be tested in the case set to be tested and the number of the terminal devices; inquiring the target rule table to obtain a quality control factor set corresponding to each case to be tested; and updating each case to be tested according to the quality control factor set corresponding to each case to be tested to obtain a target case set to be tested. The method for acquiring the target case set to be tested can also be as follows: acquiring a case set to be tested; determining a quality control factor set corresponding to each to-be-tested case according to case description information of each to-be-tested case in the to-be-tested case set, and updating each to-be-tested case according to the quality control factor set corresponding to each to-be-tested case to obtain a target to-be-tested case set. The embodiments of the present invention are not limited in this regard.
S120, determining at least one address information corresponding to each target case to be tested according to at least one quality control factor carried by each target case to be tested.
Specifically, the manner of determining at least one address information corresponding to each target case to be tested according to at least one quality control factor carried by each target case to be tested may be: and pre-establishing a database, wherein the database stores the corresponding relation between the quality control factors and the address information, and inquiring the database according to at least one quality control factor carried by each target case to be tested to obtain at least one address information corresponding to each target case to be tested. For example, a database may be established in advance, and the database stores: the method comprises the following steps that a quality control factor A corresponds to address information 1, a quality control factor B corresponds to address information 2, a quality control factor C corresponds to address information 3 and a quality control factor D corresponds to address information 4, and if a target case X to be tested comprises: case description information P, quality control factor A, quality control factor B and quality control factor C; determining address information 1, address information 2 and address information 3 corresponding to the target case X to be tested; if the target case Y to be tested comprises: and determining the address information 1, the address information 2, the address information 3 and the address information 4 corresponding to the target case Y to be tested according to the case description information Q, the quality control factor A, the quality control factor B, the quality control factor C and the quality control factor D.
S130, each target case to be tested in the target case set to be tested is sent to the corresponding terminal device according to the at least one address information corresponding to each target case to be tested.
Specifically, each target case to be tested in the target case set to be tested is sent to the corresponding terminal device according to at least one address information corresponding to each target case to be tested, for example, a database is pre-established, and is stored with: the method comprises the following steps that a quality control factor A corresponds to address information 1, a quality control factor B corresponds to address information 2, a quality control factor C corresponds to address information 3 and a quality control factor D corresponds to address information 4, and if a target case X to be tested comprises: case description information P, quality control factor A, quality control factor B and quality control factor C; determining address information 1, address information 2 and address information 3 corresponding to the target case X to be tested; and sending the target case X to be tested to the terminal equipment corresponding to the address information 1, sending the target case X to be tested to the terminal equipment corresponding to the address information 2, and sending the target case X to be tested to the terminal equipment corresponding to the address information 3. If the target case Y to be tested comprises: and determining the address information 1, the address information 2, the address information 3 and the address information 4 corresponding to the target case Y to be tested according to the case description information Q, the quality control factor A, the quality control factor B, the quality control factor C and the quality control factor D. And sending the target case Y to be tested to the terminal equipment corresponding to the address information 1, sending the target case Y to be tested to the terminal equipment corresponding to the address information 2, sending the target case Y to be tested to the terminal equipment corresponding to the address information 3, and sending the target case Y to be tested to the terminal equipment corresponding to the address information 4.
Optionally, obtaining the target case set to be tested includes:
acquiring a case set to be tested;
determining a target rule table according to the number of the cases to be tested in the case set to be tested and the number of the terminal devices;
inquiring the target rule table to obtain a quality control factor set corresponding to each case to be tested;
and updating each case to be tested according to the quality control factor set corresponding to each case to be tested to obtain a target case set to be tested.
Wherein, the case set to be tested comprises at least one case to be tested, and each case comprises: case description and case numbering.
The determining manner of the number of the cases to be tested in the case set to be tested may be determining the number of the cases to be tested in the case set to be tested according to the number of the cases to be tested, and the determining manner of the number of the cases to be tested in the case set to be tested may be determining the number of the cases to be tested in the case set to be tested according to the number of the case information.
Specifically, the method for determining the target rule table according to the number of the cases to be tested in the case set to be tested and the number of the terminal devices may be: if the ratio of the number of the cases to be tested in the case set to be tested to the number of the terminal devices is greater than or equal to a first ratio threshold, determining a coarse dimension rule table as a target rule table; and if the ratio of the number of the cases to be tested in the case set to be tested to the number of the terminal equipment is smaller than a first ratio threshold, determining the fine dimension rule table as a target rule table.
Specifically, the manner of querying the target rule table to obtain the quality control factor set corresponding to each to-be-tested case may be: acquiring case description information corresponding to each case to be tested; and querying the target rule table to obtain a quality control factor set corresponding to the case description information corresponding to each case to be tested.
Specifically, the manner of updating each to-be-tested case according to the quality control factor set corresponding to each to-be-tested case to obtain the target to-be-tested case set may be: adding the quality control factor set corresponding to each to-be-tested case to obtain a target to-be-tested case, for example, the to-be-tested case W may include: case description information O and case number 12, and the quality control factor set corresponding to the case W to be tested includes: the quality control factor A, the quality control factor B, the quality control factor C and the quality control factor D are used for updating the to-be-tested case W according to the quality control factor set, and the obtained target to-be-tested case W comprises: case description information O, case number 12, quality control factor a, quality control factor B, quality control factor C, and quality control factor D.
Optionally, determining a target rule table according to the number of the cases to be tested in the set of cases to be tested and the number of the terminal devices, includes:
if the ratio of the number of the cases to be tested in the case set to be tested to the number of the terminal devices is greater than or equal to a first ratio threshold, determining a coarse dimension rule table as a target rule table;
and if the ratio of the number of the cases to be tested in the case set to be tested to the number of the terminal equipment is smaller than a first ratio threshold, determining the fine dimension rule table as a target rule table.
The first ratio threshold is a preset value, which is not limited in the embodiment of the present invention.
Wherein the coarse dimension rule table comprises: each to-be-tested case and the quality control factor, wherein the fine dimension rule table comprises: the coarse dimension rule table can correspond to one quality control factor for one case to be tested, and the fine dimension rule table can correspond to at least two quality control factors for one case to be tested.
Optionally, querying the target rule table to obtain a quality control factor set corresponding to each to-be-tested case, including:
acquiring case description information corresponding to each case to be tested;
and querying the target rule table to obtain a quality control factor set corresponding to the case description information corresponding to each case to be tested.
The target rule table may store a corresponding relationship between the case description information and the quality control factor, and for example, the target rule table may include: the case description information O corresponds to the quality control factor a and the quality control factor B, the case description information P corresponds to the quality control factor C and the quality control factor B, and the case description information Q corresponds to the quality control factor a, the quality control factor B, and the quality control factor C.
Specifically, the target rule table is queried to obtain the quality control factor set corresponding to the case description information corresponding to each to-be-tested case, for example, if the case description information corresponding to the test case is the case description information O, the target rule table is queried to obtain the quality control factor a and the quality control factor B corresponding to the case description information O.
Optionally, the manner of querying the target rule table to obtain the quality control factor set corresponding to the case description information corresponding to each to-be-tested case may further be: determining at least one keyword according to the case description information corresponding to each case to be tested, inquiring the target rule table to obtain the quality control factor corresponding to each keyword, and further obtaining the quality control factor set corresponding to the case description information corresponding to each case to be tested. For example, the target rule table may store: the keyword J corresponds to a quality control factor A, the keyword K corresponds to a quality control factor B, and the keyword L corresponds to a quality control factor C, if the quality control factor C is included in case description information corresponding to the case to be tested: and determining that the quality control factor set corresponding to the to-be-tested case comprises the following steps of: quality control factor a and quality control factor B.
Optionally, determining at least one address information corresponding to each target case to be tested according to at least one quality control factor carried by each target case to be tested, including:
acquiring field values of at least one quality control factor carried by each target case to be tested;
and determining at least one piece of address information corresponding to each target case to be tested according to the field value of at least one quality control factor carried by each target case to be tested.
The field value of the quality control factor may be a function name, a module name, a preset character, and the like, which is not limited in this embodiment of the present invention.
Specifically, the manner of determining at least one address information corresponding to each target case to be tested according to the field value of at least one quality control factor carried by each target case to be tested may be: a database is established in advance, the database stores the corresponding relation between the field value of the quality control factor and the address information, and the database is inquired according to the field value of at least one quality control factor carried by each target case to be tested, so as to obtain at least one address information corresponding to each target case to be tested.
Optionally, the method further includes:
and receiving test result data fed back by at least one terminal device and a quality control factor corresponding to the test result data.
Along with the increase of business complexity, the expansion of user scale and the like, the overall scale and complexity of a part of current systems are increased day by day, the research and development and test workload of the system is also increased day by day, a part of systems can not be subjected to the overall construction and subsequent upgrade optimization process by independent individuals or small teams, in order to complete the research and development test work of the system, the number of research and test teams is increased, the tasks are decomposed more and more, the task content responsible for a single person is infinitely specified, the project responsible person can only carry out overall control on the architecture and the like, and the specific quality control after the tasks are decomposed depends on the execution level of the test work to a great extent. However, the current testing work and the development work are the same, the whole task is continuously disassembled, the testing division and the development work are similar, and the testing is also performed according to the functional modules, the testing personnel of each module can only ensure the testing quality in the module, the testing quality control level outside the module is relatively weak, and in addition, the consistency control level of the system logic and the business logic is also relatively poor. For example, there are differences in code writing modes of different developers, there are differences in error reporting returns of different developers for the same scene, and even complete consistency of implementation modes cannot be guaranteed after decomposition of symmetric or similar business processes, so that detailed design documents need to be provided in development to some extent for solving the above problems.
The current testing division of labor is similar to the development division of labor, and is only completed according to one dimension of module functions, in the development process, the same code cannot be written by different people, but in the testing process, under the condition that human resources and project periods are relatively sufficient and controllable, the testing division of labor can be disassembled from multiple dimensions, besides the functional module, other dimensions can be determined according to the quality control direction of a research and development testing team target, for example, cross-transaction element verification and error reporting, the same service rules which need to be covered by different channels, the realization modes of symmetrical or similar service flows and the like. Through multi-dimensional disassembly of the test tasks, the case test tasks of a certain concern point under a certain dimension can be all distributed to the same tester or test group, so that test work can be carried out from a plurality of different dimensions, and the system quality is controlled.
The embodiment of the invention fills the dimension of the case in the case compiling stage, subsequently performs test task allocation according to a plurality of dimensions, is applied to project test of multi-person cooperation of a large-scale team, and can improve the consistency of code logic, service logic, interfaces and other aspects of a tested system, improve user experience and improve the quality control level among task modules after task decomposition on the premise of ensuring the normal realization of functions.
The current test case compiling and test executing is characterized in that the number of test cases is controlled as much as possible on the premise of ensuring the test coverage rate, so that the test workload is controlled, the project such as on-line schedule is ensured, and the project construction period and the cost are reduced. The method is mainly applied to execution distribution of the test cases, and the quality level of the test is improved by disassembling and distributing the test execution tasks. Generally, test cases can be directly split to be executed by testers according to modules and the like, after the task allocation of functions is completed, all cases under each module or function are not distinguished any more, and the task workers directly complete the execution of all test cases under the module or function.
In a specific example, the detailed steps implemented by the embodiment of the present invention are as follows:
the quality control factors needed to be included in the test execution process, namely the division dimension of the test case and the test task, are determined in the test scheme. For example, the quality control factor — functional correctness, whose field value can fill in a specific module or function, i.e., distinguish according to the current case distribution mode; as for quality control factors, namely element verification, all cases related to amount verification can be distinguished across transactions, transactions related to the same parameter or unified parameter type, transactions related to account name input and consistency verification and transactions related to user override verification are distributed to the same tester to be executed, if different transactions have differences aiming at errors in the same scene, developers can be communicated to request for unified error reporting and verification rules, so that the uniformity and readability of error reporting are ensured, and if test task distribution is carried out according to the current thinking, different modules or transactions cannot be guaranteed at all; for example, a bank is taken as an example, a certain account transaction background finishes transaction processing and storage by a core system, but the channels for uploading the transactions comprise a counter, an ATM (automatic teller machine), an online bank, a palm bank, an ERP (enterprise resource planning) and other customer channels and credit card, loan, financing and other related systems, the transactions of different channels have channel related rules, but some business rule verification needs to be covered by each channel, so that a channel label can be printed for a case, and related case execution is distributed to the same tester or test group for completion, thereby ensuring that each channel finishes necessary verification according to business rules and returns relatively consistent error reporting; also, for example, the quality control factor — interface uniformity, whether different transactions in the same process, similar transactions in a symmetrical or similar process, are uniform in interface style, may be tested by a single tester or a group.
The quality control factors are screened by the test responsible person according to the project characteristics and the test target, including but not limited to the above angles, and the test person can perform filling expansion according to the dimension required by task decomposition.
In the test case compiling process, besides the fields of conventional case numbers, case descriptions, case attributes, steps, expected results and the like, a plurality of quality control factor fields are added, each field determines the field value according to the test attention point and the requirement of subsequent task distribution, the quality control factor value is filled according to the case characteristics in the case compiling process, and equivalently, different labels are marked on a plurality of dimensions for each case. Each target test case should have a value at least under one of the quality control factors, but there is no requirement that there be a value in every dimension.
Based on the above description, a target test case may be written with reference to the following table 1:
TABLE 1
Figure BDA0003487465150000121
Figure BDA0003487465150000131
3. The test responsible person carries out the distribution of test tasks according to the dimension of the case and the requirement of the test target, and in the process of distributing the tasks, the following steps are required to be ensured: (1) each case is assigned at least 1 time, i.e., each case is executed at least 1 time, (2) case coverage has been completed for each dimension that needs to be tested.
4. And the tester executes the distributed test task and marks the quality control factor to which the defect belongs in the process of feeding back the defect and the suggestion.
According to the technical scheme of the embodiment, a target case set to be tested is obtained; determining at least one address information corresponding to each target case to be tested according to at least one quality control factor carried by each target case to be tested; and sending each target case to be tested in the target case set to the corresponding terminal equipment according to at least one address information corresponding to each target case to be tested, so that test work can be carried out from multiple different dimensions according to the quality control factor, and the test level is improved.
Fig. 2 is a schematic structural diagram of a test case distribution device according to an embodiment of the present invention. The present embodiment may be applied to the case of test case assignment, the apparatus may be implemented in software and/or hardware, and the apparatus may be integrated into any device providing a test case assignment function, as shown in fig. 2, where the test case assignment apparatus specifically includes: an acquisition module 210, a determination module 220, and a sending module 230.
The system comprises an acquisition module, a test module and a test module, wherein the acquisition module is used for acquiring a target case set to be tested;
the determining module is used for determining at least one piece of address information corresponding to each target case to be tested according to at least one quality control factor carried by each target case to be tested;
and the sending module is used for sending each target case to be tested in the target case set to be tested to the corresponding terminal equipment according to the at least one piece of address information corresponding to each target case to be tested.
Optionally, the obtaining module is specifically configured to:
acquiring a case set to be tested;
determining a target rule table according to the number of the cases to be tested in the case set to be tested and the number of the terminal devices;
inquiring the target rule table to obtain a quality control factor set corresponding to each case to be tested;
and updating each case to be tested according to the quality control factor set corresponding to each case to be tested to obtain a target case set to be tested.
The product can execute the method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
According to the technical scheme of the embodiment, a target case set to be tested is obtained; determining at least one address information corresponding to each target case to be tested according to at least one quality control factor carried by each target case to be tested; and sending each target case to be tested in the target case set to the corresponding terminal equipment according to at least one address information corresponding to each target case to be tested, so that test work can be carried out from multiple different dimensions according to the quality control factor, and the test level is improved.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. FIG. 3 illustrates a block diagram of an electronic device 312 suitable for use in implementing embodiments of the present invention. The electronic device 312 shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of the use of the embodiment of the present invention. Device 312 is a computing device for typical trajectory fitting functions.
As shown in fig. 3, electronic device 312 is in the form of a general purpose computing device. The components of the electronic device 312 may include, but are not limited to: one or more processors 316, a storage device 328, and a bus 318 that couples the various system components including the storage device 328 and the processors 316.
Bus 318 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
Electronic device 312 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 312 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 328 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 330 and/or cache Memory 332. The electronic device 312 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 334 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 3, and commonly referred to as a "hard drive"). Although not shown in FIG. 3, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk-Read Only Memory (CD-ROM), a Digital Video disk (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 318 by one or more data media interfaces. Storage 328 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program 336 having a set (at least one) of program modules 326 may be stored, for example, in storage 328, such program modules 326 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which may comprise an implementation of a network environment, or some combination thereof. Program modules 326 generally carry out the functions and/or methodologies of embodiments of the invention as described herein.
Electronic device 312 may also communicate with one or more external devices 314 (e.g., keyboard, pointing device, camera, display 324, etc.), with one or more devices that enable a user to interact with electronic device 312, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 312 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 322. Also, the electronic device 312 may communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), and/or a public Network, such as the internet) via the Network adapter 320. As shown, a network adapter 320 communicates with the other modules of the electronic device 312 via the bus 318. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 312, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape drives, and data backup storage systems, to name a few.
Processor 316 executes various functional applications and data processing by executing programs stored in storage 328, for example, to implement the test case assignment method provided by the above-described embodiment of the present invention:
acquiring a target case set to be tested;
determining at least one address information corresponding to each target case to be tested according to at least one quality control factor carried by each target case to be tested;
and sending each target case to be tested in the target case set to the corresponding terminal equipment according to the at least one address information corresponding to each target case to be tested.
Fig. 4 is a schematic structural diagram of a computer-readable storage medium containing a computer program according to an embodiment of the present invention. Embodiments of the present invention provide a computer-readable storage medium 61, on which a computer program 610 is stored, which when executed by one or more processors implements the test case assignment method provided by all embodiments of the invention of the present application:
acquiring a target case set to be tested;
determining at least one address information corresponding to each target case to be tested according to at least one quality control factor carried by each target case to be tested;
and sending each target case to be tested in the target case set to the corresponding terminal equipment according to the at least one address information corresponding to each target case to be tested.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (Hyper Text Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A test case assignment method, comprising:
acquiring a target case set to be tested;
determining at least one address information corresponding to each target case to be tested according to at least one quality control factor carried by each target case to be tested;
and sending each target case to be tested in the target case set to the corresponding terminal equipment according to the at least one address information corresponding to each target case to be tested.
2. The method of claim 1, wherein obtaining a target set of cases to be tested comprises:
acquiring a case set to be tested;
determining a target rule table according to the number of the cases to be tested in the case set to be tested and the number of the terminal devices;
inquiring the target rule table to obtain a quality control factor set corresponding to each case to be tested;
and updating each case to be tested according to the quality control factor set corresponding to each case to be tested to obtain a target case set to be tested.
3. The method of claim 2, wherein determining a target rule table according to the number of cases to be tested in the set of cases to be tested and the number of terminal devices comprises:
if the ratio of the number of the cases to be tested in the case set to be tested to the number of the terminal devices is greater than or equal to a first ratio threshold, determining a coarse dimension rule table as a target rule table;
and if the ratio of the number of the cases to be tested in the case set to be tested to the number of the terminal equipment is smaller than a first ratio threshold, determining the fine dimension rule table as a target rule table.
4. The method of claim 2, wherein querying the target rule table to obtain a set of quality control factors corresponding to each tested case comprises:
acquiring case description information corresponding to each case to be tested;
and querying the target rule table to obtain a quality control factor set corresponding to the case description information corresponding to each case to be tested.
5. The method of claim 1, wherein determining at least one address information corresponding to each target case to be tested according to at least one quality control factor carried by each target case to be tested comprises:
acquiring field values of at least one quality control factor carried by each target case to be tested;
and determining at least one piece of address information corresponding to each target case to be tested according to the field value of at least one quality control factor carried by each target case to be tested.
6. The method of claim 1, further comprising:
and receiving test result data fed back by at least one terminal device and a quality control factor corresponding to the test result data.
7. A test case dispensing apparatus, comprising:
the acquisition module is used for acquiring a target case set to be tested;
the determining module is used for determining at least one piece of address information corresponding to each target case to be tested according to at least one quality control factor carried by each target case to be tested;
and the sending module is used for sending each target case to be tested in the target case set to be tested to the corresponding terminal equipment according to the at least one piece of address information corresponding to each target case to be tested.
8. The apparatus of claim 7, wherein the obtaining module is specifically configured to:
acquiring a case set to be tested;
determining a target rule table according to the number of the cases to be tested in the case set to be tested and the number of the terminal devices;
inquiring the target rule table to obtain a quality control factor set corresponding to each case to be tested;
and updating each case to be tested according to the quality control factor set corresponding to each case to be tested to obtain a target case set to be tested.
9. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the processors to implement the method of any of claims 1-6.
10. A computer-readable storage medium containing a computer program, on which the computer program is stored, characterized in that the program, when executed by one or more processors, implements the method according to any one of claims 1-6.
CN202210087299.3A 2022-01-25 2022-01-25 Test case distribution method, device, equipment and storage medium Pending CN114416580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210087299.3A CN114416580A (en) 2022-01-25 2022-01-25 Test case distribution method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210087299.3A CN114416580A (en) 2022-01-25 2022-01-25 Test case distribution method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114416580A true CN114416580A (en) 2022-04-29

Family

ID=81277045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210087299.3A Pending CN114416580A (en) 2022-01-25 2022-01-25 Test case distribution method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114416580A (en)

Similar Documents

Publication Publication Date Title
US10242406B2 (en) Analytics integration workbench within a comprehensive framework for composing and executing analytics applications in business level languages
US8401993B2 (en) Analytics integration server within a comprehensive framework for composing and executing analytics applications in business level languages
US20180174243A1 (en) Systems, methods and apparatus for enhanced navigation in preparation of an electronic tax return
CN111857674A (en) Business product generation method and device, electronic equipment and readable storage medium
CN114201718A (en) Dynamically configurable form instance generation method and device
CN113515271A (en) Service code generation method and device, electronic equipment and readable storage medium
CN112181376A (en) Code resource management method, device, electronic equipment and medium
CN110795638A (en) Method and apparatus for outputting information
CN114416580A (en) Test case distribution method, device, equipment and storage medium
CN115760013A (en) Operation and maintenance model construction method and device, electronic equipment and storage medium
CN114217790A (en) Interface scheduling method and device, electronic equipment and medium
CN111405060B (en) Service influence range determining method, device, tool and electronic equipment
CN114707961A (en) Pending task execution method, device, equipment, medium and program product based on approval flow configuration
CN112907141A (en) Pressure testing method, device, equipment and storage medium
CN112184406A (en) Data processing method, system, electronic device and computer readable storage medium
US20160358113A1 (en) Attribute-based nomenclature in supply chains
CN112990741A (en) Workload assessment method, device, equipment and storage medium
CN112988576A (en) Method and device for determining software project research and development process
CN113742225B (en) Test data generation method, device, equipment and storage medium
CN115658749B (en) Fund product ordering method and device based on directed acyclic graph and electronic equipment
US11604801B2 (en) Techniques for accessing on-premise data sources from public cloud for designing data processing pipelines
CN113792051B (en) Data processing method, system, equipment and storage medium based on multi-mode lock
CN111882294B (en) Method and device for flow approval
US20150006431A1 (en) Providing resource access
CN114817073A (en) Automated testing method, apparatus, device, medium, and 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