CN110928790A - Test case construction method and device and test equipment - Google Patents

Test case construction method and device and test equipment Download PDF

Info

Publication number
CN110928790A
CN110928790A CN201911180495.XA CN201911180495A CN110928790A CN 110928790 A CN110928790 A CN 110928790A CN 201911180495 A CN201911180495 A CN 201911180495A CN 110928790 A CN110928790 A CN 110928790A
Authority
CN
China
Prior art keywords
test
initial
reasoning
inference
proposition
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.)
Granted
Application number
CN201911180495.XA
Other languages
Chinese (zh)
Other versions
CN110928790B (en
Inventor
李宁馨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201911180495.XA priority Critical patent/CN110928790B/en
Publication of CN110928790A publication Critical patent/CN110928790A/en
Application granted granted Critical
Publication of CN110928790B publication Critical patent/CN110928790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/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
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

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 provides a test case supplementing method, a test case supplementing device and test equipment, wherein the method comprises the following steps: extracting test points from a test case table and generating an initial theme set corresponding to the test points; searching a reasoning law set suitable for the initial theme set from a preset reasoning law library; carrying out reasoning operation on the initial propositions in the initial proposition set by utilizing the reasoning law set to obtain one or more reasoning propositions; supplementing the one or more inference propositions into the initial proposition set. The invention can automatically supplement more test cases based on the existing test cases so as to expand the test cases, and can carry out wider and wider software test on software after the range of the test cases is expanded, thereby improving the accuracy of the test result.

Description

Test case construction method and device and test equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a test case supplementing method and apparatus, and a test device.
Background
The most important factor in software testing for software programs is the design and generation of effective test cases. The current process of designing a test case is as follows: according to the user requirement specification, technical scheme specification and other files, a tester firstly combs the test requirement, then combs the test outline, the panoramic image and the test data table, and finally constructs a test case.
The existing test cases are usually written by designers manually, the design quality of the test cases has close relation with experience knowledge and the like of case designers, and range omission is easily caused by insufficient experience or human negligence.
Under the condition that the test range of the test case is insufficient, the accuracy of the subsequent test result is low.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for generating test cases, and a test device, which can automatically supplement more test cases based on the existing test cases, so as to expand the test cases and further improve the accuracy of the subsequent test results.
In order to achieve the above object, the present application provides the following technical features:
a test case replenishment method comprising:
extracting test points from a test case table and generating an initial theme set corresponding to the test points;
searching a reasoning law set suitable for the initial theme set from a preset reasoning law library;
carrying out reasoning operation on the initial propositions in the initial proposition set by utilizing the reasoning law set to obtain one or more reasoning propositions;
supplementing the one or more inference propositions into the initial proposition set.
Optionally, the extracting test points from the test case table and generating an initial proposition set corresponding to the test points includes:
obtaining test points from the test case table; the test point comprises a plurality of groups of test data, and one group of test data comprises a group of test conditions, the connection relation among the test conditions in the group of test conditions, and the test result of the group of test conditions;
for each set of test data: determining a calculation operation corresponding to the connection relation between each test condition in the group of test conditions, connecting each test condition in the group of test conditions by using the calculation operation to obtain a test input, deducing the proposition of the test result from the test input, and determining the proposition as an initial proposition corresponding to the group of test data;
and forming the initial theme set by the initial theme corresponding to the plurality of groups of test data.
Optionally, there is a combination relationship between one or more of the initial propositions in the initial proposition set; the searching for the inference law set suitable for the initial topic set from the preset inference law library includes:
for each combinatorial relationship: and searching one or more inference laws corresponding to the combination relation from a preset inference law library, wherein the one or more inference laws form an inference law set corresponding to the combination relation.
Optionally, the performing inference operation on the initial propositions in the initial proposition set by using the inference law set to obtain one or more inference propositions includes:
and (3) concentrating all inference laws for inference laws corresponding to a combination relation:
determining at least one initial proposition corresponding to the combination relationship;
performing a combination operation on the test input of the at least one initial proposition according to the input of the reasoning law, and performing a combination operation on the test output of the at least one initial proposition according to the output of the reasoning law;
the combined input and the combined result are used as an inference proposition.
Optionally, the supplementing the one or more inference propositions into the initial proposition set includes:
judging whether the initial theme set has the reasoning theme or not;
if yes, the inference proposition is not added;
and if not, adding the reasoning proposition.
A test case replenishment apparatus comprising:
the generating unit is used for extracting the test points from the test case table and generating an initial theme set corresponding to the test points;
the searching unit is used for searching a reasoning law set suitable for the initial topic set from a preset reasoning law library;
the reasoning unit is used for carrying out reasoning operation on the initial proposition in the initial proposition set by utilizing the reasoning law set to obtain one or more reasoning propositions;
a supplementing unit for supplementing the one or more inference propositions into the initial proposition set.
Optionally, the generating unit includes:
the obtaining unit is used for obtaining the test points from the test case table; the test point comprises a plurality of groups of test data, and one group of test data comprises a group of test conditions, the connection relation among the test conditions in the group of test conditions, and the test result of the group of test conditions;
a proposition determining unit for, for each set of test data: determining a calculation operation corresponding to the connection relation between each test condition in the group of test conditions, connecting each test condition in the group of test conditions by using the calculation operation to obtain a test input, deducing the proposition of the test result from the test input, and determining the proposition as an initial proposition corresponding to the group of test data;
and the composition unit is used for composing the initial theme corresponding to the plurality of groups of test data into the initial theme set.
Optionally, there is a combination relationship between one or more of the initial propositions in the initial proposition set; the lookup unit comprises:
for each combinatorial relationship: and searching one or more inference laws corresponding to the combination relation from a preset inference law library, wherein the one or more inference laws form an inference law set corresponding to the combination relation.
Optionally, the inference unit includes:
and (3) concentrating all inference laws for inference laws corresponding to a combination relation:
determining at least one initial proposition corresponding to the combination relationship; performing a combination operation on the test input of the at least one initial proposition according to the input of the reasoning law, and performing a combination operation on the test output of the at least one initial proposition according to the output of the reasoning law; the combined input and the combined result are used as an inference proposition.
A test apparatus, comprising:
the memory is used for storing a test case table;
the processor is used for acquiring the test case table from the memory, extracting the test points from the test case table and generating an initial theme set corresponding to the test points; searching a reasoning law set suitable for the initial theme set from a preset reasoning law library; carrying out reasoning operation on the initial propositions in the initial proposition set by utilizing the reasoning law set to obtain one or more reasoning propositions; supplementing the one or more inference propositions into the initial proposition set.
Through the technical means, the following beneficial effects can be realized:
the invention can extract the test points on the basis of the existing test case, generate the corresponding initial theme set aiming at each test point, reason the initial theme in the initial theme set based on the reasoning law in the preset reasoning law library to obtain the reasoning theme, and supplement the reasoning theme to the initial theme set, thereby expanding the theme of the test points, namely automatically executing the expanding operation on the test.
The invention can automatically supplement more test cases based on the existing test cases so as to expand the test cases, and can carry out wider and wider software test on software after the range of the test cases is expanded, thereby improving the accuracy of the test result.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a testing apparatus disclosed in an embodiment of the present application;
FIG. 2 is a flowchart of a test case supplementing method disclosed in an embodiment of the present application;
FIG. 3 is a flowchart of another test case supplementing method disclosed in the embodiments of the present application;
FIG. 4 is a flowchart of another test case supplementing method disclosed in the embodiments of the present application;
fig. 5 is a schematic structural diagram of a test case supplement apparatus disclosed in an embodiment of the present application;
fig. 6 is a schematic structural diagram of another test case supplement apparatus disclosed in the embodiment of the present application;
fig. 7 is a schematic structural diagram of another test case supplement apparatus disclosed in the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
The present invention provides a test apparatus, see fig. 1, comprising:
a memory 101 for storing a test case table;
the processor 102 is configured to obtain a test case table from the memory, extract test points from the test case table, and generate an initial theme set corresponding to the test points; searching a reasoning law set suitable for the initial theme set from a preset reasoning law library; carrying out reasoning operation on the initial propositions in the initial proposition set by utilizing the reasoning law set to obtain one or more reasoning propositions; supplementing the one or more inference propositions into the initial proposition set.
The inference law set comprises an additive law, a simplifying law, a hypothesis inference law, a rejectionable law, an extracted three-segment theory law, a hypothesis three-segment theory law, an equivalent three-segment theory law, a constructive two-difficult law, a destructive two-difficult law and the like. Of course, a suitable reasoning law can be added according to the actual application scenario.
The specific implementation of the processor is shown in the embodiment shown in fig. 2, and will not be described herein again.
Through the technical means, the following beneficial effects can be realized:
the invention can extract the test points on the basis of the existing test case, generate the corresponding initial theme set aiming at each test point, reason the initial theme in the initial theme set based on the reasoning law in the preset reasoning law library to obtain the reasoning theme, and supplement the reasoning theme to the initial theme set, thereby expanding the theme of the test points, namely automatically executing the expanding operation on the test.
The invention can automatically supplement more test cases based on the existing test cases so as to expand the test cases, and can carry out wider and wider software test on software after the range of the test cases is expanded, thereby improving the accuracy of the test result.
The application provides a test case supplementing method, and referring to fig. 2, the method comprises the following steps:
step S201: and extracting test points from the test case table and generating an initial theme set corresponding to the test points.
Referring to fig. 3, the present step may include the steps of:
step S301: obtaining test points from the test case table; the test point comprises a plurality of groups of test data, and one group of test data comprises a group of test conditions, the connection relation among the test conditions in the group of test conditions, and the test result of the group of test conditions.
It can be understood that a test point may correspond to multiple sets of test data, and the test may be performed from different angles through the multiple sets of test data, so as to verify whether the test point is applicable to different situations. The set of test data includes a set of test conditions, a connection relationship between the respective test conditions in the set of test conditions, and a test result of the set of test conditions.
For ease of understanding, the following examples are given:
the test point is personal information and is modified to be whether the soldier can succeed or not, and the test point can correspond to three groups of test data:
first set of test data: if the user tag is a soldier, the personal information is modified successfully when the personal information is modified to be the soldier in the bank reference. The test condition is that the user label is a military person, and the test result is that the modification is successful.
Second set of test data: if the user tag is not a soldier, the modification fails when the personal information is modified to be the soldier in the bank application. The test condition is that the user label is not a military person, and the test result is that the modification fails.
And if the user label is not a military person, the third group of test data is successfully modified when the bank application modifies the personal information into a non-military person. The test condition is that the user label is not a military person, and the test result is that the modification is successful.
Because each group of test data has one test condition, the connection relation between the test conditions does not exist.
For ease of understanding, the following connection relationships between test conditions are illustrated:
the test point is whether to show a special military region, wherein one group of test data is as follows: and when the user logs in the bank application and the user label is a soldier, displaying the soldier special area.
Wherein, two test conditions are respectively as follows: the user has logged in the bank application, and the user label is a soldier, the connection between the two test conditions is "and", and the test result is "show soldier special area".
Step S302: for each set of test data: determining the calculation operation corresponding to the connection relation between the test conditions in the group of test conditions, connecting the test conditions in the group of test conditions by using the calculation operation to obtain test input, deducing the proposition of the test result from the test input, and determining the proposition as the initial proposition corresponding to the group of test data.
The continuation of the above example test point is an example of whether the personal information is modified into the military person success,
setting the user label as a soldier as A, and setting the modification success as B; setting "modification failed" to B;
the first test data corresponds to an initial proposition a → B (indicating that the result B can be concluded to be true if the test input is a), a non-a → non-B (the conclusion is not B true if the test input is not a true), and a non-a → C (the conclusion is C if the test input is not a).
Step S303: and forming the initial theme set by the initial theme corresponding to the plurality of groups of test data.
Continuing the example above, the initial propositions A → B, non A → non B, and, non A → C are grouped into an initial set of propositions.
Step S201 then proceeds to step S202: and searching a reasoning law set suitable for the initial theme set from a preset reasoning law library.
Optionally, there is a combination relationship between one or more of the initial propositions in the initial proposition set; the searching for the inference law set suitable for the initial topic set from the preset inference law library includes: for each combinatorial relationship: and searching one or more inference laws corresponding to the combination relation from a preset inference law library, wherein the one or more inference laws form an inference law set corresponding to the combination relation.
It is understood that a combination relationship may be formed between a plurality of initial propositions in the initial proposition set, taking two test propositions as an example and the combination relationship is "and", the test inputs of the two initial propositions are combined according to "and" to obtain a combination input, and the test results of the two test results are combined according to "and" to obtain a combination result.
Continuing the example of two initial propositions with the combined relationship of 'and', the step is to find the 'and' inference law with the relationship between two parameters from the preset inference law library.
Continuing with the example of the initial proposition A → B for the first test data, since the input has one parameter, an inference law with one parameter, e.g., inverse NO law, can be found.
Step S202 then proceeds to step S203: and carrying out reasoning operation on the initial propositions in the initial proposition set by utilizing the reasoning law set to obtain one or more reasoning propositions.
Referring to fig. 4, the inference laws corresponding to a combination relationship are concentrated into respective inference laws:
step S401: and determining at least one initial proposition corresponding to the combination relationship.
Step S402: and performing a combination operation on the test input of the at least one initial proposition according to the input of the reasoning law, and performing a combination operation on the test output of the at least one initial proposition according to the output of the reasoning law.
Step S403: the combined input and the combined result are used as an inference proposition.
Continuing the above example, the inference law, for example, with the input as one parameter, may include the inverse-negative law, i.e., negating the test input, negating the test result, and swapping the test input and test output, the inference title may be obtained from the initial title A → B as non-B → non-A.
Step S203 then proceeds to step S204: supplementing the one or more inference propositions into the initial proposition set.
It can be understood that, whether the reasoning proposition exists in the initial proposition set is judged; if yes, the inference proposition is not added; and if not, adding the reasoning proposition.
Through the technical means, the following beneficial effects can be realized:
the invention can extract the test points on the basis of the existing test case, generate the corresponding initial theme set aiming at each test point, reason the initial theme in the initial theme set based on the reasoning law in the preset reasoning law library to obtain the reasoning theme, and supplement the reasoning theme to the initial theme set, thereby expanding the theme of the test points, namely automatically executing the expanding operation on the test.
The invention can automatically supplement more test cases based on the existing test cases so as to expand the test cases, and can carry out wider and wider software test on software after the range of the test cases is expanded, thereby improving the accuracy of the test result.
Referring to fig. 5, the present application provides a test case supplementing apparatus including:
a generating unit 51, configured to extract a test point from a test case table and generate an initial theme set corresponding to the test point;
a searching unit 52, configured to search a set of inference laws suitable for the initial topic set from a preset inference law library;
the reasoning unit 53 is used for performing reasoning operation on the initial propositions in the initial proposition set by using the reasoning law set to obtain one or more reasoning propositions;
a supplementing unit 54 for supplementing the one or more inference propositions into the initial proposition set.
Wherein, referring to fig. 6, the generating unit 51 includes:
an obtaining unit 61, configured to obtain a test point from the test case table; the test point comprises a plurality of groups of test data, and one group of test data comprises a group of test conditions, the connection relation among the test conditions in the group of test conditions, and the test result of the group of test conditions;
a determination proposition unit 62 for, for each set of test data: determining a calculation operation corresponding to the connection relation between each test condition in the group of test conditions, connecting each test condition in the group of test conditions by using the calculation operation to obtain a test input, deducing the proposition of the test result from the test input, and determining the proposition as an initial proposition corresponding to the group of test data;
and the composition unit 63 is used for composing the initial proposition corresponding to the plurality of groups of test data into the initial proposition set.
Wherein there is a combinatorial relationship between one or more of the set of initial propositions; the lookup unit comprises:
for each combinatorial relationship: and searching one or more inference laws corresponding to the combination relation from a preset inference law library, wherein the one or more inference laws form an inference law set corresponding to the combination relation.
Wherein, referring to fig. 7, the inference unit comprises:
and (3) concentrating all inference laws for inference laws corresponding to a combination relation:
an initial proposition determining unit 71, configured to determine at least one initial proposition corresponding to the combination relationship;
a combination unit 72 for performing a combination operation on the test input of the at least one initial proposition according to the input of the inference law, and performing a combination operation on the test output of the at least one initial proposition according to the output of the inference law;
and an inference proposition determining unit 73 for taking the combination input and the combination result as an inference proposition.
Wherein the supplementary unit includes: judging whether the initial theme set has the reasoning theme or not; if yes, the inference proposition is not added; and if not, adding the reasoning proposition.
Through the technical means, the following beneficial effects can be realized:
the invention can extract the test points on the basis of the existing test case, generate the corresponding initial theme set aiming at each test point, reason the initial theme in the initial theme set based on the reasoning law in the preset reasoning law library to obtain the reasoning theme, and supplement the reasoning theme to the initial theme set, thereby expanding the theme of the test points, namely automatically executing the expanding operation on the test.
The invention can automatically supplement more test cases based on the existing test cases so as to expand the test cases, and can carry out wider and wider software test on software after the range of the test cases is expanded, thereby improving the accuracy of the test result.
The functions described in the method of the present embodiment, if implemented in the form of software functional units and sold or used as independent products, may be stored in a storage medium readable by a computing device. Based on such understanding, part of the contribution to the prior art of the embodiments of the present application or part of the technical solution may be embodied in the form of a software product stored in a storage medium and including several instructions for causing a computing device (which may be a personal computer, a server, a mobile computing device or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A test case replenishment method, comprising:
extracting test points from a test case table and generating an initial theme set corresponding to the test points;
searching a reasoning law set suitable for the initial theme set from a preset reasoning law library;
carrying out reasoning operation on the initial propositions in the initial proposition set by utilizing the reasoning law set to obtain one or more reasoning propositions;
supplementing the one or more inference propositions into the initial proposition set.
2. The method of claim 1, wherein the extracting test points from a test case table and generating an initial set of propositions corresponding to the test points comprises:
obtaining test points from the test case table; the test point comprises a plurality of groups of test data, and one group of test data comprises a group of test conditions, the connection relation among the test conditions in the group of test conditions, and the test result of the group of test conditions;
for each set of test data: determining a calculation operation corresponding to the connection relation between each test condition in the group of test conditions, connecting each test condition in the group of test conditions by using the calculation operation to obtain a test input, deducing the proposition of the test result from the test input, and determining the proposition as an initial proposition corresponding to the group of test data;
and forming the initial theme set by the initial theme corresponding to the plurality of groups of test data.
3. The method of claim 1, wherein there is a combinatorial relationship between one or more of the initial sets of propositions; the searching for the inference law set suitable for the initial topic set from the preset inference law library includes:
for each combinatorial relationship: and searching one or more inference laws corresponding to the combination relation from a preset inference law library, wherein the one or more inference laws form an inference law set corresponding to the combination relation.
4. The method of claim 3, wherein said reasoning about initial propositions in the set of initial propositions using the set of inference laws to obtain one or more reasoning propositions comprises:
and (3) concentrating all inference laws for inference laws corresponding to a combination relation:
determining at least one initial proposition corresponding to the combination relationship;
performing a combination operation on the test input of the at least one initial proposition according to the input of the reasoning law, and performing a combination operation on the test output of the at least one initial proposition according to the output of the reasoning law;
the combined input and the combined result are used as an inference proposition.
5. The method of claim 1, wherein said supplementing the one or more inference propositions into the initial proposition set comprises:
judging whether the initial theme set has the reasoning theme or not;
if yes, the inference proposition is not added;
and if not, adding the reasoning proposition.
6. A test case replenishment apparatus, comprising:
the generating unit is used for extracting the test points from the test case table and generating an initial theme set corresponding to the test points;
the searching unit is used for searching a reasoning law set suitable for the initial topic set from a preset reasoning law library;
the reasoning unit is used for carrying out reasoning operation on the initial proposition in the initial proposition set by utilizing the reasoning law set to obtain one or more reasoning propositions;
a supplementing unit for supplementing the one or more inference propositions into the initial proposition set.
7. The apparatus of claim 6, wherein the generating unit comprises:
the obtaining unit is used for obtaining the test points from the test case table; the test point comprises a plurality of groups of test data, and one group of test data comprises a group of test conditions, the connection relation among the test conditions in the group of test conditions, and the test result of the group of test conditions;
a proposition determining unit for, for each set of test data: determining a calculation operation corresponding to the connection relation between each test condition in the group of test conditions, connecting each test condition in the group of test conditions by using the calculation operation to obtain a test input, deducing the proposition of the test result from the test input, and determining the proposition as an initial proposition corresponding to the group of test data;
and the composition unit is used for composing the initial theme corresponding to the plurality of groups of test data into the initial theme set.
8. The apparatus of claim 6, wherein there is a combinatorial relationship between one or more of the set of initial propositions; the lookup unit comprises:
for each combinatorial relationship: and searching one or more inference laws corresponding to the combination relation from a preset inference law library, wherein the one or more inference laws form an inference law set corresponding to the combination relation.
9. The apparatus of claim 8, wherein the inference unit comprises:
and (3) concentrating all inference laws for inference laws corresponding to a combination relation:
determining at least one initial proposition corresponding to the combination relationship; performing a combination operation on the test input of the at least one initial proposition according to the input of the reasoning law, and performing a combination operation on the test output of the at least one initial proposition according to the output of the reasoning law; the combined input and the combined result are used as an inference proposition.
10. A test apparatus, comprising:
the memory is used for storing a test case table;
the processor is used for acquiring the test case table from the memory, extracting the test points from the test case table and generating an initial theme set corresponding to the test points; searching a reasoning law set suitable for the initial theme set from a preset reasoning law library; carrying out reasoning operation on the initial propositions in the initial proposition set by utilizing the reasoning law set to obtain one or more reasoning propositions; supplementing the one or more inference propositions into the initial proposition set.
CN201911180495.XA 2019-11-27 2019-11-27 Test case construction method and device and test equipment Active CN110928790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911180495.XA CN110928790B (en) 2019-11-27 2019-11-27 Test case construction method and device and test equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911180495.XA CN110928790B (en) 2019-11-27 2019-11-27 Test case construction method and device and test equipment

Publications (2)

Publication Number Publication Date
CN110928790A true CN110928790A (en) 2020-03-27
CN110928790B CN110928790B (en) 2024-02-02

Family

ID=69852154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911180495.XA Active CN110928790B (en) 2019-11-27 2019-11-27 Test case construction method and device and test equipment

Country Status (1)

Country Link
CN (1) CN110928790B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113111008A (en) * 2021-05-12 2021-07-13 中国工商银行股份有限公司 Test case generation method and device
CN113961470A (en) * 2021-11-02 2022-01-21 中国银行股份有限公司 Method and device for simplifying test cases

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105373476A (en) * 2015-11-17 2016-03-02 北京新能源汽车股份有限公司 Method and system for generating automatic test case in automobile controller
CN106326125A (en) * 2016-08-26 2017-01-11 上海合福信息科技有限公司 Test case generating method
US20190065345A1 (en) * 2017-08-24 2019-02-28 Salesforce.Com, Inc. Runtime expansion of test cases

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105373476A (en) * 2015-11-17 2016-03-02 北京新能源汽车股份有限公司 Method and system for generating automatic test case in automobile controller
CN106326125A (en) * 2016-08-26 2017-01-11 上海合福信息科技有限公司 Test case generating method
US20190065345A1 (en) * 2017-08-24 2019-02-28 Salesforce.Com, Inc. Runtime expansion of test cases

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113111008A (en) * 2021-05-12 2021-07-13 中国工商银行股份有限公司 Test case generation method and device
CN113111008B (en) * 2021-05-12 2024-02-23 中国工商银行股份有限公司 Test case generation method and device
CN113961470A (en) * 2021-11-02 2022-01-21 中国银行股份有限公司 Method and device for simplifying test cases

Also Published As

Publication number Publication date
CN110928790B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
CN109145099B (en) Question-answering method and device based on artificial intelligence
CN106599317B (en) Test data processing method, device and the terminal of question answering system
CN108519998B (en) Problem guiding method and device based on knowledge graph
CN110245475B (en) Identity verification method and device
CN112016296B (en) Sentence vector generation method, sentence vector generation device, sentence vector generation equipment and sentence vector storage medium
CN110928790A (en) Test case construction method and device and test equipment
CN110399448B (en) Chinese place name address searching and matching method, terminal and computer readable storage medium
CN111435367B (en) Knowledge graph construction method, system, equipment and storage medium
CN106294138A (en) Method for generating test case and device
Kim et al. $^ 2$: Question Answering with Questionable Assumptions
CN107291612B (en) Test method and device
CN112052157A (en) Test message construction method, device and system
CN111045836B (en) Search method, search device, electronic equipment and computer readable storage medium
CN114546804A (en) Information push effect evaluation method and device, electronic equipment and storage medium
CN108848183B (en) Login method and device for simulation user
CN107833259B (en) Dynamic cartoon engine processing method and system based on intelligent terminal
CN111859148A (en) Theme extraction method, device and equipment and computer readable storage medium
CN114116244A (en) Data processing method, device and system, electronic equipment and storage medium
CN111026876A (en) Mnemonic word generation method, public and private key pair generation method, equipment and storage medium
CN113656697B (en) Object recommendation method, device, electronic equipment and storage medium
CN111176763B (en) Method and device for calling help function of command
KR102446504B1 (en) Online rorschach test system and operation method thereof
CN118333018A (en) Instruction generation method and device, storage medium and electronic equipment
CN115114159A (en) Flow customized chaotic engineering test method, device and equipment
CN114201388A (en) Python function-based dynamic baffle testing method and related device

Legal Events

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