CN110888797A - Test data generation method and device, computer equipment and storage medium - Google Patents

Test data generation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110888797A
CN110888797A CN201910965006.5A CN201910965006A CN110888797A CN 110888797 A CN110888797 A CN 110888797A CN 201910965006 A CN201910965006 A CN 201910965006A CN 110888797 A CN110888797 A CN 110888797A
Authority
CN
China
Prior art keywords
test
target
target test
item
data
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
CN201910965006.5A
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.)
Ping An Trust Co Ltd
Original Assignee
Ping An Trust 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 Ping An Trust Co Ltd filed Critical Ping An Trust Co Ltd
Priority to CN201910965006.5A priority Critical patent/CN110888797A/en
Publication of CN110888797A publication Critical patent/CN110888797A/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
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management

Landscapes

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

Abstract

The invention discloses a test data generation method, a test data generation device, computer equipment and a storage medium, wherein a test data generation request is obtained and comprises a target test item, a test data amount and a combined algorithm; based on the target test items, acquiring an initial test case set from a preset optional test case set, wherein the initial test case set comprises the target test items and initial test values corresponding to each target test item; establishing a mapping relation between each target test item and the corresponding initial test value, and generating a test case set to be selected; based on the test data volume, combining the to-be-selected test pairs corresponding to each target test item by adopting a combination algorithm to obtain a target test case set; performing data mapping on each target test value in each target test case in the target test case set to generate target test data; therefore, the accuracy of the generated test data is ensured, and meanwhile, the generation efficiency of the test data is further improved.

Description

