CN107341080B - Test case management system and method - Google Patents
Test case management system and method Download PDFInfo
- Publication number
- CN107341080B CN107341080B CN201710549255.7A CN201710549255A CN107341080B CN 107341080 B CN107341080 B CN 107341080B CN 201710549255 A CN201710549255 A CN 201710549255A CN 107341080 B CN107341080 B CN 107341080B
- Authority
- CN
- China
- Prior art keywords
- test
- test case
- retrieval module
- information
- test cases
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 142
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000007726 management method Methods 0.000 claims abstract description 39
- 238000011160 research Methods 0.000 claims abstract description 15
- 239000000284 extract Substances 0.000 claims description 10
- 230000014509 gene expression Effects 0.000 claims description 8
- 238000012827 research and development Methods 0.000 abstract description 15
- 230000003993 interaction Effects 0.000 abstract description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
Abstract
The invention provides a test case management system and a test case management method, wherein the system comprises an operation end and a management background, and the operation end carries out information interaction with the management background through a network; the management background comprises an information input module, a database and a retrieval module, wherein the database is used for storing all test case information, and the information input module is used for inputting all text information and keyword information of test cases; the retrieval module queries the mutually related test cases through the keyword information. The method comprises the following steps: step 1: the testing personnel uploads all the character information and the keyword information of the test case to the management background; step 2: and extracting the key words by research personnel, and inquiring the associated test cases by utilizing a retrieval module. According to the invention, by uploading the keywords and combining the retrieval module, the rapid understanding and the associated retrieval of the test cases are realized, and the working efficiency of the test department and the research and development department is greatly improved.
Description
Technical Field
The invention relates to the technical field of server testing and research and development, in particular to a test case management system and a test case management method.
Background
The test case is a script or document which is written by a tester and contains the contents of a test means, a test step, an expected result, an actual result and the like in the process of testing the functional integrity and the stability of the server by the tester. The main function of the test case is to provide reference for research and development personnel through the difference between the expected result and the actual result, and particularly, the design idea of the research and development personnel can be well corrected for the test case with inconsistent actual result and expected result.
At present, for the handover of test case feedback results between a research and development department and a test department, a problem management system is mainly shared, and the working principle is as follows: in each project, a test team tests according to test cases one by one, the test cases are manually input into the problem management system and are notified to research and development personnel, and the research and development personnel can obtain all information of the test cases by checking the problem management system and use the information as a reference for research, development and design.
The existing problem management system solves the problem of test case handover to a certain extent, and omits the time of face-to-face communication between testers and research personnel, but the system also has the following defects:
the test cases are written by different testers, and because each tester has different professional levels and description habits, even if the same test is performed, the written test cases are different, so that research and development engineers cannot correspond to the test cases, often need the assistance of test teams, and the working efficiency is greatly reduced. In addition, in the existing problem management system, a BMC research and development responsible person of each server product cannot confirm whether the problem occurs in other server products or not in time, and whether other responsible persons have solutions or not, which causes great waste on testing and research and development and reduces testing and research and development efficiency.
Disclosure of Invention
In order to solve the problems, a test case management system and a test case management method are provided, the quick understanding and the associated retrieval of the test cases are realized by uploading keywords and combining a retrieval module, and the working efficiency of a test department and a research and development department is greatly improved.
The specific embodiment of the invention adopts the following technical scheme:
a test case management system comprises an operation end and a management background, wherein the operation end carries out information interaction with the management background through a network; the management background comprises an information input module, a database and a retrieval module, wherein the database is used for storing all test case information, and the information input module is used for inputting all text information and keyword information of test cases; the retrieval module queries the mutually related test cases through the keyword information.
Furthermore, a Chinese-English comparison table is also arranged in the database and records Chinese-English corresponding relations of all the common nouns, and the Chinese-English corresponding relation of each common noun comprises a Chinese full name, a Chinese short name, an English full name and an English abbreviation of the common noun.
Furthermore, the management background further comprises a deep retrieval module, and the deep retrieval module retrieves and extracts the test cases with the character number coincidence rate higher than the set standard by comparing the full texts of the test cases.
A test case management method comprises the following processes:
step 1: the testing personnel uploads all the character information and the keyword information of the test case to the management background;
step 2: and extracting the key words by research personnel, and inquiring the associated test cases by utilizing a retrieval module.
Further, the method further comprises the following steps:
and step 3: and searching the associated test cases by the research personnel by using the deep search module.
Further, the specific implementation process of step 2 is as follows:
1) extracting all key words of the target test case by the retrieval module;
2) the retrieval module converts each keyword into 4 keywords by using a Chinese and English comparison table;
3) the retrieval module retrieves and extracts a test case containing any keyword in the database.
Further, the specific implementation process of step 3 is as follows:
1) research personnel select a target test case and preset the standard coincidence rate X of the full text word number;
2) the deep retrieval module searches common nouns in all test cases and converts the expression modes of the common nouns into expressions of the same type by using a Chinese and English comparison table;
3) the depth retrieval module calculates the full text character coincidence rate Xn of the target test case and other test cases;
4) and the deep retrieval module extracts the test cases with Xn ≧ X from the database.
Further, the calculation formula of Xn is: xn is Yn/Y, where Y is the total number of words for the target test case and Yn is the number of words for the target test case to coincide with other test cases.
The specific embodiment of the invention has the beneficial effects that:
1. by setting the keyword inputting and retrieving functions, research personnel can understand the main purpose and technical means of the whole test case conveniently, and can search the associated test case from the database more quickly and conveniently, so that the research personnel can know whether the target test case appears in other products or not at the first time and whether other responsible persons have solutions or not, repeated labor is avoided, and the working efficiency is improved. Meanwhile, the keywords are expanded by using the Chinese and English comparison table, so that search omission caused by inconsistent expression modes of different testers can be avoided, and comprehensive and accurate search is ensured.
2. The deep retrieval of the test cases is realized through the conversion of the Chinese and English comparison table and the calculation of the full text word number coincidence rate, and on one hand, the retrieval error caused by incorrect setting of the keywords is avoided; on the other hand, the comprehensiveness of the retrieval result is further improved, and a wider reference basis is provided for research and development personnel.
Drawings
FIG. 1 is a schematic block diagram of a system according to embodiment 1 of the present invention;
FIG. 2 is a flowchart of a method of example 1 of the present invention;
FIG. 3 is a schematic block diagram of embodiment 2 of the present invention;
fig. 4 is a flowchart of the method of embodiment 2 of the present invention.
Detailed Description
The present invention will be described in detail below with reference to specific examples in order to enable those skilled in the art to better understand and practice the present invention.
Example 1
As shown in fig. 1, a test case management system includes an operation end and a management background, where the operation end performs information interaction with the management background through a network. The operation end can be a fixed PC, or a mobile end such as a smart phone and an IPAD.
The management background comprises an information input module, a database and a retrieval module, wherein the database is used for storing all test case information and is provided with a Chinese-English comparison table for recording Chinese-English corresponding relations of all common nouns, and the Chinese-English corresponding relations of each common noun comprise Chinese full names, Chinese short names, English full names and English abbreviations of the common nouns. The information input module is used for inputting all text information and keyword information of the test case; the retrieval module queries the mutually related test cases through the keyword information.
To better illustrate the functionality of the system described above, reference is made to fig. 2 and to a method of using the system.
As shown in fig. 2, a test case management method includes the following steps:
step 1: and the tester uploads all the text information and the keyword information of the test case to the management background. All the text information of the test case comprises all the text descriptions of the contents of the test means, the test steps, the expected results, the actual results and the like, and the keyword information is one or more core nouns induced by the tester aiming at the test means, the test steps, the expected results and the actual results respectively. The uploading means of the information can be manual input by a tester, and the contents of the test case can be read to the management background through a word head by establishing a template.
Step 2: and extracting the key words by research personnel, and inquiring the associated test cases by utilizing a retrieval module. For the common keyword search, only the keywords provided by the testers need to be searched. For the system shown in fig. 1, the specific implementation process of step 2 is as follows:
1) and the retrieval module extracts all keywords of the target test case, wherein the keywords are the keywords input by the tester.
2) The search module converts each keyword into 4 keywords by using a Chinese-English comparison table, and because a tester only inputs one form of the keyword, such as English abbreviation, the search module needs to expand English full name, Chinese full name and Chinese short name, so that the search range is expanded.
3) Based on the expanded key phrase, the retrieval module retrieves all test cases in the database, and as long as the test cases contain any key word, the test cases are extracted from the database for research and development personnel to look up.
Example 2
As shown in fig. 3, the test case management system includes an operation end and a management background, where the operation end performs information interaction with the management background through a network. The operation end can be a fixed PC, or a mobile end such as a smart phone and an IPAD.
The management background comprises an information input module, a database, a retrieval module and a deep retrieval module, wherein the database is used for storing all test case information and is provided with a Chinese-English comparison table for recording Chinese-English corresponding relations of all common nouns, and the Chinese-English corresponding relations of each common noun comprise Chinese full names, Chinese short names, English full names and English abbreviations of the common nouns. The information input module is used for inputting all text information and keyword information of the test case; the retrieval module queries the mutually related test cases through the keyword information. The deep retrieval module retrieves and extracts the test cases with the character number coincidence rate higher than the set standard by comparing the full texts of the test cases.
To better illustrate the functionality of the above-described system, reference is made to fig. 4.
As shown in fig. 4, a test case management method includes the following steps:
step 1: and the tester uploads all the text information and the keyword information of the test case to the management background. All the text information of the test case comprises all the text descriptions of the contents of the test means, the test steps, the expected results, the actual results and the like, and the keyword information is one or more core nouns induced by the tester aiming at the test means, the test steps, the expected results and the actual results respectively. The uploading means of the information can be manual input by a tester, and the contents of the test case can be read to the management background through a word head by establishing a template.
Step 2: and extracting the key words by research personnel, and inquiring the associated test cases by utilizing a retrieval module. For the common keyword search, only the keywords provided by the testers need to be searched. For the system shown in fig. 3, the specific implementation process of step 2 is as follows:
1) and the retrieval module extracts all keywords of the target test case, wherein the keywords are the keywords input by the tester.
2) The search module converts each keyword into 4 keywords by using a Chinese-English comparison table, and because a tester only inputs one form of the keyword, such as English abbreviation, the search module needs to expand English full name, Chinese full name and Chinese short name, so that the search range is expanded.
3) Based on the expanded key phrase, the retrieval module retrieves all test cases in the database, and as long as the test cases contain any key word, the test cases are extracted from the database for research and development personnel to look up.
After the above operations are completed, if the research personnel have obtained the same test case query result, the following steps are not needed, and if the desired result is not retrieved, the following steps can be carried out for supplementary retrieval.
And step 3: research personnel utilize the test case of degree of depth retrieval module retrieval relevance, and the concrete realization process is:
1) the developer selects the target test case and presets the standard coincidence rate X of the full text word number, for example, 0.5, which represents the test case to be searched, and the word number of the test case coincides with the word number of the target test case by more than 50%.
2) The deep retrieval module searches common nouns in all test cases, and converts the expression modes of the common nouns into expressions of the same type by using a Chinese-English comparison table, which aims to unify vocabularies, such as converting all expressions of the same noun into Chinese simplified bodies.
3) The depth retrieval module calculates the full text character coincidence rate Xn of the target test case and other test cases, and the calculation formula is as follows: xn is Yn/Y, where Y is the total number of words for the target test case and Yn is the number of words for the target test case to coincide with other test cases.
For example: if the target test case a has 300 words and the set standard coincidence rate X is 0.5, and a certain test case B is searched to have 180 words identical to the target test case a, the full-text word coincidence rate Xn of the test case B and the target test case a is 180/300 is 0.6.
4) And the deep retrieval module extracts the test cases with Xn ≧ X from the database.
For embodiment 1 or embodiment 2, if a developer retrieves the same case as the target test case, and the case already has a solution, the solution can be directly synchronized to the target test case and fed back to the testing department, and if the same case is not retrieved, the solution needs to be redesigned and fed back to the testing department.
While the invention has been described in detail in the specification and drawings and with reference to specific embodiments thereof, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted; all technical solutions and modifications thereof which do not depart from the spirit and scope of the present invention are intended to be covered by the scope of the present invention.
Claims (1)
1. A test case management method is characterized by comprising the following steps:
step 1: the tester uploads all the text information and the keywords of the test case to the management background; all text information of the test case comprises all text descriptions of a test means, a test step, an expected result and an actual result content, and the key words are one or more core nouns induced by a tester aiming at the test means, the test step, the expected result and the actual result respectively;
step 2: research personnel extract key words by using a retrieval module and query the associated test cases by using the retrieval module;
the specific implementation process of the step 2 is as follows:
1) extracting all key words of the target test case by the retrieval module;
2) the retrieval module converts each keyword into 4 keywords by using a Chinese and English comparison table, wherein the 4 keywords comprise the following four forms: english abbreviation, English full name, Chinese full name and Chinese short name;
3) the retrieval module retrieves and extracts a test case containing any keyword in the database;
and step 3: research personnel search the associated test cases by using a deep search module;
the specific implementation process of the step 3 is as follows:
1) research personnel select a target test case and preset the standard coincidence rate X of the full text word number;
2) the deep retrieval module searches common nouns in all test cases and converts the expression modes of the common nouns into expressions of the same type by using a Chinese and English comparison table;
3) the depth retrieval module calculates the full text character coincidence rate Xn of the target test case and other test cases; the formula for Xn is: xn is Yn/Y, where Y is the total number of words of the target test case and Yn is the number of words of the target test case that coincide with other test cases;
4) and the deep retrieval module extracts the test cases with Xn ≧ X from the database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710549255.7A CN107341080B (en) | 2017-07-07 | 2017-07-07 | Test case management system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710549255.7A CN107341080B (en) | 2017-07-07 | 2017-07-07 | Test case management system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107341080A CN107341080A (en) | 2017-11-10 |
CN107341080B true CN107341080B (en) | 2021-07-27 |
Family
ID=60219673
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710549255.7A Active CN107341080B (en) | 2017-07-07 | 2017-07-07 | Test case management system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107341080B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108647355A (en) * | 2018-05-16 | 2018-10-12 | 平安普惠企业管理有限公司 | Methods of exhibiting, device, equipment and the storage medium of test case |
CN110232028A (en) * | 2019-06-24 | 2019-09-13 | 湖南国科微电子股份有限公司 | A kind of test exemple automation operation method and system |
CN110765001B (en) * | 2019-09-06 | 2023-04-07 | 赛诺贝斯(北京)营销技术股份有限公司 | Modularized automatic test method and device for application system |
CN111899740A (en) * | 2020-07-23 | 2020-11-06 | 深圳慕智科技有限公司 | Voice recognition system crowdsourcing test case generation method based on test requirements |
CN117313111B (en) * | 2023-11-30 | 2024-04-09 | 中汽智联技术有限公司 | Labeling and indexing method and system based on automobile information security test cases |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192194A (en) * | 2007-01-19 | 2008-06-04 | 中兴通讯股份有限公司 | Test case design method based on test case database |
CN106682870A (en) * | 2016-12-12 | 2017-05-17 | 武汉图灵创客科技有限公司 | Social platform system for 'maker' education |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201402459Y (en) * | 2008-12-25 | 2010-02-10 | 深圳市同洲电子股份有限公司 | Test case management device |
CN101521608A (en) * | 2009-01-22 | 2009-09-02 | 厦门东南融通系统工程有限公司 | Method for edition management of test case |
CN103870493A (en) * | 2012-12-14 | 2014-06-18 | 中国银联股份有限公司 | Page automatic input system and method |
CN105117333A (en) * | 2015-08-24 | 2015-12-02 | 深圳市高斯贝尔家居智能电子有限公司 | Method and system for management of test cases |
-
2017
- 2017-07-07 CN CN201710549255.7A patent/CN107341080B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192194A (en) * | 2007-01-19 | 2008-06-04 | 中兴通讯股份有限公司 | Test case design method based on test case database |
CN106682870A (en) * | 2016-12-12 | 2017-05-17 | 武汉图灵创客科技有限公司 | Social platform system for 'maker' education |
Also Published As
Publication number | Publication date |
---|---|
CN107341080A (en) | 2017-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107341080B (en) | Test case management system and method | |
US8250074B2 (en) | Document processing system and method thereof | |
CN111309877A (en) | Intelligent question-answering method and system based on knowledge graph | |
CN101794307A (en) | Vehicle navigation POI (Point of Interest) search engine based on internetwork word segmentation idea | |
US10360229B2 (en) | Systems and methods for enterprise data search and analysis | |
CN106708814B (en) | Retrieval method and device based on relational database | |
US10915543B2 (en) | Systems and methods for enterprise data search and analysis | |
CN111190920B (en) | Data interaction query method and system based on natural language | |
CN112231321B (en) | Oracle secondary index and index real-time synchronization method | |
CN109815390B (en) | Method, device, computer equipment and computer storage medium for retrieving multilingual information | |
CN103838876A (en) | Method for retrieving document through pinyin and document retrieval system | |
CN112328910A (en) | Method and system covering AOI and POI standard address matching engine | |
JPH0554083A (en) | Database retrieval system | |
CN102385597B (en) | The fault-tolerant searching method of a kind of POI | |
CN107870935A (en) | A kind of searching method and device | |
Kumar et al. | An Efficient Approach to Query Reformulation in Web Search | |
US9886497B2 (en) | Indexing presentation slides | |
CN115858742A (en) | Question text expansion method, device, equipment and storage medium | |
CN108614821B (en) | Geological data interconnection and mutual-checking system | |
CN105912627A (en) | Data search system and method | |
CN113868375A (en) | Data query method, device, equipment and storage medium based on structured query language | |
CN103377229B (en) | The offer method of the information of grid equipment and facility is with providing device | |
Meng et al. | Chinese microblog entity linking system combining wikipedia and search engine retrieval results | |
CN114443728B (en) | Detection report searching method and device based on Elasticissearch | |
CN110321351A (en) | A kind of vendor name method for normalizing based on fuzzy matching |
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 |