Nothing Special   »   [go: up one dir, main page]

CN112732577A - Evolution generation method for multi-task software test case - Google Patents

Evolution generation method for multi-task software test case Download PDF

Info

Publication number
CN112732577A
CN112732577A CN202110028394.1A CN202110028394A CN112732577A CN 112732577 A CN112732577 A CN 112732577A CN 202110028394 A CN202110028394 A CN 202110028394A CN 112732577 A CN112732577 A CN 112732577A
Authority
CN
China
Prior art keywords
test case
path
paths
variant
branches
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.)
Withdrawn
Application number
CN202110028394.1A
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.)
Xuzhou University of Technology
Original Assignee
Xuzhou University of Technology
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 Xuzhou University of Technology filed Critical Xuzhou University of Technology
Publication of CN112732577A publication Critical patent/CN112732577A/en
Withdrawn 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
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/12Computing arrangements based on biological models using genetic models
    • G06N3/126Evolutionary algorithms, e.g. genetic algorithms or genetic programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Biophysics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Evolutionary Biology (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Genetics & Genomics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physiology (AREA)
  • Computer Hardware Design (AREA)
  • Artificial Intelligence (AREA)
  • Biomedical Technology (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Quality & Reliability (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Debugging And Monitoring (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an evolution generation method of a multi-task software test case, which aims to convert a variation test problem into a traditional coverage path test problem according to the performability of a variation branch and a program path and efficiently generate the test case with defect detection capability by adopting a multi-task parallel mode. Firstly, statically analyzing the execution correlation between the variation branches and the program paths, and dividing the variation branches with the same execution paths into the same group; then, establishing a multi-task optimization model for the multiple groups of variation branches based on the variation test cases covered by the paths; and finally, solving the model by using a multi-population genetic algorithm, and efficiently generating a test case with defect detection capability by adopting a multi-task parallel mode. The invention groups the variant branches according to the paths, adopts the traditional mature path testing method, is beneficial to improving the software testing efficiency, and generates the test case with high defect detection capability.

Description

Evolution generation method for multi-task software test case
Technical Field
The invention relates to the field of computer software testing, in particular to a method for evolutionary generation of a multi-task software test case.
Background
Software testing refers to detecting defects of certain software or software systems by manual or automatic methods. Variant testing is a powerful but expensive testing technique, especially with respect to test data acquisition that kills large numbers of variants. The variant branch is composed of the original sentence and its variant sentences. The true branch of the variant branch is overwritten by a test datum indicating that the corresponding variant was killed under the weak variant test criterion.
A tested program generally generates a plurality of variants, and a plurality of test cases are also needed for killing the variants; moreover, these test cases require the original program and the variant to be executed simultaneously, and thus the efficiency of the variant test is usually low. In order to overcome the above-mentioned drawbacks, Papadakis et al propose a new Software testing method in the article "automatic testing and testing of systematic execution, systematic testing and search-based testing" published in 2011 "Software Quality Journal" 19. The problem that they kill variants based on weak variant test criteria translates into the problem of coverage of true branches of variant conditional sentences. For this reason, for the statements s and s' before and after mutation, the mutation conditional statement "if s!is constructed based on the necessary conditions for the weak mutation test! The true branch is a mark sentence, which is called a variant branch for short; then, these variant branches are inserted in front of the pre-variant statement s of the original program, so that a new tested program is formed. Then, the test case of the variant branch of the new program can be covered, and the variant corresponding to the variant branch can be killed based on the weak variant test criterion. The advantage of this is that the variant test case can be generated by using the existing test case generation method of the traditional structure test.
The variant branch is mutated according to the original sentence, and for the variant branch inserted into the path to which the original sentence belongs, whether the new path after the alteration can be executed or not needs to be analyzed, the variant branch and the subsequent node of the original sentence in the path need to be analyzed, and the execution relationship is difficult to obtain directly and needs to be obtained through static analysis. If the variant branch can be determined to be merged into a certain path, the path is still executable, so that the problem of generating the killed variant can be converted into the problem of generating the test case covering the path. If a plurality of variant branches can be merged into the path, the variant branches can be solved and killed on the basis of the grouping of the execution paths, and can be converted into a multi-path test generation problem to establish a multi-task optimization model. And finally, solving by adopting a plurality of group genetic algorithms.
The multi-population genetic algorithm is a high-performance genetic algorithm, which divides a population into a plurality of sub-populations, and each sub-population is responsible for optimizing a target, so that an optimal solution can be found in a parallel mode.
Disclosure of Invention
The invention provides a multitask software test case evolution generation method for solving the problem that the generation efficiency of test cases for detecting numerous software defects in the prior art is low.
The technical scheme adopted by the invention is as follows: a multitask software test case evolution generation method comprises the following steps:
s1: grouping variant branches based on the correlation of the execution of the paths, namely, statically analyzing the execution correlation of the variant branches and the program paths, and dividing the variant branches with the same execution paths into the same group, specifically:
let the tested program be G, and the executable path set of G be P ═ P1,P2…, record the path
Figure RE-GDA0002996101010000021
Wherein s isiIs PiA certain statement on, si+1Is s isiThe successor statement of (1); to siFruit of Chinese wolfberryMutation is performed to obtain a mutation branch Mj,MjIs denoted as Mj(1);
S1.1: determination of M by static analysisj(1) And si+1The execution relationship of (1); if M isj(1) Execution, si+1Can also be performed, then at PiTo be Mj,Mj(1) Insertion of siGet a path
Figure BDA0002897143430000022
Can judge Pi' is also an executable path;
s1.2: if M isj(1) Execution, si+1Must not execute, then find path P in Pj,PjComprises siAnd s isiS is followed byj≠si+1. Then, M was judged by static analysisj(1) Execution of the sum ofjExecuting the relationship; fruit of fruit Mj(1) Execution, sjCan also be performed at PjTo be Mj(1) Is inserted into siFront face was obtained of P'j
S1.3: to PiPerforming mutation on the other sentences to obtain some variant branches, judging the execution relation according to the methods in S1.1 and S1.2, and inserting the variant branches into PiOr on other paths; for Pi', corresponding variant branch set, denoted as
Figure BDA0002897143430000023
Wherein | Pi' | is the number of variant branches, then Pi' can be expressed as
Figure BDA0002897143430000031
S1.4: the sentence of different paths in P is mutated, the generated variant branches are inserted into G to obtain a new tested program G ', and a new path set P' containing variant branches is obtained1',P'2,…,P'qQ is the number of paths, and all the variant branches are based on the pathsIs divided into q groups;
s2: constructing a variation test case generation multitask optimization model, namely establishing a variation test case generation multitask optimization model based on path coverage for a plurality of groups of variation branches, wherein the specific method comprises the following steps:
will generate killing
Figure BDA0002897143430000032
The test case problem is converted into the coverage path Pi' test case problem, coverage PiThe optimization model for test case generation of' can be expressed as:
max(fi(X))
s.t.X∈D(X)
wherein D (X) is the value range formed by X; f. ofi(X) is an objective function, which may be defined as the similarity of paths;
for q paths, a multi-task optimization model is established, which can be expressed as:
T1:max(f1(X))
s.t.X∈D(X)
T2:max(f2(X))
s.t.X∈D(X);
...
Tq:max(fq(X))
s.t.X∈D(X)
s3: generating a variant test case of the multi-task coverage path, namely solving the model constructed in the step S2 by using a multi-population genetic algorithm, and evolving to generate the test case, wherein the specific algorithm is as follows:
set the population as U ═ U1,U2,…,Uq}, sub-population UiCorresponding subtask TiIs responsible for generating the overlay path PiThe test case of' generates initial population, calculates the adaptive value of the evolution individual, implements selection, crossing, and mutation genetic operations in respective tasks;
step 1: setting the value of a control parameter required by the algorithm;
step 2: initializing q sub-populations;
step 3: judging whether the termination condition is met, if so, turning to Step 7;
step 4: for Pi', calculating UiI-1, 2, …, q, the fitness of the evolved individual fi(Ui);
Step 5: judge UiWhether the individual in (1) is a subtask TiIs covered withi' test case? If yes, saving the individual and the path P covered by the individuali', end UiEvolution of (1), deletion of subtask TiThe optimization problem of (2);
step 6: comparison UiCarrying out genetic operations such as selection, crossing, mutation and the like on the performances of different evolved individuals to generate a new population, and turning to Step 3;
step 7: and stopping evolution and outputting a test case set.
Preferably, the objective function f in step S2i(X) by path similarity representation:
Figure BDA0002897143430000041
wherein, | Pi' | is Pi' number of upper nodes; i P (X) Δ Pi' | is from the beginning of the procedure, P (X) and Pi' number of identical nodes on.
Preferably, there are two termination conditions in Step3, one is to generate the expected test case, i.e. q becomes 0; the other is population evolution to maximum number of iterations.
Preferably, the adaptive value is defined by an adaptive value function fitnissi(X) determining, from the objective function, an fitness function:
fitnissi(X)=fi(X)。
the invention has the beneficial effects that:
(1) the invention adopts static analysis to determine the correlation between the input variable and the path execution, and groups the variation branches according to the execution paths, thereby converting the variation test problem into the traditional path coverage problem. The method is beneficial to reference the mature method of the traditional path test and improves the efficiency of the variation test.
(2) For a plurality of variant branches contained in one path, a test case generation model covering one path can be established, and for a plurality of paths, a multitask test case generation optimization model can be established. Each path corresponds to one subtask, which is beneficial to converting a complex test problem into a plurality of subproblems and reducing the test cost.
(3) The multi-population genetic algorithm optimizes a plurality of test targets in parallel, can search in a parallel mode, and can improve the searching efficiency.
Drawings
FIG. 1 is a general flowchart of a method for evolution generation of a multi-tasking software test case according to the present invention;
fig. 2 is an exemplary procedure in an embodiment of the present invention.
Detailed Description
As shown in fig. 1, a general flowchart of a method for evolution generation of a multi-task software test case is provided in the present invention. The method comprises the following steps:
step S1: performing a relevance group mutation branch based on the path to which it belongs:
let the executable path set of G be P ═ P1,P2…, record the path
Figure BDA0002897143430000051
Wherein s isiIs PiA certain statement on, si+1Is s isiIs followed by a statement of (1). To siPerforming mutation to obtain a mutation branch Mj, MjIs denoted as Mj(1)。
S1.1: by static analysis, M is judgedj(1) And si+1If M isj(1) Execution, si+1Can also be performed, then at PiIn the above, M can bej,Mj(1 insertion s)iGet a path
Figure BDA0002897143430000052
Because M isj(1) Is composed ofiObtained by performing mutation, and sub-path "Mj,Mj(1),si,si+1"is an executable path, and can judge Pi' is also an executable path.
S1.2: if M isj(1) Execution, si+1Must not execute, then find path P in Pj,PjComprises siAnd s isiS is followed byj≠si+1. Then, M was judged by static analysisj(1) Execution of the sum ofjThe relationship is executed. Fruit of fruit Mj(1) Execution, sjCan also be performed at PjIn the above, M can bej(1) Is inserted into siFront face was obtained of P'j
S1.3: to PiThe other sentences are mutated to obtain variant branches, the execution relation is judged according to the same method, and the variant branches are inserted into the PiOr other paths. For Pi', corresponding variant branch set, denoted as
Figure BDA0002897143430000053
Wherein | Pi' | is the number of variant branches, then, Pi' can be expressed as
Figure BDA0002897143430000054
And
Figure BDA0002897143430000055
are respectively a path Pi' the first and last variant branches above and their true branches.
S1.4: similarly, the words of different paths in P are mutated, and the generated variant branches are inserted into G to obtain a new program under test G ', and a new path set P' including the variant branches is obtained as { P ═ P1',P'2,…,P'qAnd q is the number of paths. In this way, all variant branches are divided into q groups based on the execution relationships of the paths to which they belong.
Step S2: constructing a multi-task optimization model generated by the variant test case:
since P isi' comprises
Figure BDA0002897143430000061
And Pi' also executable path, then overlay Pi' the test case must be able to kill
Figure BDA0002897143430000062
This will generate killing
Figure BDA0002897143430000063
The test case problem is converted into the coverage path PiThe problem of test case of' can be used for establishing a test case optimization model by using the traditional path covering method.
Cover PiThe optimization model for test case generation of' can be expressed as:
Figure BDA0002897143430000065
d (X) is the value range formed by X; f. ofi(X) is an objective function, which may be defined as the similarity of paths. From the beginning of the program, X executes the program traversal path denoted as P (X). P (X) and Pi' the similarity is denoted as fi(X), can be represented by
Figure BDA0002897143430000064
In the above formula, | Pi' | is Pi' number of upper nodes; i P (X) Δ Pi' | is from the beginning of the procedure, P (X) and Pi' number of identical nodes on.
Because there are q paths, the test case generation problem for these variant branches can be converted into q subproblems, and therefore, a multi-task optimization model can be established, which can be expressed as:
Figure BDA0002897143430000066
in the above formula Pi' corresponding subtask Ti
Step S3: generating a variant test case of the multi-task coverage path:
considering that different subtasks have different optimization models, a multi-task problem can be solved by adopting a multi-population genetic algorithm. In the whole population evolution process, the generation of the driving test case is an adaptive value function fitnissi(X). From an objective function fi(X) can be obtained by:
fitnissi(X)=fi(X) (5)
algorithm 1 illustrates a method for solving the generation of multi-tasking test cases using multi-population genetic algorithms. When a multi-population parallel genetic algorithm is adopted for solving, each sub-population evolves to solve a sub-optimization problem, so that the whole population is divided into q sub-populations. Set the population as U ═ U1,U2,…,Uq}, sub-population UiCorresponding subtask TiIs responsible for generating the overlay path PiThe test case of' generates an initial population, calculates an adaptation value of an evolved individual, and performs genetic operations such as selection, crossover, and mutation in their respective tasks.
Algorithm 1: the optimization generation method of the multi-task coverage path test case comprises the following steps:
inputting: u ═ U1,U2,…,Uq},P'={P1',P'2,…,P'q};
And (3) outputting: a test case set T;
step 1: setting the value of a control parameter required by the algorithm;
step 2: initializing q sub-populations;
step 3: judging whether the termination condition is met, if so, turning to Step 7;
step 4: for Pi', calculating UiI-1, 2, …, q, the fitness of the evolved individual fi(Ui);
Step 5: judge UiIs prepared fromWhether it is a subtask TiIs covered withi' test case? If yes, saving the individual and the path P covered by the individuali', end UiEvolution of (1), deletion of subtask TiThe optimization problem of (2);
step 6: comparison UiCarrying out genetic operations such as selection, crossing, mutation and the like on the performances of different evolved individuals to generate a new population, and turning to Step 3;
step 7: and stopping evolution and outputting a test case set.
In the algorithm 1, two termination conditions are provided in Step3, one is to generate an expected test case, namely q is changed into 0; the other is population evolution to maximum number of iterations.
The following describes the implementation of the present invention by way of example procedures.
FIG. 2 is a triangle example program source code. FIG. 2(a) shows the source code of triangle program G, and FIG. 2 (b) shows the new program G 'with variant branches inserted'
If for statement 3 "if (x)>z) "performing a mutation to obtain a variant branch M1“if((x>z)!=(x>- - -a1)) ", then M1(1) Execute, statement 5 "if ((x + y)<=z)!=(x-y<Z) must also be performed, then M may be used1,M1(1) Inserted into the path to obtain P1'=1,2,M1,M1(1) 3,5,7,9,11,12, which is an executable path by static analysis. In the same manner, M is generated1,M2,…,M7Inserting into different paths to obtain new branch paths containing variation, which are respectively:
P1'=1,2,M1,M1(1),3,5,M5,M5(1),7,9,11,M6,M6(1),12
P'2=1,2,M3,M3(1),3,4,5,M4,M4(1),7,8
P3'=1,2,M2,M2(1),3,5,7,9,M7,M7(1),11,13
building a multitask optimization model covering the three paths based on the three paths is as follows:
T1:max(f1(X))
s.t.X∈D(X)
T2:max(f2(X))
s.t.X∈D(X)
T3:max(f3(X))
s.t.X∈D(X)
when the multi-population genetic algorithm is adopted for solving, the number of the sub-populations is set to be 3, and the sub-population scale is set to be 5. The evolution algebra of the multiple group genetic algorithms was set to 3000. The genetic operation adopts roulette selection, single-point crossing and single-point mutation, and the crossing probability and the mutation probability are respectively 0.9 and 0.3. Finally, based on algorithm 2, a test set of killed variant branches is obtained { (23,23,23), (22,50,21), (57,57,60) }.

Claims (4)

1. A multitask software test case evolution generation method is characterized by comprising the following steps: the method comprises the following steps:
s1: grouping variant branches based on the correlation of the execution of the paths, namely, statically analyzing the execution correlation of the variant branches and the program paths, and dividing the variant branches with the same execution paths into the same group, specifically:
let the tested program be G, and the executable path set of G be P ═ P1,P2…, record the path
Figure RE-FDA0002996097000000011
Wherein s isiIs PiA certain statement on, si+1Is s isiThe successor statement of (1); to siPerforming mutation to obtain a mutation branch Mj,MjIs denoted as Mj(1);
S1.1: determination of M by static analysisj(1) And si+1The execution relationship of (1); if M isj(1) Execution, si+1Can also be performed, then at PiTo be Mj,Mj(1) Insertion of siGet a path
Figure RE-FDA0002996097000000012
Can judge P'iIs also an executable path;
s1.2: if M isj(1) Execution, si+1Must not execute, then find path P in Pj,PjComprises siAnd s isiS is followed byj≠si+1. Then, M was judged by static analysisj(1) Execution of the sum ofjExecuting the relationship; if M isj(1) Execution, sjCan also be performed at PjTo be Mj(1) Is inserted into siFront face was obtained of P'j
S1.3: to PiPerforming mutation on the other sentences to obtain some variant branches, judging the execution relation according to the methods in S1.1 and S1.2, and inserting the variant branches into PiOr on other paths; to P'iThe corresponding variant branch set is denoted as
Figure RE-FDA0002996097000000013
Wherein | P'iL is the number of variant branches, then P'iCan be expressed as
Figure RE-FDA0002996097000000014
S1.4: the method includes the steps of performing mutation on words of different paths in P, inserting the generated variant branches into G to obtain a new program G ', and obtaining a new path set P ' { P '1,P′2,…,P′qQ is the number of paths, and all the variation branches are divided into q groups based on the execution relation of the paths;
s2: constructing a variation test case generation multitask optimization model, namely establishing a variation test case generation multitask optimization model based on path coverage for a plurality of groups of variation branches, wherein the specific method comprises the following steps:
will generate killing
Figure RE-FDA0002996097000000015
Test case question of (1) is converted to coverage Path P'iTest case question of (1), cover P'iThe optimization model generated by the test case in (2) can be expressed as:
max(fi(X))
s.t.X∈D(X)
wherein D (X) is the value range formed by X; f. ofi(X) is an objective function, which may be defined as the similarity of paths;
for q paths, a multi-task optimization model is established, which can be expressed as:
Figure RE-FDA0002996097000000021
s3: generating a variant test case of the multi-task coverage path, namely solving the model constructed in the step S2 by using a multi-population genetic algorithm, and evolving to generate the test case, wherein the specific algorithm is as follows:
set the population as U ═ U1,U2,…,Uq}, sub-population UiCorresponding subtask TiResponsible for generating overlay Path P'iIn each task, generating an initial population, calculating an adaptation value of an evolved individual, and carrying out genetic operations such as selection, crossing, mutation and the like;
step 1: setting the value of a control parameter required by the algorithm;
step 2: initializing q sub-populations;
step 3: judging whether the termination condition is met, if so, turning to Step 7;
step 4: to P'iCalculate UiI-1, 2, …, q, the fitness of the evolved individual fi(Ui);
Step 5: judge UiWhether the individual in (1) is a subtask TiOf'iIs there a test case? If so, the individual and the route P 'covered by the individual are saved'iTerminate UiEvolution of (1), deletion of subtask TiThe optimization problem of (2);
step 6: comparison UiThe performance of different evolutionary individuals in the population, selection, crossover, and variationPerforming operation, generating a new population, and turning to Step 3;
step 7: and stopping evolution and outputting a test case set.
2. The method for evolution generation of the multi-task software test case according to claim 1, wherein: target function f in step S2i(X) through Path similarity representation
Figure RE-FDA0002996097000000031
Wherein, | P'iL is P'iThe number of upper nodes; l P (X) Δ P'iL is from the program, P (X) and P'iThe number of the same nodes.
3. The method for evolution generation of the multi-task software test case according to claim 1, wherein: two termination conditions exist in Step3, one is to generate an expected test case, namely q is changed into 0; the other is population evolution to maximum number of iterations.
4. The method for evolution generation of the multi-task software test case according to claim 2, wherein: said adaptation value is defined by the function fitnissi(X) determining, from the objective function, an adaptive value function:
fitnissi(X)=fi(X)。
CN202110028394.1A 2020-08-03 2021-01-14 Evolution generation method for multi-task software test case Withdrawn CN112732577A (en)

Applications Claiming Priority (8)

Application Number Priority Date Filing Date Title
CN2020107704059 2020-08-03
CN202010770405 2020-08-03
CN2020110724024 2020-10-09
CN202011072411 2020-10-09
CN2020110724113 2020-10-09
CN202011072402 2020-10-09
CN202011072834 2020-10-09
CN2020110728345 2020-10-09

Publications (1)

Publication Number Publication Date
CN112732577A true CN112732577A (en) 2021-04-30

Family

ID=75513622

Family Applications (9)

Application Number Title Priority Date Filing Date
CN202110028394.1A Withdrawn CN112732577A (en) 2020-08-03 2021-01-14 Evolution generation method for multi-task software test case
CN202110051669.3A Active CN112699052B (en) 2020-08-03 2021-01-14 Software test case evolution generation method based on relevant input variables
CN202110051667.4A Withdrawn CN112732582A (en) 2020-08-03 2021-01-14 Software test case evolution generation method based on search domain reduction
CN202110051666.XA Withdrawn CN112699050A (en) 2020-08-03 2021-01-14 Multi-population evolution generation method for software test case based on variant grouping
CN202110051668.9A Active CN112699051B (en) 2020-08-03 2021-01-14 Variant grouping method based on relevant input variables
CN202110051696.0A Active CN112699053B (en) 2020-08-03 2021-01-14 Software testing method integrated with fuzzy clustering
CN202110051670.6A Active CN112732583B (en) 2020-08-03 2021-01-14 Software test data generation method based on clustering and multi-population genetic algorithm
CN202110051697.5A Active CN112699054B (en) 2020-08-03 2021-01-14 Ordered generation method for software test cases
CN202110028395.6A Withdrawn CN112699045A (en) 2020-08-03 2021-01-14 Software test case generation method based on multi-population genetic algorithm

Family Applications After (8)

Application Number Title Priority Date Filing Date
CN202110051669.3A Active CN112699052B (en) 2020-08-03 2021-01-14 Software test case evolution generation method based on relevant input variables
CN202110051667.4A Withdrawn CN112732582A (en) 2020-08-03 2021-01-14 Software test case evolution generation method based on search domain reduction
CN202110051666.XA Withdrawn CN112699050A (en) 2020-08-03 2021-01-14 Multi-population evolution generation method for software test case based on variant grouping
CN202110051668.9A Active CN112699051B (en) 2020-08-03 2021-01-14 Variant grouping method based on relevant input variables
CN202110051696.0A Active CN112699053B (en) 2020-08-03 2021-01-14 Software testing method integrated with fuzzy clustering
CN202110051670.6A Active CN112732583B (en) 2020-08-03 2021-01-14 Software test data generation method based on clustering and multi-population genetic algorithm
CN202110051697.5A Active CN112699054B (en) 2020-08-03 2021-01-14 Ordered generation method for software test cases
CN202110028395.6A Withdrawn CN112699045A (en) 2020-08-03 2021-01-14 Software test case generation method based on multi-population genetic algorithm

Country Status (1)

Country Link
CN (9) CN112732577A (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113342662B (en) * 2021-06-11 2024-09-03 南京工业大学 Neuron characteristic-oriented AI system software model variation method
CN113590474B (en) * 2021-07-12 2022-03-22 山东建筑大学 Method and system for judging persistent variant of parallel program
CN114091622A (en) * 2021-12-07 2022-02-25 西安邮电大学 Variant reduction method based on self-organizing mapping neural network
CN114461535B (en) * 2022-04-14 2022-07-12 山东建筑大学 Parallel mutation operator-oriented obstinate variant test data generation method and system
CN115248781B (en) * 2022-09-22 2022-12-27 西南科技大学 Combined test case generation method, device, equipment and readable storage medium
CN115729825B (en) * 2022-11-25 2024-10-29 中国长江三峡集团有限公司 Industrial protocol fuzzy test case generation method and device and electronic equipment
CN115617700B (en) * 2022-12-19 2023-04-07 华东交通大学 Test case design and generation method and system based on relational analysis

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808426A (en) * 2016-02-28 2016-07-27 徐州工程学院 Path coverage test data generation method used for weak mutation test
CN107729241A (en) * 2017-10-12 2018-02-23 中国矿业大学 A kind of software mutation testing data evolution generation method based on variant packet
CN111274119A (en) * 2018-12-05 2020-06-12 徐州工程学院 Variation test data generation method based on multi-population coevolution

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030083822A2 (en) * 2001-05-15 2003-05-01 Psychogenics, Inc. Systems and methods for monitoring behavior informatics
US20080052690A1 (en) * 2006-08-08 2008-02-28 Microsoft Corporation Testing software with a build engine
US8589736B2 (en) * 2011-08-12 2013-11-19 Tata Consultancy Services Limited System and method for automatic test data generation for relational testing
CN103593287B (en) * 2013-10-30 2016-08-17 北京信息控制研究所 A kind of data links case automatic generating method based on genetic algorithm
CN103559129B (en) * 2013-10-31 2016-08-17 中国矿业大学 Statistical regression test data generating method based on genetic algorithm
CN103605605B (en) * 2013-11-21 2016-05-25 中国矿业大学 Based on the be dominant high-order mutation testing method of relation and two-stage genetic algorithm of statement
CN103973511A (en) * 2014-04-28 2014-08-06 南京邮电大学 Service vulnerability test method based on message combination variation
AU2016219480B2 (en) * 2015-02-09 2021-11-11 10X Genomics, Inc. Systems and methods for determining structural variation and phasing using variant call data
CN105302719B (en) * 2015-10-26 2017-11-28 北京科技大学 A kind of mutation testing method and device
CN105868116B (en) * 2016-04-15 2018-07-24 西北工业大学 Test cases technology based on semantic variation operator and optimization method
JP6572168B2 (en) * 2016-04-22 2019-09-04 日本電信電話株式会社 Test data generation program and test data generation method
CN105930272B (en) * 2016-04-22 2018-10-02 中国矿业大学 Branch's coverage test data creation method based on important sentence
EP3388994A1 (en) * 2017-04-12 2018-10-17 Siemens Aktiengesellschaft Method and apparatus for computer-assisted testing of a blockchain
CN107590313A (en) * 2017-08-14 2018-01-16 天津大学 Optimal inspection vector generation method based on genetic algorithm and analysis of variance
CN108664391B (en) * 2018-03-13 2021-03-23 北京邮电大学 Program state-oriented fault classification method, variation testing method and device
CN108763055B (en) * 2018-04-19 2020-08-25 北京航空航天大学 Construction method of test case constraint control technology based on epigenetic inheritance
CN110399285B (en) * 2018-04-24 2022-11-15 西安邮电大学 Test case reduction method based on weak mutation analysis
CN109542783B (en) * 2018-11-19 2021-07-09 北京航空航天大学 Extended finite-state machine test data generation method based on variable segmentation
US10956133B2 (en) * 2018-11-28 2021-03-23 International Business Machines Corporation Static optimization of production code for dynamic profiling
WO2020136880A1 (en) * 2018-12-28 2020-07-02 三菱電機株式会社 Test execution device, test execution method, and test execution program
CN111352830B (en) * 2020-01-06 2023-10-24 中国矿业大学 Variation test data evolution generation method based on statement dominance relation
CN111563044B (en) * 2020-05-11 2022-10-25 西安邮电大学 Program spectrum error positioning method based on program variation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808426A (en) * 2016-02-28 2016-07-27 徐州工程学院 Path coverage test data generation method used for weak mutation test
CN107729241A (en) * 2017-10-12 2018-02-23 中国矿业大学 A kind of software mutation testing data evolution generation method based on variant packet
CN111274119A (en) * 2018-12-05 2020-06-12 徐州工程学院 Variation test data generation method based on multi-population coevolution

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
党向盈等: "基于统计分析的弱变异测试可执行路径生成", 《计算机学报》 *

Also Published As

Publication number Publication date
CN112699050A (en) 2021-04-23
CN112699054A (en) 2021-04-23
CN112699053B (en) 2022-02-22
CN112699054B (en) 2022-02-18
CN112699052A (en) 2021-04-23
CN112699053A (en) 2021-04-23
CN112699052B (en) 2022-04-15
CN112732583A (en) 2021-04-30
CN112699045A (en) 2021-04-23
CN112732582A (en) 2021-04-30
CN112699051A (en) 2021-04-23
CN112699051B (en) 2022-04-01
CN112732583B (en) 2022-02-18

Similar Documents

Publication Publication Date Title
CN112732577A (en) Evolution generation method for multi-task software test case
CN109739755B (en) Fuzzy test system based on program tracking and mixed execution
Knowles ParEGO: A hybrid algorithm with on-line landscape approximation for expensive multiobjective optimization problems
US8839210B2 (en) Program performance analysis apparatus
CN107851031B (en) Data discovery node
CN109542783B (en) Extended finite-state machine test data generation method based on variable segmentation
CN107908536B (en) Performance evaluation method and system for GPU application in CPU-GPU heterogeneous environment
CN111240995B (en) Multi-path coverage method and system combining key point probability and path similarity
CN113127342B (en) Defect prediction method and device based on power grid information system feature selection
CN103559129A (en) Statistical regression test data generation method based on genetic algorithm
CN108363660B (en) Test program generation method and device
CN111666221B (en) Software test data set amplification method based on longicorn stigma search
CN113407185A (en) Compiler optimization option recommendation method based on Bayesian optimization
CN110377525B (en) Parallel program performance prediction system based on runtime characteristics and machine learning
JP5167596B2 (en) Data set selection device and experimental design system
CN110069347A (en) A kind of thread dividing method of Kernel-based methods different degree
CN110554952B (en) Search-based hierarchical regression test data generation method
Groß A prediction system for evolutionary testability applied to dynamic execution time analysis
O’Sullivan et al. Testing temporal correctness of real-time systems-a new approach using genetic algorithms and cluster analysis
JP2019003333A (en) Bug contamination probability calculation program and bug contamination probability calculation method
Perelman et al. Cross binary simulation points
CN113656279A (en) Code odor detection method based on residual error network and measurement attention mechanism
Zhou et al. Distributed framework for accelerating training of deep learning models through prioritization
Wu et al. SenseDSE: Sensitivity-Based Performance Evaluation for Design Space Exploration of Microarchitecture
CN111459790A (en) Genetic algorithm-based generation method of message passing interface program branch coverage test suite

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20210430

WW01 Invention patent application withdrawn after publication