Test data generation method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of data testing, and in particular, to a method and an apparatus for generating test data, a computer device, and a storage medium.
Background
Testing is an extremely important stage of software quality assurance in a software development cycle, and testing itself is limited by the enormous size of test data and the great labor cost. However, whether manual testing or automatic testing is adopted, data preparation is always a necessary process in a software testing process, and particularly for automatic testing, the reusability of test data and the data driving characteristics of a test architecture make the efficiency and accuracy of testing more dependent on a data preparation link. Thus, in order to reduce the cost of test data generation, many test data generation techniques have been proposed, such as: based on API calls, etc. Compared with the traditional manual test data generation method based on the API calling mode, although most of business processes are omitted, the execution efficiency is improved, but not all data creations have corresponding APIs to be called, and when massive test data is needed, the test data generation efficiency adopting the API calling mode is not satisfactory.
Disclosure of Invention
The embodiment of the invention provides a test data generation method and device, computer equipment and a storage medium, and aims to solve the problem of low test data generation efficiency.
A test data generation method, comprising:
acquiring a test data generation request, wherein the test data generation request comprises a target test item, a test data volume and a combined algorithm;
acquiring an initial test case set from an optional test case set based on the target test items, wherein the initial test case set comprises the target test items and initial test values corresponding to each target test item;
establishing a mapping relation between each target test item and the corresponding initial test value, and generating a test case set to be selected, wherein the test case set to be selected comprises a test pair to be selected corresponding to each target test item;
based on the test data volume, combining the to-be-selected test pairs corresponding to each target test item by adopting the combination algorithm to obtain a target test case set, wherein the target test case set comprises N target test cases, each target test case comprises a target test value, and the test data volume is N;
and performing data mapping on each target test value in each target test case to generate target test data.
A test data generation apparatus comprising:
the test data generation request acquisition module is used for acquiring a test data generation request, and the test data generation request comprises a target test item, a test data volume and a combination algorithm;
an initial test case set obtaining module, configured to obtain an initial test case set from an optional test case set based on the target test item, where the initial test case set includes target test items and initial test values corresponding to each of the target test items;
the mapping relation establishing module is used for establishing a mapping relation between each target test item and the corresponding initial test value to generate a test case set to be selected, and the test case set to be selected comprises a test pair to be selected corresponding to each target test item;
the combination module is used for combining the to-be-selected test pairs corresponding to each target test item by adopting the combination algorithm based on the test data volume to obtain a target test case set, the target test case set comprises N target test cases, each target test case comprises a target test value, and the test data volume is N;
and the data mapping module is used for performing data mapping on each target test value in each target test case to generate target test data.
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the test data generation method when executing the computer program.
A computer-readable storage medium, which stores a computer program that, when executed by a processor, implements the above-described test data generation method.
According to the test data generation method, the test data generation device, the computer equipment and the storage medium, the test data generation request is obtained and comprises the target test item, the test data amount and the combined algorithm; based on the target test items, acquiring an initial test case set from a preset optional test case set, wherein the initial test case set comprises the target test items and initial test values corresponding to each target test item; establishing a mapping relation between each target test item and the corresponding initial test value, and generating a test case set to be selected, wherein the test case set to be selected comprises a test pair to be selected corresponding to each target test item; based on the test data volume, combining the to-be-selected test pairs corresponding to each target test item by adopting a combination algorithm to obtain a target test case set, wherein the target test case set comprises N target test cases, each target test case comprises a target test value, and the test data volume is N; performing data mapping on each target test value in each target test case to generate target test data; the user can self-define and select the target test item, the test data volume and the combination algorithm according to actual requirements, and when the service scene is complex and massive test data is needed, a large amount of test data can be accurately and quickly generated, so that the accuracy of the generated test data is guaranteed, and the generation efficiency of the test data is further 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 description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a schematic diagram of an application environment of a test data generation method according to an embodiment of the present invention;
FIG. 2 is a diagram of an exemplary test data generation method according to an embodiment of the invention;
FIG. 3 is a diagram of another example of a test data generation method according to an embodiment of the invention;
FIG. 4 is a diagram of another example of a test data generation method according to an embodiment of the invention;
FIG. 5 is a diagram of another example of a test data generation method according to an embodiment of the invention;
FIG. 6 is a diagram of another example of a test data generation method according to an embodiment of the invention;
FIG. 7 is a schematic block diagram of a test data generation apparatus in accordance with an embodiment of the present invention;
FIG. 8 is another functional block diagram of a test data generation apparatus according to an embodiment of the present invention;
FIG. 9 is another functional block diagram of a test data generation apparatus according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of a computer device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The test data generation method provided by the embodiment of the invention can be applied to the application environment shown in fig. 1. Specifically, the test data generation method is applied to a test data generation system, where the test data generation system includes a client and a server shown in fig. 1, and the client and the server communicate with each other through a network to solve the problem of low test data generation efficiency. The client is also called a client, and refers to a program corresponding to the server and providing local services to the client. The client may be installed on, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. The server can be implemented by an independent server or a server cluster composed of a plurality of servers.
In an embodiment, as shown in fig. 2, a method for generating test data is provided, which is described by taking the application of the method to the server in fig. 1 as an example, and includes the following steps:
s10: and acquiring a test data generation request, wherein the test data generation request comprises a target test item, a test data volume and a combination algorithm.
The test data generation request refers to a request for triggering the test system to generate the test data. Alternatively, the test data generation request may be triggered and generated by a user clicking or selecting a target test item on a test item box on the GUI interface, clicking or selecting a test data amount on a test data amount box, and clicking a "confirm" button or inputting a corresponding control instruction through a command line after clicking or selecting a combined algorithm on a combined algorithm box.
The test data generation request includes a target test item, a test data amount, and a combination algorithm. Wherein, the target test item refers to a test item selected according to the actual test requirement. The test item refers to a name obtained by classifying data applied to different scenes. For example: the test item may include at least one of a product type, a customer type parameter type, a user type, or a transaction type. In one embodiment, a plurality of test items are preset on the GUI, and a user can select one or more test items according to actual test requirements to form a target test item. The test data amount refers to the amount of test data selectively generated. For example: the amount of test data may be 10, 100, 1000, etc. The combination algorithm is an algorithm for combining optional data included in different target test items. Alternatively, the combining algorithm may be a sequential combining algorithm, a random combining algorithm, or a traversal combining algorithm, etc. The user can select any one combination algorithm in a self-defined mode according to the actual situation. For example: if random test data are generated, a random combination algorithm can be selected, and if full regression test data are generated, a traversal combination algorithm can be selected.
S20: and acquiring an initial test case set from the selectable test case set based on the target test items, wherein the initial test case set comprises the target test items and initial test values corresponding to each target test item.
The initial test case set refers to test cases which are screened from the selectable test case set and meet the conditions, and understandably, the conditions for screening the selectable test case set mainly depend on the target test items selected by the user. In one embodiment, the selectable test case set is pre-stored in a database of the server, and the selectable test case set includes a plurality of selectable test items, each selectable test item including a plurality of selectable test values. It can be understood that the selectable test value corresponding to each selectable test item is preset by the server according to the actual situation. In this embodiment, the selectable test value corresponding to each selectable test item may be a discrete fixed value that has been set in advance, such as [ a ]1,a2,a3…an](ii) a Or may be a continuous interval value, e.g. [0.01 ]999.9]。
Specifically, after the server acquires the target test items from the test data generation request, a string matching method or a regular matching method may be adopted to match the acquired target test items with all selectable test items in a to-be-selected test case set prestored in the database one by one, then determine the selectable test items successfully matched as the target test items, and finally combine all the determined target test items and the selectable test values corresponding to each target test item to generate an initial test case set. The initial test case set comprises target test items and initial test values corresponding to each target test item.
S30: and establishing a mapping relation between each target test item and the corresponding initial test value, and generating a test case set to be selected, wherein the test case set to be selected comprises a test pair to be selected corresponding to each target test item.
Because each target test item in the initial test case set has a one-to-many relationship with the corresponding initial test value, that is, each target test value corresponds to one or more initial test values at the same time. Therefore, establishing a mapping relationship between each target test item and the corresponding initial test value refers to transforming a one-to-many relationship between each target test item and the corresponding initial test value into a one-to-one mapping relationship. Specifically, each target test item may be used as a key, and the initial test value corresponding to each target test item may be used as a value to form a one-to-one corresponding key value pair, so as to generate a plurality of candidate test pairs corresponding to each target test. Illustratively, if the initial set of test cases obtained is:
A={a1,a2,a3…an},B={b1,b2,b3…bn},C={c1,c2,c3…cn};
wherein, A, B and C are target test items, a1,a2,a3…anAn initial test value corresponding to the target test item A; b1,b2,b3…bnThe initial test value corresponding to the target test item B; c. C1,c2,c3…cnEstablishing a mapping relation between each target test item and each corresponding initial test value for the initial test value corresponding to the target test item C, and generating a generated test case set to be selected as A ═ a1,A=a2,A=a3…A=an;B=b1,B=b2,B=b3…B=bn;C=c1,C=c2,C=c3…C=cn. Wherein, { A ═ a1,A=a2,A=a3…A=anThe test item A is a test item to be selected corresponding to the target test item B, and the target test item B is a test item B1,B=b2,B=b3…B=bnThe test item B is a test item to be selected corresponding to the target test item B; { C ═ C1,C=c2,C=c3…C=cnAnd the test item C is a test pair to be selected corresponding to the target test item C.
S40: and based on the test data volume, combining the to-be-selected test pairs corresponding to each target test item by adopting a combination algorithm to obtain a target test case set, wherein the target test case set comprises N target test cases, each target test case comprises a target test value, and the test data volume is N.
Specifically, after the candidate test pairs corresponding to the target test items are determined, a combination algorithm is required to select and combine the test pairs from the candidate test pairs corresponding to each target test item, so as to generate a target test case set. It can be understood that the number N of the target test cases included in the target test case set is determined by the test data amount, and if the test data amount is 10, the number of the target test cases included in the obtained target test case set is also 10. Each target test case includes a target test item and a corresponding target test value. The target test value refers to a test value obtained by screening selectable test fingers contained in the target test item according to the test data amount and a combination algorithm.
In a specific embodiment, when a user triggers a test data generation request, a combination algorithm can be arbitrarily selected from a GUI interface according to actual conditions to combine the test pairs to be selected corresponding to each target test item, so as to generate a target test case set meeting the test data volume. Specifically, if the combination algorithm carried by the test data generation request is a sequential combination algorithm, target test pairs can be acquired one by one from the test pairs to be selected corresponding to each target test item and combined to generate a target test case meeting the test data volume; if the combination algorithm carried by the test data generation request is a random combination algorithm, a plurality of random arrays are randomly generated in advance, then target test value pairs are obtained from the test values to be selected corresponding to each target test item according to each random array for combination, and a target test case meeting the test data volume is generated; and if the combination algorithm carried by the test data generation request is a traversal combination algorithm, performing traversal reading on the test pairs to be selected corresponding to each target test item to generate a target test case meeting the test data volume. Additionally, if the combined algorithm carried by the test data generation request is a default algorithm, one of the algorithms with the highest algorithm utilization rate is obtained as the combined algorithm according to a history record, wherein the history record refers to an algorithm selected when different historical users recorded and stored by a database execute test data generation.
Additionally, a case processing script can be generated by adopting the test data volume and a combination algorithm, and then the case processing script is adopted to read the test case set to be selected to generate a target test case set. The case processing script is a code to be executed which is composed of SQL statements, and the system can directly read a test case set to be selected according to the case processing script, so that a target test case set is generated.
S50: and performing data mapping on each target test value in each target test case to generate target test data.
Wherein, the target test data refers to the test data required to be generated. In a specific embodiment, each target test value in each target test case is configured with a corresponding data item in advance and stored in a database, after each target test value is obtained, the corresponding data item can be directly obtained from the database according to each target test value, then a one-to-one correspondence relationship between each target test value and the corresponding obtained data item is established, and data mapping is completed, so that target test data is generated. As will be appreciated, the generated target test data includes a one-to-one correspondence between each target test value and the corresponding data item.
Exemplarily, if the target test cases included in the obtained target test case set are { a ═ respectively1,B=b1,C=c1},{A=a2,B=b2,C=c2},{A=a3,B=b3,C=c3Acquiring a target test value a from a database1The corresponding data item is 01, the target test value b1The corresponding data item is 001, the target test value c1The corresponding data item is 0001; target test value a2The corresponding data item is 02, the target test value b2The corresponding data item is 002, the target test value c2The corresponding data item is 0002; target test value a3The corresponding data item is 03, the target test value b3The corresponding data item is 003, the target test value c3If the corresponding data item is 0003, the target test data generated after establishing the one-to-one correspondence between each target test value and the corresponding acquired data item is { a }1=01,b1=001,c1=0001},{a2=02,b2=002,c2=0002},{a3=03,b3=003,c3=0003}。
In the embodiment, a test data generation request is acquired, wherein the test data generation request comprises a target test item, a test data amount and a combination algorithm; based on the target test items, acquiring an initial test case set from a preset optional test case set, wherein the initial test case set comprises the target test items and initial test values corresponding to each target test item; establishing a mapping relation between each target test item and the corresponding initial test value, and generating a test case set to be selected, wherein the test case set to be selected comprises a test pair to be selected corresponding to each target test item; based on the test data volume, combining the to-be-selected test pairs corresponding to each target test item by adopting a combination algorithm to obtain a target test case set, wherein the target test case set comprises N target test cases, each target test case comprises a target test value, and the test data volume is N; performing data mapping on each target test value in each target test case to generate target test data; the user can self-define and select the target test item, the test data volume and the combination algorithm according to actual requirements, and when the service scene is complex and massive test data is needed, a large amount of test data can be accurately and quickly generated, so that the accuracy of the generated test data is guaranteed, and the generation efficiency of the test data is further improved.
In an embodiment, as shown in fig. 3, after performing data mapping on each target test value in each target test case to generate target test data, the test data generating method further includes:
s60: and inserting the target test data into a preset background temporary table.
In order to make the obtained target test data more visual and clear, the target test data can be inserted into the background temporary table, so that a subsequent system can conveniently and directly call the target test data in the background temporary table to update the real service data table. In this embodiment, the background temporary Table may be a Table data Table, and the Table data Table is stored in an oracle database. Specifically, the target test data is inserted into the background temporary table by taking the target test item as a storage unit and inserting the target test data corresponding to different target test items into different temporary tables, or by taking one target test case as a storage unit and inserting the target test data corresponding to each target test case into different temporary tables, or by uniformly inserting all the target test data into one temporary table, and the user can select the target test data in a user-defined manner according to actual conditions. It should be noted that, no matter which way the target test data is inserted into the background temporary table, in the background temporary table, each target test value of the target test data needs to be in one-to-one correspondence with the position of the corresponding data item.
S70: and updating the target data table according to the target test data in the background temporary table.
Since the target test data in the background temporary table is composed of the individual independent test values and the corresponding data items, the target test data in the temporary table needs to be inserted into the real target data table to become usable test data. Specifically, the server updates the corresponding target data table according to the service meaning of each data item by calling the encapsulated storage process, such as updating the true _ INFO table for product related data, updating the CLIENT _ INFO table for customer related data, and updating the DEAL _ INFO table for transaction related data. In this embodiment, after the target data table is updated according to the target test data in the background temporary table, the target test data stored in the background temporary table may be cleared, so as to further save resources and space of the background database.
In the embodiment, the target test data is inserted into the background temporary table, and then the target data table is updated according to the target test data in the background temporary table, so that the generated target test data can be prevented from being lost, and the accuracy of the target test data is further improved.
In an embodiment, as shown in fig. 4, the obtaining of the initial test case set from the selectable test case set based on the target test item specifically includes the following steps:
s201: based on the target test item, an initial test value corresponding to the target test item is obtained from the selectable set of test cases.
In one embodiment, the set of selectable test cases may be recorded in advance in a preset data table. Since the set of selectable test cases includes N selectable test items, each selectable test item includes M selectable test values. Therefore, the selectable test items in the selectable test case set can be recorded in the header area of the preset data table, and the selectable test value corresponding to each selectable test item is recorded in the list area corresponding to each selectable test item.
Specifically, after the server acquires the target test item from the test data generation request, a string matching method or a regular matching method may be adopted to match the acquired target test item with the selectable test items recorded in the header area of the preset data table one by one, then determine the selectable test item successfully matched as the target test item, and determine the selectable test value in the list area corresponding to the target test item as the initial test value of the target test item. In this embodiment, after the target test items are determined, a scan tool may be used to scan the selectable test case set located in the preset data table, and then the initial test value corresponding to each target test item is obtained based on the header area where the target test item is located. The scanning tool refers to a tool for scanning data in a preset data table, for example, an xscan scanning tool and an x-way scanning tool, so as to quickly acquire corresponding information in the preset data table. Optionally, an area where a target test item and a corresponding initial test value in a preset data table to be scanned are located is specified in the scanning tool, and then the area where the target test item and the corresponding initial test value are located is scanned conventionally, so that basic information in the preset data table is obtained quickly.
S202: inserting the target test item and each corresponding initial test value into the first data table to generate an initial test case set, wherein the target test item is recorded in a header area of the first data table, the initial test value is recorded in a list area under the corresponding target test item, and the first data table comprises a table name.
After the target test items and the corresponding initial test values are obtained, uniformly inserting each target test item and the corresponding initial test value into a first data table. Wherein the first data table is a table for storing target test items and initial test values. Preferably, the first data table is an EXCEL table. The first data table includes a table name. Wherein, the table name refers to an identifier for distinguishing different data tables. Specifically, to avoid confusion between selectable test values corresponding to different target test items, when the target test items and corresponding initial test values are inserted into the first data table, the target test items are inserted into a header area of the first data table, and the initial test values corresponding to each target test item are inserted into a corresponding list area of the header where each target test item is located, so as to form a one-to-many relationship. Optionally, the header area of the first data table may be a first row area in the first data table, and may also be a first column area in the first data table. Net function in C # may be used to insert the target test item and each obtained initial test value into the first data table, or the Sqlserver function may be used to insert the target test item and each obtained initial test value into the first data table.
In the embodiment, based on the target test item, an initial test value corresponding to the target test item is obtained from the selectable test case set; inserting the target test item and each corresponding initial test value into a first data table to generate an initial test case set, wherein the target test item is recorded in a header area of the first data table, the initial test value is recorded in a list area under the corresponding target test item, and the first data table comprises a table name; the accuracy of the corresponding relation between each obtained target test item and the corresponding initial test value is ensured.
In an embodiment, as shown in fig. 5, establishing a mapping relationship between each target test item and a corresponding initial test value, and generating a test case set to be selected specifically includes the following steps:
s301: and acquiring a first data table according to the table name.
Wherein, the table name refers to identification information for distinguishing different data tables. The server side can accurately acquire the first data table according to the table name. It can be understood that before the mapping relationship between each target test item and the corresponding target test value is established, the server needs to obtain the first data table stored by each target test item and the corresponding initial test value according to the table name.
S302: reading characters in the first data table line by line, taking each target test item located in a header area of the first data table as a key in a key value pair mode, and taking each initial test value located in a corresponding list area under each target test item as a value corresponding to each target test item to form a one-to-one corresponding key value pair.
Specifically, the first data table is read through FileInputStream, and then through Poi parsing, the characters in each cell in the first data table are read line by line, a key-value pair (key-value) is formed, a target test item in each cell in a header area of the first data table is used as a key, and each initial test value in a list area corresponding to each target test item is used as a value corresponding to each target test item, so that a one-to-one corresponding key-value pair (key-value) is formed.
Preferably, since a blank may exist in the list area corresponding to each target test item in the first data table, before reading each target test item and the corresponding initial test value in the first data table line by line, preprocessing is required, and a cell in which the initial test value in the list area corresponding to each target test item is empty is read according to null or a default value, so that the accuracy of the mapping relationship between each target test item and the corresponding initial test value is further improved.
S303: and taking each key value pair as a test pair to be selected, and inserting each test pair to be selected into the second data table one by one to generate a test case set to be selected.
Specifically, the key value pair corresponding to each target test item obtained according to the step S302 is used as a test pair to be selected for each target test item; and then inserting each target test item into a header area of the second data table, and inserting each test pair to be selected corresponding to each target test item into a list area corresponding to the header of each target test item to generate a test case set to be selected. The second data table is a table for storing the target test item and the corresponding test pair to be selected. Preferably, the second data table is an EXCEL table.
In the embodiment, a first data table is obtained according to a table name; reading characters in the first data table line by line, taking each target test item positioned in a header area of the first data table as a key in a key value pair mode, and taking each initial test value positioned in a corresponding list area under each target test item as a value corresponding to each target test item to form a one-to-one corresponding key value pair; taking each key value pair as a test pair to be selected, and inserting each test pair to be selected into a second data table one by one to generate a test case set to be selected; by establishing a one-to-one mapping relation between each target test item and the corresponding initial test value, data processing can be conveniently carried out on the target test items and the corresponding initial test values in the follow-up process.
In an embodiment, as shown in fig. 6, based on the test data amount, a combination algorithm is used to combine the test pairs to be selected corresponding to each target test item to obtain a target test case set, which specifically includes the following steps:
s401: if the test data volume is N and the combination algorithm is a sequential combination algorithm, acquiring target test pairs from the to-be-selected test pairs corresponding to each target test item one by one, combining the target test pairs to generate N target test cases, and combining the N target test cases into a target test case set.
In one embodiment, for example, if the test data amount is 3, the combination algorithm is a sequential combination algorithm; acquiring a target test item A, a target test item B and a target test item C; the test pair to be selected corresponding to the target test item A is { A ═ a1,A=a2,A=a3…A=anAnd B is the test pair to be selected corresponding to the target test item B1,B=b2,B=b3…B=bnAnd C, the test pair to be selected corresponding to the target test item C is C1,C=c2,C=c3…C=Cn}. Wherein {1, 2, 3 … n } is the row number of each candidate test pair in the second data table, and the candidate test pairs are sequentially arranged in the second data table according to the sequence of each candidate test pair in each target test itemAcquiring { A ═ a ] in the test pairs to be selected in the list areas corresponding to the item A, the target test item B and the target test item C1,B=b1,C=c1Is combined, { A ═ a }2,B=b2,C=c3Are combined, and { a ═ a }3,B=b3,C=c3And combining the three target test cases to form a target test case set. Understandably, a1,a2,a3A target test value corresponding to the target test item A; b1,b2,b3A target test value corresponding to the target test item B; c. C1,c2,c3And the target test value corresponding to the target test item C.
S402: if the test data volume is N and the combination algorithm is a random combination algorithm, calling a C # random function to generate N groups of random arrays, acquiring target test value pairs from the to-be-selected test values corresponding to each target test item according to each random array to combine, generating N target test cases, and combining the N target test cases into a target test case set.
In one embodiment, for example, if the test data size is 3, the combination algorithm is a random combination algorithm; acquiring a target test item A, a target test item B and a target test item C; the test pair to be selected corresponding to the target test item A is { A ═ a1,A=a2,A=a3…A=anAnd B is the test pair to be selected corresponding to the target test item B1,B=b2,B=b3…B=bnAnd C, the test pair to be selected corresponding to the target test item C is C1,C=c2,C=c3…C=Cn}. Wherein {1, 2, 3 … n } is the row number of each candidate test pair in the second data table, then call C # random function to generate 3 groups of random arrays, each group of random arrays respectively includes the random numbers corresponding to the target test item A, the target test item B and the target test item C, then each target test item obtains the candidate test pair of the row where the random number is located according to the corresponding random number, finally, the candidate test pairs of each target test item obtained according to the random numbers are combined to generate three target test cases,and the three target test cases are combined into a target test case set. For example: if the generated first random array is {1, 1, 2}, then a ═ a in the first row of the target test item a is obtained1B-B in the first row of the target test item B1And C in the second row of the target test item C ═ C2Combining to generate the first target test case { A ═ a1,B=b1,C=c2}; the second random array is {2, 2, 3}, and a ═ a in the second row of the target test item a is obtained2B ═ B in the second row of target test item B2And C ═ C in the third row of target test item C3Combining to generate a second target test case { A ═ a2,B=b2,C=c3}; if the third random array is {1, 2, 3}, then a ═ a in the first row of the target test item a is obtained1B ═ B in the second row of target test item B2And C ═ C in the third row of target test item C3Combining to generate a third target test case { A ═ a1,B=b2,C=c3And combining the three target test cases into a target test case set.
S403: and if the test data volume is N and the combination algorithm is a traversal combination algorithm, performing traversal reading on the test pairs to be selected corresponding to each target test item to generate N target test cases, and combining the N target test cases into a target test case set.
In one embodiment, for example, if the test data size is 3, the combination algorithm is a random combination algorithm; acquiring a target test item A, a target test item B and a target test item C; the test pair to be selected corresponding to the target test item A is { A ═ a1,A=a2,A=a3…A=anAnd B is the test pair to be selected corresponding to the target test item B1,B=b2,B=b3…B=bnAnd C, the test pair to be selected corresponding to the target test item C is C1,C=c2,C=c3…C=Cn}. Wherein {1, 2, 3 … n } is the row number of each candidate test pair in the second data table, and then for target test item A, target test item B and targetAnd traversing the test pairs to be selected corresponding to the test item C, acquiring one test pair to be selected from each target test item each time, combining to generate a group of target test cases until three target test cases are generated, and forming a target test case set by the three target test cases.
In this embodiment, if the test data volume is N and the combination algorithm is a sequential combination algorithm, acquiring target test pairs from the to-be-selected test pairs corresponding to each target test item one by one, combining the target test pairs to generate N target test cases, and combining the N target test cases into a target test case set; if the test data volume is N and the combination algorithm is a random combination algorithm, calling a C # random function to generate N groups of random arrays, acquiring a target test value pair from the test value to be selected corresponding to each target test item according to each random array to combine, generating N target test cases, and forming the N target test cases into a target test case set; if the test data volume is N and the combination algorithm is a traversal combination algorithm, performing traversal reading on the test pairs to be selected corresponding to each target test item to generate N target test cases, and combining the N target test cases into a target test case set; through different combination algorithms, different combinations of the to-be-selected test pairs corresponding to the target test items can be realized, and the diversity of the obtained target test case set is improved while a large amount of target test data can be accurately and quickly generated.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In an embodiment, a test data generation apparatus is provided, and the test data generation apparatus corresponds to the test data generation method in the above embodiment one to one. As shown in fig. 7, the test data generating apparatus includes a test data generation request acquiring module 10, an initial test case set acquiring module 20, a mapping relation establishing module 30, a combining module 40, and a data mapping module 50. The functional modules are explained in detail as follows:
a test data generation request obtaining module 10, configured to obtain a test data generation request, where the test data generation request includes a target test item, a test data amount, and a combination algorithm;
an initial test case set obtaining module 20, configured to obtain an initial test case set from the selectable test case set based on the target test items, where the initial test case set includes the target test items and an initial test value corresponding to each target test item;
the mapping relation establishing module 30 is configured to establish a mapping relation between each target test item and the corresponding initial test value, and generate a test case set to be selected, where the test case set to be selected includes a test pair to be selected corresponding to each target test item;
the combination module 40 is configured to combine the to-be-selected test pairs corresponding to each target test item by using a combination algorithm based on the test data volume to obtain a target test case set, where the target test case set includes N target test cases, each target test case includes a target test value, and the test data volume is N;
and the data mapping module 50 is configured to perform data mapping on each target test value in each target test case to generate target test data.
Preferably, as shown in fig. 8, the test data generating apparatus further includes:
the inserting module 60 is used for inserting the target test data into a preset background temporary table;
and an updating module 70, configured to update the target data table according to the target test data in the background temporary table.
Preferably, as shown in fig. 9, the initial test case set acquisition module 20 includes:
an initial test value obtaining unit 201, configured to obtain an initial test value corresponding to a target test item from an optional test case set based on the target test item;
the first inserting unit 202 is configured to insert a target test item and each corresponding initial test value into a first data table, so as to generate an initial test case set, where the target test item is recorded in a header area of the first data table, and the initial test value is recorded in a list area under the corresponding target test item, and the first data table includes a table name.
Preferably, the mapping relationship establishing module 30 includes:
the acquisition unit is used for acquiring a first data table according to the table name;
the reading unit is used for reading the characters in the first data table line by line, taking each target test item positioned in a header area of the first data table as a key in a key value pair mode, and taking each initial test value positioned in a corresponding list area under each target test item as a value corresponding to each target test item to form a one-to-one corresponding key value pair;
and the second insertion unit is used for taking each key value pair as a test pair to be selected, inserting each test pair to be selected into the second data table one by one, and generating a test case set to be selected.
Preferably, the combining module 40 includes:
the first combination unit is used for acquiring target test pairs one by one from the to-be-selected test pairs corresponding to each target test item to combine to generate N target test cases when the test data volume is N and the combination algorithm is a sequential combination algorithm, and the N target test cases form a target test case set;
the second combination unit is used for calling the C # random function to generate N groups of random arrays when the test data volume is N and the combination algorithm is a random combination algorithm, acquiring target test value pairs from the test values to be selected corresponding to each target test item according to each random array to combine, generating N target test cases, and combining the N target test cases into a target test case set;
and the third combination unit is used for performing traversal reading on the to-be-selected test pair corresponding to each target test item when the test data volume is N and the combination algorithm is a traversal combination algorithm, generating N target test cases, and combining the N target test cases into a target test case set.
For specific limitations of the test data generation apparatus, reference may be made to the above limitations of the test data generation method, which are not described herein again. The modules in the test data generation device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 10. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for the data used in the test data generation method in the above embodiment. . The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a test data generation method.
In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the test data generation method in the above embodiments is implemented.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the test data generation method in the above-described embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A method for generating test data, comprising:
acquiring a test data generation request, wherein the test data generation request comprises a target test item, a test data volume and a combined algorithm;
acquiring an initial test case set from an optional test case set based on the target test items, wherein the initial test case set comprises the target test items and initial test values corresponding to each target test item;
establishing a mapping relation between each target test item and the corresponding initial test value, and generating a test case set to be selected, wherein the test case set to be selected comprises a test pair to be selected corresponding to each target test item;
based on the test data volume, combining the to-be-selected test pairs corresponding to each target test item by adopting the combination algorithm to obtain a target test case set, wherein the target test case set comprises N target test cases, each target test case comprises a target test value, and the test data volume is N;
and performing data mapping on each target test value in each target test case to generate target test data.
2. The method of test data generation as claimed in claim 1, wherein after said generating target test data by data mapping each of said target test values in each of said target test cases, said method of test data generation further comprises:
inserting the target test data into a preset background temporary table;
and updating a target data table according to the target test data in the background temporary table.
3. The method of test data generation of claim 1, wherein the obtaining an initial set of test cases from an optional set of test cases based on the target test item comprises:
acquiring an initial test value corresponding to the target test item from an optional test case set based on the target test item;
inserting the target test item and each corresponding initial test value into a first data table to generate an initial test case set, wherein the target test item is recorded in a header area of the first data table, the initial test value is recorded in a list area under the corresponding target test item, and the first data table comprises a table name.
4. The method as claimed in claim 3, wherein the creating a mapping relationship between each target test item and the corresponding initial test value to generate a set of test cases to be selected comprises:
acquiring the first data table according to the table name;
reading characters in the first data table line by line, taking each target test item located in a header area of the first data table as a key in a key-value pair mode, and taking each initial test value located in a corresponding list area under each target test item as a value corresponding to each target test item to form a one-to-one corresponding key-value pair;
and taking each key value pair as a test pair to be selected, and inserting each test pair to be selected into a second data table one by one to generate a test case set to be selected.
5. The method for generating test data according to claim 1, wherein the combining the test pairs to be selected corresponding to each target test item by using the combination algorithm based on the test data amount to obtain a target test case set comprises:
if the test data volume is N and the combination algorithm is a sequential combination algorithm, acquiring target test pairs from the to-be-selected test pairs corresponding to each target test item one by one for combination to generate N target test cases, and combining the N target test cases into a target test case set;
if the test data volume is N and the combination algorithm is a random combination algorithm, calling a C # random function to generate N groups of random arrays, acquiring a target test value pair from the to-be-selected test value corresponding to each target test item according to each random array to combine, generating N target test cases, and combining the N target test cases into a target test case set;
and if the test data volume is N and the combination algorithm is a traversal combination algorithm, performing traversal reading on the to-be-selected test pair corresponding to each target test item to generate N target test cases, and combining the N target test cases into a target test case set.
6. A test data generation apparatus, comprising:
the test data generation request acquisition module is used for acquiring a test data generation request, and the test data generation request comprises a target test item, a test data volume and a combination algorithm;
an initial test case set obtaining module, configured to obtain an initial test case set from an optional test case set based on the target test item, where the initial test case set includes target test items and initial test values corresponding to each of the target test items;
the mapping relation establishing module is used for establishing a mapping relation between each target test item and the corresponding initial test value to generate a test case set to be selected, and the test case set to be selected comprises a test pair to be selected corresponding to each target test item;
the combination module is used for combining the to-be-selected test pairs corresponding to each target test item by adopting the combination algorithm based on the test data volume to obtain a target test case set, the target test case set comprises N target test cases, each target test case comprises a target test value, and the test data volume is N;
and the data mapping module is used for performing data mapping on each target test value in each target test case to generate target test data.
7. The test data generation apparatus of claim 6, wherein the test data generation apparatus further comprises:
the inserting module is used for inserting the target test data into a preset background temporary table;
and the updating module is used for updating the target data table according to the target test data in the background temporary table.
8. The test data generation apparatus of claim 6, wherein the initial set of test cases acquisition module comprises:
an initial test value obtaining unit, configured to obtain an initial test value corresponding to the target test item from an optional test case set based on the target test item;
the first inserting unit is configured to insert the target test item and each corresponding initial test value into a first data table, so as to generate an initial test case set, where the target test item is recorded in a header area of the first data table, the initial test value is recorded in a list area under the corresponding target test item, and the first data table includes a table name.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the test data generation method of any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out a test data generation method according to any one of claims 1 to 5.
CN201910965006.5A 2019-10-11 2019-10-11 Test data generation method and device, computer equipment and storage medium Pending CN110888797A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910965006.5A CN110888797A (en) 2019-10-11 2019-10-11 Test data generation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910965006.5A CN110888797A (en) 2019-10-11 2019-10-11 Test data generation method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110888797A true CN110888797A (en) 2020-03-17

Family

ID=69746103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910965006.5A Pending CN110888797A (en) 2019-10-11 2019-10-11 Test data generation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110888797A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552646A (en) * 2020-04-30 2020-08-18 北京百度网讯科技有限公司 Method and apparatus for regression testing
CN111679973A (en) * 2020-05-25 2020-09-18 泰康保险集团股份有限公司 Software test scheduling method and device, computer equipment and readable storage medium
CN111708701A (en) * 2020-06-18 2020-09-25 中国信息通信研究院 Method and device for data testing
CN111782507A (en) * 2020-06-12 2020-10-16 航天信息股份有限公司 Data testing method and device, storage medium and electronic equipment
CN111858379A (en) * 2020-07-30 2020-10-30 中国工商银行股份有限公司 Application testing method and device
CN111858387A (en) * 2020-08-05 2020-10-30 中国工商银行股份有限公司 Data preparation method and device
CN113282499A (en) * 2021-05-31 2021-08-20 长沙市到家悠享家政服务有限公司 Method, system, device and medium for creating test data
CN113568838A (en) * 2021-08-02 2021-10-29 工银科技有限公司 Test data generation method, device, equipment, storage medium and program product

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5878054A (en) * 1995-09-11 1999-03-02 Digital Equipment Corporation Method and apparatus for test data generation
US20020101920A1 (en) * 2000-10-26 2002-08-01 Samsung Electronics Co., Ltd Automatic test data generating apparatus and method
CN103473325A (en) * 2013-09-13 2013-12-25 中国工商银行股份有限公司 System and method for generating test case data
US20140365830A1 (en) * 2013-06-11 2014-12-11 Wipro Limited System and method for test data generation and optimization for data driven testing
JP2016081229A (en) * 2014-10-15 2016-05-16 日本電信電話株式会社 Abnormal system test data generating device, method, and program, for multiple input variables
US20160283359A1 (en) * 2015-03-16 2016-09-29 David Silverstone Computer system testing
CN106897205A (en) * 2015-12-18 2017-06-27 阿里巴巴集团控股有限公司 A kind of test data generating method and device
CN107704381A (en) * 2017-08-31 2018-02-16 电子科技大学 A kind of Generation of software test case method of combination of two
CN108255698A (en) * 2017-02-17 2018-07-06 平安科技(深圳)有限公司 Test cases generation method and device based on visualization interface
CN108710569A (en) * 2018-05-09 2018-10-26 深圳壹账通智能科技有限公司 Test cases generation method, data creation method, device, equipment and medium
CN108763070A (en) * 2018-05-16 2018-11-06 北京金山云网络技术有限公司 Generation method, device and the electronic equipment of test data
CN109376093A (en) * 2018-12-04 2019-02-22 泰康保险集团股份有限公司 The test method and device of insurance products, storage medium and electronic equipment
US10339038B1 (en) * 2017-09-28 2019-07-02 Jpmorgan Chase Bank, N.A. Method and system for generating production data pattern driven test data
CN110134584A (en) * 2019-04-12 2019-08-16 深圳壹账通智能科技有限公司 A kind of generation method, device, storage medium and the server of interface testing use-case
CN110188030A (en) * 2019-04-08 2019-08-30 平安科技(深圳)有限公司 A kind of test data generating method, device and computer equipment, storage medium
CN110287118A (en) * 2019-06-28 2019-09-27 四川长虹电器股份有限公司 The test data generating method and method for testing software of test case

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5878054A (en) * 1995-09-11 1999-03-02 Digital Equipment Corporation Method and apparatus for test data generation
US20020101920A1 (en) * 2000-10-26 2002-08-01 Samsung Electronics Co., Ltd Automatic test data generating apparatus and method
US20140365830A1 (en) * 2013-06-11 2014-12-11 Wipro Limited System and method for test data generation and optimization for data driven testing
CN103473325A (en) * 2013-09-13 2013-12-25 中国工商银行股份有限公司 System and method for generating test case data
JP2016081229A (en) * 2014-10-15 2016-05-16 日本電信電話株式会社 Abnormal system test data generating device, method, and program, for multiple input variables
US20160283359A1 (en) * 2015-03-16 2016-09-29 David Silverstone Computer system testing
CN106897205A (en) * 2015-12-18 2017-06-27 阿里巴巴集团控股有限公司 A kind of test data generating method and device
CN108255698A (en) * 2017-02-17 2018-07-06 平安科技(深圳)有限公司 Test cases generation method and device based on visualization interface
CN107704381A (en) * 2017-08-31 2018-02-16 电子科技大学 A kind of Generation of software test case method of combination of two
US10339038B1 (en) * 2017-09-28 2019-07-02 Jpmorgan Chase Bank, N.A. Method and system for generating production data pattern driven test data
CN108710569A (en) * 2018-05-09 2018-10-26 深圳壹账通智能科技有限公司 Test cases generation method, data creation method, device, equipment and medium
CN108763070A (en) * 2018-05-16 2018-11-06 北京金山云网络技术有限公司 Generation method, device and the electronic equipment of test data
CN109376093A (en) * 2018-12-04 2019-02-22 泰康保险集团股份有限公司 The test method and device of insurance products, storage medium and electronic equipment
CN110188030A (en) * 2019-04-08 2019-08-30 平安科技(深圳)有限公司 A kind of test data generating method, device and computer equipment, storage medium
CN110134584A (en) * 2019-04-12 2019-08-16 深圳壹账通智能科技有限公司 A kind of generation method, device, storage medium and the server of interface testing use-case
CN110287118A (en) * 2019-06-28 2019-09-27 四川长虹电器股份有限公司 The test data generating method and method for testing software of test case

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王立宏;王曙燕;孙家泽;: "一种分阶段组合测试数据生成算法", 计算机应用与软件, no. 03, 15 March 2013 (2013-03-15) *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552646B (en) * 2020-04-30 2023-08-29 阿波罗智能技术(北京)有限公司 Method and apparatus for regression testing
CN111552646A (en) * 2020-04-30 2020-08-18 北京百度网讯科技有限公司 Method and apparatus for regression testing
CN111679973A (en) * 2020-05-25 2020-09-18 泰康保险集团股份有限公司 Software test scheduling method and device, computer equipment and readable storage medium
CN111679973B (en) * 2020-05-25 2023-09-08 泰康保险集团股份有限公司 Software test scheduling method, device, computer equipment and readable storage medium
CN111782507A (en) * 2020-06-12 2020-10-16 航天信息股份有限公司 Data testing method and device, storage medium and electronic equipment
CN111782507B (en) * 2020-06-12 2024-04-30 航天信息股份有限公司 Data testing method and device, storage medium and electronic equipment
CN111708701A (en) * 2020-06-18 2020-09-25 中国信息通信研究院 Method and device for data testing
CN111858379A (en) * 2020-07-30 2020-10-30 中国工商银行股份有限公司 Application testing method and device
CN111858379B (en) * 2020-07-30 2024-03-29 中国工商银行股份有限公司 Application testing method and device
CN111858387A (en) * 2020-08-05 2020-10-30 中国工商银行股份有限公司 Data preparation method and device
CN111858387B (en) * 2020-08-05 2023-08-15 中国工商银行股份有限公司 Data preparation method and device
CN113282499A (en) * 2021-05-31 2021-08-20 长沙市到家悠享家政服务有限公司 Method, system, device and medium for creating test data
CN113282499B (en) * 2021-05-31 2024-02-09 长沙市到家悠享家政服务有限公司 Method, system, equipment and medium for creating test data
CN113568838A (en) * 2021-08-02 2021-10-29 工银科技有限公司 Test data generation method, device, equipment, storage medium and program product

Similar Documents

Publication Publication Date Title
CN110888797A (en) Test data generation method and device, computer equipment and storage medium
CN112286779B (en) Test task processing method and device, storage medium and computer equipment
CN109032824A (en) Database method of calibration, device, computer equipment and storage medium
CN109447411A (en) Business Process Control method, apparatus, computer equipment and storage medium
CN107688664B (en) Chart generation method and device, computer equipment and storage medium
CN108804548B (en) Test data query method, device, computer equipment and storage medium
CN110569035A (en) Code compiling method, device, equipment and storage medium of software development project
CN109726134B (en) Interface test method and system
CN110287101A (en) User interface automated testing method, device, computer equipment and storage medium
CN108959385A (en) Database portion arranging method, device, computer equipment and storage medium
CN111191221A (en) Method and device for configuring authority resources and computer readable storage medium
CN110555041A (en) Data processing method, data processing device, computer equipment and storage medium
CN112631686A (en) Data processing method, data processing device, computer equipment and storage medium
CN110704095A (en) Workflow-based configuration processing method and device, computer equipment and storage medium
CN110109712A (en) Service Component loading method, device, computer equipment and storage medium
CN110798376A (en) Interface testing method and device, computer equipment and storage medium
CN114465937A (en) Network card testing method, device, server, medium, and computer program product
CN117290236A (en) Software testing method, device, computer equipment and computer readable storage medium
CN115794641A (en) Method, device and equipment for making number based on business process and storage medium
CN111260253A (en) Information sending method and device, computer equipment and storage medium
CN114691506A (en) Pressure testing method, apparatus, device, medium, and program product
CN112862452A (en) Method and device for executing work order equivalence, computer equipment and storage medium
CN113176995B (en) Interface testing method, device, equipment and medium based on testing scene
CN113157754B (en) Method, device and equipment for displaying flow form data and storage medium
CN115391188A (en) Scene test case generation method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination