CN111881038A - Test case management method and device and electronic equipment - Google Patents
Test case management method and device and electronic equipment Download PDFInfo
- Publication number
- CN111881038A CN111881038A CN202010716351.8A CN202010716351A CN111881038A CN 111881038 A CN111881038 A CN 111881038A CN 202010716351 A CN202010716351 A CN 202010716351A CN 111881038 A CN111881038 A CN 111881038A
- Authority
- CN
- China
- Prior art keywords
- test case
- test
- case
- review
- user
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3676—Test management for coverage analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3692—Test management for test results analysis
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)
- Stored Programmes (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application provides a management method and device of a test case and electronic equipment, and belongs to the technical field of software testing. The management method of the test case provided by the application can be respectively realized based on different inputs executed by a user on the test case management page: creating a use case node; creating a test case check point corresponding to the case node; creating a review link of the test case corresponding to the case node and sending the review link to a reviewer of the test case; in addition, the method can also receive the evaluation result of the test case and generate a test report according to the evaluation result; by the method, the test cases can be uniformly reviewed and relevant data can be collected, the test reports can be generated, corresponding project requirements in project management software can be updated according to the test reports, and the review and project management efficiency of the test cases is improved.
Description
Technical Field
The present disclosure relates to the field of software testing, and in particular, to a method and an apparatus for managing test cases, and an electronic device.
Background
In software testing, the evaluation and quality management of test cases are indispensable links. For a test case manager, in order to evaluate the quality of each link in the test process, such as test case coverage and test case review rate, data collection and statistical analysis from multiple platforms are required manually.
When the rapid iteration of hundreds of product requirements every week is faced, great challenges are brought to the work of testers and managers, the testers need to switch among a plurality of platforms to complete case compiling and check point recording, related personnel are organized again to carry out a test case review conference, multiple people are required to participate in review at the same time, and the personnel cost is very high. After the review is finished, the finishing conference summary is given to the relevant people, and after a period of time, the review records are easily lost through mail management and cannot be uniformly managed.
For a test manager, data collection and statistical analysis need to be performed from different platforms, so that it is difficult to intuitively know the review condition of the test case in real time, which causes difficulty in review and quality evaluation of the test case.
Disclosure of Invention
The application provides a test case management method and device and electronic equipment, which are used for solving the problem that data collection and quality management cannot be uniformly carried out when test cases are evaluated and quality management is carried out, and improving the evaluation and quality management efficiency.
In order to achieve the purpose, the following scheme is adopted in the application:
in one aspect, an embodiment of the present application provides a method for managing test cases, where the method includes:
creating a case node based on a first input executed by a user on a test case management page;
creating a test case check point corresponding to the case node based on a second input executed by the user on the test case management page;
creating a review link of the test case corresponding to the case node based on a third input executed by the user on the test case management page and sending the review link to a reviewer of the test case;
receiving the evaluation result of the test case, and generating a test report according to the evaluation result;
and updating the corresponding project requirements in the project management software according to the test report.
Optionally, before creating the case node based on the first input executed by the user on the test case management page, the method further includes:
acquiring project requirement information from project management software, and storing the requirement information in a database;
the creating of the case node based on the first input executed by the user on the test case management page further comprises:
and according to the project key words input by the user on the test case management page, inquiring requirement information associated with the project key words from the database, and automatically filling the requirement information into corresponding parameters in the case nodes.
Optionally, the creating a test case checkpoint corresponding to the case node based on a second input executed by the user on the test case management page includes:
and determining a checking marking item of the test case corresponding to the checking point based on a fourth input executed by the user on the test case management page, wherein the marking item comprises at least one of service checking, technical point checking and safety point checking.
Optionally, the creating a review link of the test case corresponding to the case node and sending the review link to the reviewer of the test case based on a third input executed by the user on the test case management page includes:
and automatically acquiring a reviewer list of the test case according to the corresponding project requirement, and determining the reviewer of the test case from the reviewer list based on a fifth input executed by the user on the test case management page.
Optionally, the creating a review link of the test case corresponding to the case node and sending the review link to the reviewer of the test case based on the third input executed by the user on the test case management page further includes at least one of the following:
generating an online review link of the test case, and sending the online review link to a reviewer of the test case;
generating a conference review link of the test case, and sending the conference review link to mailboxes of recipients and transcribers, wherein the recipients comprise reviewers;
and the information of the receiver and the copying and sending person is acquired through corresponding project requirements.
Optionally, the receiving the review result of the test case, and generating a test report according to the review result include at least one of the following:
receiving the review opinions of the online review;
and receiving the review opinions of the conference review, automatically acquiring the information of the addressee and the transcriber corresponding to the test case, and automatically sending a case review summary mail to the addressee and the transcriber.
Optionally, the method further includes:
and displaying the reply of the user to the review opinion of the test case based on the sixth input executed by the user on the test case management page.
On one hand, the embodiment of the application provides a management device for test cases, which includes:
the first processing module is used for creating a case node based on a first input executed by a user on the test case management page;
the second processing module is used for creating a test case check point corresponding to the case node based on a second input executed by the user on the test case management page;
the third processing module is used for creating a review link of the test case corresponding to the case node and sending the review link to a reviewer of the test case based on a third input executed by the user on the test case management page;
the fourth processing module is used for receiving the evaluation result of the test case and generating a test report according to the evaluation result;
and the fifth processing module is used for updating the corresponding project requirements in the project management software according to the test report.
In one aspect, an embodiment of the present application provides, including: the test case management system comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the program realizes the steps of the test case management method provided by any one of the embodiments of the application when being executed by the processor.
In one aspect, an embodiment of the present application provides that a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the method for managing test cases according to any one of the embodiments of the present application.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
the management method of the test case provided by the application can be respectively realized based on different inputs executed by a user on the test case management page: creating a use case node; creating a test case check point corresponding to the case node; creating a review link of the test case corresponding to the case node and sending the review link to a reviewer of the test case; in addition, the method can also receive the evaluation result of the test case and generate a test report according to the evaluation result; by the method, the test cases can be uniformly reviewed and relevant data can be collected, the test reports can be generated, corresponding project requirements in project management software can be updated according to the test reports, and the review and project management efficiency of the test cases is improved.
Drawings
FIG. 1 is a flowchart of a method for managing test cases according to an exemplary embodiment of the present application;
fig. 2 is a schematic diagram of a method for managing test cases according to an exemplary embodiment of the present application;
fig. 3 is a schematic diagram of a method for managing test cases according to an exemplary embodiment of the present application;
fig. 4 is a schematic diagram of a method for managing test cases according to an exemplary embodiment of the present application;
fig. 5 is a schematic diagram of a method for managing test cases according to an exemplary embodiment of the present application;
fig. 6 is a schematic diagram of a method for managing test cases according to an exemplary embodiment of the present application;
fig. 7 is a schematic diagram of a method for managing test cases according to an exemplary embodiment of the present application;
fig. 8 is a schematic structural diagram of a device for managing test cases according to an exemplary embodiment of the present application;
fig. 9 is a schematic structural diagram of a device for managing test cases according to an exemplary embodiment of the present application;
fig. 10 is a schematic structural diagram of a device for managing test cases according to an exemplary embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings of the embodiments of the present application. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the application without making any creative effort, shall fall within the protection scope of the application.
In addition, the technical features mentioned in the different embodiments of the present application described below may be combined with each other as long as they do not conflict with each other.
Fig. 1 shows a method for managing a test case provided in an embodiment of the present application, including:
101, establishing a case node based on a first input executed by a user on a test case management page;
the case node can be quickly created through the step 101, after the case node is created by the user in the step 101, corresponding input can be continuously executed, relevant parameters of the test case can be compiled, and the test case relevant to the test case node can be compiled, for example, relevant information such as a task name, a task level, keywords, a technical scheme address, a project, a submitter and the like of the case node can be edited, or the case node can be selected or imported through presetting in an editing interface.
102, creating a test case check point corresponding to a case node based on a second input executed by a user on a test case management page;
the check points are used for identifying attention items with different dimensions according to the service characteristics of a certain system and checking the attention items, and management and review personnel are reminded to avoid omission of review items.
103, establishing a review link of the test case corresponding to the case node based on a third input executed by the user on the test case management page, and sending the review link to a reviewer of the test case;
in step 103, the user can create a corresponding review link of the test case for the selected case node, select a reviewer of the test case by continuously executing a corresponding input operation on the test case management interface, and send the review link to the reviewer, and through step 103, the user can simultaneously create the test case, create the check point and send the test case to the relevant reviewer only through the test case management interface of the test case management method in the embodiment of the present application without switching to other management software or platforms, thereby greatly improving the convenience and efficiency of the review process.
104, receiving a review result of the test case, and generating a test report according to the review result;
it is noted that the test report may contain the review results of multiple test cases associated with one target requirement, and other relevant information.
And 105, updating the corresponding project requirements in the project management software according to the test report.
By the step 105, the state of the corresponding project requirement in the project management software can be updated according to the test report obtained in the step 104, and a user does not need to open the project management software for manual update.
The management method of the test case provided by the embodiment of the application can be realized based on different inputs executed by a user on the test case management page: creating a use case node; creating a test case check point corresponding to the case node; creating a review link of the test case corresponding to the case node and sending the review link to a reviewer of the test case; in addition, the method can also receive the evaluation result of the test case and generate a test report according to the evaluation result; the corresponding project requirements in the project management software can be updated according to the test reports; by the method, the test cases can be uniformly reviewed and relevant data can be collected, the test reports can be generated, corresponding project requirements in project management software can be updated according to the test reports, and the review and project management efficiency of the test cases is improved.
Optionally, based on a first input executed by a user on the test case management page, before creating a case node, the method further includes:
acquiring project requirement information from project management software, and storing the requirement information in a database;
based on a first input executed by a user on the test case management page, the creating of the case node further comprises:
according to the project key words input by the user on the test case management page, the requirement information related to the project key words is inquired from the database, and the requirement information is automatically filled in the corresponding parameters in the case nodes.
The association between the test case management page and the project management software is realized by storing the project requirement information in the project management software in the database, so that the created case nodes can be associated to the corresponding requirement information in the project management software in a mode of inputting project keywords in the project management page, the relevant information of the case nodes is automatically filled, the efficiency of creating the case nodes and compiling cases is improved, and the workload of manual input by a user is greatly reduced;
for example, fig. 2 shows a way of associating project requirements corresponding to target case nodes through project keywords, referring to a jira keyword input area shown in fig. 2, through on a test case management page provided in an embodiment of the present application, the JIRA project management software associated with the target case node can be obtained by inquiring the JIRA keyword of the target case node (the JIRA project management software is used at this time), as shown in fig. 2, the input jira keyword is "FORKS-38", the test case with id 15077 and the related task information and operation information are searched by clicking the fuzzy query, different test cases can be searched by different jira keywords, therefore, the editing efficiency of the case nodes is improved, and a user can directly inquire and select related test cases through the jira keywords to automatically fill, update or edit related information of the case nodes.
Optionally, referring to fig. 2, after creating the case node based on the first input executed by the user on the test case management page, the method further includes:
according to the task name input by the user on the test case management page, the requirement information related to the task name is inquired from the database, and the requirement information is automatically filled in the corresponding parameters in the case nodes.
Referring to the test case management interface shown in fig. 2, a user may query through the jira keyword, may also query through the task name, query through the task name and select the requirement information corresponding to the case node, determine the requirement confidence associated with the target case node, and automatically fill the relevant information in the corresponding parameter in the case node.
Optionally, referring to fig. 2, creating a test case checkpoint corresponding to the case node based on a second input executed by the user on the test case management page includes:
and determining a checking marking item of the test case corresponding to the checking point based on a fourth input executed by the user on the test case management page, wherein the marking item comprises at least one of service checking, technical point checking and safety point checking.
For example, please refer to fig. 2, which shows an interface related to a checkpoint on a test case management interface of a test case management method provided in an embodiment of the present application, where fig. 2 shows a checkpoint interface, and it can be seen that the checkpoint is divided into three categories, that is: the method comprises the steps of service inspection, technical point inspection and safety point inspection, wherein a plurality of related inspection options in each class can be selected in a checking mode, each checking point option can be adjusted according to preset or actual problems encountered in use, so that the checking point marking function can better meet actual requirements, after the inspection items needing marking are selected, the inspection items of a target test case can be marked by selecting and submitting the inspection items, and personnel in charge of review and test can conveniently notice the inspection items needing special attention to the target test case.
Optionally, referring to fig. 4, based on a third input executed by the user on the test case management page, creating a review link of the test case corresponding to the case node and sending the review link to the reviewer of the test case includes:
and automatically acquiring a reviewer list of the test case according to the corresponding project requirement, and determining the reviewer of the test case from the reviewer list based on the fifth input executed by the user on the test case management page.
For example, fig. 4 shows a list of reviewers, when a selected case node creates a review link, the relevant reviewers can be automatically associated and popped up the list of reviewers, or relevant name pinyin or Chinese characters can be filled in the filling column of the reviewers and associated with the list of reviewers, a user can select a corresponding reviewer from the popped list of reviewers, so as to determine the reviewer who needs to participate in the target test case review link, after selecting the reviewer, the interface can also be automatically associated with various information such as a mailbox of the relevant reviewer, and the generation of the review link is automatically completed, and the review link is sent to the reviewer according to the operation of the user.
Optionally, based on a third input executed by the user on the test case management page, creating a review link of the test case corresponding to the case node and sending the review link to the reviewer of the test case further includes at least one of the following:
generating an online review link of the test case, and sending the online review link to a reviewer of the test case;
generating a conference review link of the test case, and sending the conference review link to mailboxes of recipients and transcribers, wherein the recipients comprise reviewers;
and the information of the receiver and the copying and sending person is acquired through the corresponding project requirements.
Illustratively, referring to FIG. 4, it is also shown that in addition to being able to select a reviewer, the user is also able to select whether the type of review is an online review or a conference review via the creation interface of the review link;
the online review is suitable for multi-person remote review, and the reviewers are not limited by time and regions and can directly complete the review through the page generated after the review link is opened; if the use case is displayed in the left area of the review page, replying a review conclusion on the right side;
illustratively, when a user creates a review chain, the review type is selected as online review, a reviewer list is clicked to screen the name of the current reviewer, the reviewer list automatically acquires data from an RESTAPI interface of JIRA project management software, fuzzy search is supported, convenient and quick positioning is realized, review contents are compiled in a rich text form, and format types are conveniently added;
if the user in charge of the test case disagrees with the review conclusion, a reply can be made to a certain review suggestion, a reply button in the operation bar is clicked, the reply suggestion is filled, and the reply record shows the reply content.
For example, referring to fig. 5, if the selected test case needs to be subjected to conference review, the user selects a conference review type when creating a review connection, and the reviewer and the recipient support multiple selections through fuzzy search of a pull-down list and can also automatically obtain the conference review type through docking the REST interface of the jiar project management software;
it should be noted that when the meeting review link is sent to the mailboxes of the recipient and the transcriber, the recipient at least includes the reviewer of the target test case, and other recipients may also be added through the above adding operation, and some special cases require transcribing the meeting review link mail to the specific project principal and other related persons, so that the additional transcriber may also be input, as shown in fig. 5, and the adding transcriber may be divided by inputting the address of the mailbox of the transcriber and a semicolon.
Optionally, the receiving of the review result of the test case, and the generating of the test report according to the review result include at least one of the following:
receiving a review suggestion of online review;
and receiving the review opinions of the conference review, automatically acquiring the information of the addressee and the transcriber corresponding to the test case, and automatically sending a case review summary mail to the addressee and the transcriber.
Illustratively, after the reviewers of the online review reply the review comments, automatically updating the review comments to the review nodes corresponding to the test cases;
referring to FIG. 6, after the meeting is completed, the meeting review will send a meeting summary to the recipient and the carrier, the meeting summary for the test case review will include at least: meeting date, participants in the review, project requirements such as JIRA requirements, technical schemes, test responsible persons, review opinions and the like;
if the mail title is a case title of a case review summary, the mail template comprises: date, meeting reviewers, jitra requirements, repair versions, technical solutions, test responsible, review opinions. Clicking the JIRA requirement link in the mail can jump to a page of JIRA project management software, and clicking the test scheme link can jump to a case page.
Optionally, the method further comprises:
and displaying the reply of the review opinions of the test cases from the user based on a sixth input executed by the user on the test case management page.
Illustratively, a user can receive the review comments through the test case management interface, for example, if the review comments are objected, the review comments can be directly edited on the test case management page and replied, the replied content is automatically sent to a reviewer of the review comments, the reviewer can send the review comments through a working platform associated with the test case management interface or can send the review comments through a mail, and the specific sending mode is selected or set according to actual requirements.
According to the technical scheme of the test case evaluation method, the selected test case can be subjected to two different evaluation modes of online evaluation or conference evaluation, evaluation links can be sent to personnel related to evaluation, evaluation results are received, a user can reply the evaluation results, a test report can be generated according to the evaluation results, and the test case evaluation state of target requirements can be better evaluated.
The following further describes a method for managing test cases provided in the embodiments of the present application:
the original test case is frequently reused when the test case is compiled, a new test case can be generated through copying, the content of the new test case is consistent with that of the original test case, maintenance is carried out on the basis, and the compiling efficiency of the test case is greatly improved.
Automatically generating a test report, wherein the test report comprises the following contents: project requirements, technical schemes, check points, test cases, defect summary, review of recorded display and other information.
By automatically acquiring the test cases and the case review records, data of the review coverage rate of the test cases can be automatically generated, and the data can be visually displayed through a table and can be sequenced, for example, the formula is total number of the reviewed test cases/total number of the test cases multiplied by 100%, and fig. 7 shows the case review coverage rate;
demand information is acquired by butting a RESTAPI interface of JIRA project demand management software, statistical analysis data of the coverage rate of a test scheme can be automatically generated after a case is associated, and the statistical analysis data can be visually displayed through a table and can be sequenced, for example: the formula is 100% of the total number of test cases/requirements of associated JIRA;
the management method of the test case provided by the embodiment of the application can be realized in the following manner;
docking a RESTAPI interface of JIRA project management software through JWT authentication and carrying out secondary development, wherein the interface comprises but is not limited to reset/api/latest/user/assignable/search acquisition personnel information, reset/api/2/project acquisition project information, api/v 1/deployment/JIRA/versions acquisition version information, reset/api/2/release creation Issue, and reset/api/2/release link acquisition Issue;
realizing a timing task through @ Scheduled annotation in a springboot frame, automatically acquiring JIRA requirement information to a system at 2 points every morning, calling an interface api/v1/deploy/JIRAs, enabling an interface return field key to represent a JIRA keyword, associating the JIRA keyword with a use case, and automatically calculating the coverage rate of the test use case;
associating the use case test with the use case review record to realize real-time statistical analysis of the test use case review coverage rate;
adopting an echarts.js open-source framework for the multi-dimensional statistical analysis report;
backfilling the test case address into the JIRA through the timing task every day, updating the test case link into the custom field _10218 field of the JIRA through a calling interface and displaying the test case link in the test scheme field of the JIRA task page;
the online application library is displayed in a tree-shaped multi-node mode, and function permission is controlled through node types, such as a common node function: expansion, closing and use case node functions: case compiling, reviewing and the like;
and automatically counting the review coverage rate of the test cases by associating the test cases with the case review records, and providing evaluation data for test process management.
Referring to fig. 8, an embodiment of the present application provides a device 80 for managing test cases, including:
the first processing module 81 is configured to create a case node based on a first input executed by a user on the test case management page;
the second processing module 82 is configured to create a test case checkpoint corresponding to the case node based on a second input executed by the user on the test case management page;
the third processing module 83 is configured to create a review link of the test case corresponding to the case node based on a third input executed by the user on the test case management page, and send the review link to a reviewer of the test case;
the fourth processing module 84 is configured to receive a review result of the test case, and generate a test report according to the review result;
and the fifth processing module 85 is configured to update the corresponding project requirements in the project management software according to the test report.
Optionally, referring to fig. 9, the management apparatus 80 for test cases further includes:
the first storage module 87 is used for acquiring project requirement information from project management software before a use case node is created, and storing the requirement information in a database;
referring to fig. 10, the first processing module 81 further includes:
the first processing submodule 811 is configured to, after creating a use case node: according to the project key words input by the user on the test case management page, the requirement information related to the project key words is inquired from the database, and the requirement information is automatically filled in the corresponding parameters in the case nodes.
Optionally, referring to fig. 10, the second processing module 82 further includes:
the second processing sub-module 821 is configured to, when a test case check point corresponding to the case node is created, determine, based on a fourth input executed by the user on the test case management page, a check annotation item of the test case corresponding to the check point, where the annotation item includes at least one of service check, technical point check, and safety point check.
Optionally, referring to fig. 10, the third processing module 83 further includes:
the third processing sub-module 831 is configured to, when the review link of the test case corresponding to the case creation node is created and sent to a reviewer of the test case: and automatically acquiring a reviewer list of the test case according to the corresponding project requirement, and determining the reviewer of the test case from the reviewer list based on the fifth input executed by the user on the test case management page.
Optionally, referring to fig. 10, the fourth processing module 84 further includes:
the fourth processing sub-module 841 is configured to, when creating a review link of a test case corresponding to the case node and sending the review link to a reviewer of the test case, execute at least one of the following:
generating an online review link of the test case, and sending the online review link to a reviewer of the test case;
generating a conference review link of the test case, and sending the conference review link to mailboxes of recipients and transcribers, wherein the recipients comprise reviewers;
and the information of the receiver and the copying and sending person is acquired through the corresponding project requirements.
Optionally, referring to fig. 10, the fifth processing module 85 further includes:
the report generating module 851 is configured to receive the review result of the test case, and generate a test report according to the review result, where the test report includes at least one of the following:
receiving a review suggestion of online review;
and receiving the review opinions of the conference review, automatically acquiring the information of the addressee and the transcriber corresponding to the test case, and automatically sending a case review summary mail to the addressee and the transcriber.
Optionally, referring to fig. 9, the management apparatus 80 for test cases further includes:
and the sixth processing module 86 is configured to display a reply of the review comment of the test case from the user based on a sixth input performed by the user on the test case management page.
Referring to fig. 11, an embodiment of the present application further provides an electronic device 110, including: the test case management system comprises a processor 111, a memory 112 and a program stored on the memory 112 and capable of running on the processor 111, wherein the program implements the steps of the test case management method provided by any one of the embodiments of the present application when being executed by the processor 111.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the method for managing test cases, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications of this invention are intended to be covered by the scope of the invention as expressed herein.
Claims (10)
1. A method for managing test cases is characterized by comprising the following steps:
creating a case node based on a first input executed by a user on a test case management page;
creating a test case check point corresponding to the case node based on a second input executed by the user on the test case management page;
creating a review link of the test case corresponding to the case node based on a third input executed by the user on the test case management page and sending the review link to a reviewer of the test case;
receiving the evaluation result of the test case, and generating a test report according to the evaluation result;
and updating the corresponding project requirements in the project management software according to the test report.
2. The method for managing test cases according to claim 1, wherein before creating a case node based on the first input executed by the user on the test case management page, the method further comprises:
acquiring project requirement information from project management software, and storing the requirement information in a database;
the creating of the case node based on the first input executed by the user on the test case management page further comprises:
and according to the project key words input by the user on the test case management page, inquiring requirement information associated with the project key words from the database, and automatically filling the requirement information into corresponding parameters in the case nodes.
3. The method for managing test cases according to claim 1, wherein the creating a test case checkpoint corresponding to the case node based on a second input executed by the user on the test case management page includes:
and determining a checking marking item of the test case corresponding to the checking point based on a fourth input executed by the user on the test case management page, wherein the marking item comprises at least one of service checking, technical point checking and safety point checking.
4. The method for managing the test cases according to claim 1, wherein the creating the review links of the test cases corresponding to the case nodes and sending the review links to the reviewers of the test cases based on a third input executed by the user on the test case management page comprises:
and automatically acquiring a reviewer list of the test case according to the corresponding project requirement, and determining the reviewer of the test case from the reviewer list based on a fifth input executed by the user on the test case management page.
5. The method for managing the test cases according to claim 4, wherein the creating of the review link of the test case corresponding to the case node and the sending of the review link to the reviewer of the test case based on the third input executed by the user on the test case management page further comprises at least one of:
generating an online review link of the test case, and sending the online review link to a reviewer of the test case;
generating a conference review link of the test case, and sending the conference review link to mailboxes of recipients and transcribers, wherein the recipients comprise reviewers;
and the information of the receiver and the copying and sending person is acquired through corresponding project requirements.
6. The method for managing the test cases according to claim 5, wherein the receiving of the review results of the test cases and the generating of the test reports according to the review results include at least one of:
receiving the review opinions of the online review;
and receiving the review opinions of the conference review, automatically acquiring the information of the addressee and the transcriber corresponding to the test case, and automatically sending a case review summary mail to the addressee and the transcriber.
7. The method for managing test cases according to claim 6, further comprising:
and displaying the reply of the user to the review opinion of the test case based on the sixth input executed by the user on the test case management page.
8. A management apparatus for a test case, comprising:
the first processing module is used for creating a case node based on a first input executed by a user on the test case management page;
the second processing module is used for creating a test case check point corresponding to the case node based on a second input executed by the user on the test case management page;
the third processing module is used for creating a review link of the test case corresponding to the case node and sending the review link to a reviewer of the test case based on a third input executed by the user on the test case management page;
the fourth processing module is used for receiving the evaluation result of the test case and generating a test report according to the evaluation result;
and the fifth processing module is used for updating the corresponding project requirements in the project management software according to the test report.
9. A network device, comprising: processor, memory and a program stored on the memory and executable on the processor, the program implementing the steps of the method for managing test cases according to any one of claims 1 to 7 when executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for managing test cases according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010716351.8A CN111881038B (en) | 2020-07-23 | 2020-07-23 | Test case management method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010716351.8A CN111881038B (en) | 2020-07-23 | 2020-07-23 | Test case management method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111881038A true CN111881038A (en) | 2020-11-03 |
CN111881038B CN111881038B (en) | 2022-11-15 |
Family
ID=73155390
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010716351.8A Active CN111881038B (en) | 2020-07-23 | 2020-07-23 | Test case management method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111881038B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115454828A (en) * | 2022-08-25 | 2022-12-09 | 深圳市沃享科技有限公司 | Online case testing method, equipment and storage medium |
CN115576853A (en) * | 2022-11-24 | 2023-01-06 | 云账户技术(天津)有限公司 | Method and device for judging integrity of use case |
CN117234946A (en) * | 2023-11-10 | 2023-12-15 | 深圳市金政软件技术有限公司 | Automatic test method and related equipment for project library system |
CN117785698A (en) * | 2023-12-27 | 2024-03-29 | 广州极点三维信息科技有限公司 | Software test case method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101017545A (en) * | 2007-02-07 | 2007-08-15 | 华为技术有限公司 | Business processing method and device thereof |
CN105119771A (en) * | 2015-07-15 | 2015-12-02 | 广东电网有限责任公司电力调度控制中心 | Test method and system of electric power communication system |
CN107908566A (en) * | 2017-11-27 | 2018-04-13 | 平安科技(深圳)有限公司 | Automatic test management method, device, terminal device and storage medium |
CN107943695A (en) * | 2017-11-21 | 2018-04-20 | 郑州云海信息技术有限公司 | Testing case management, device, equipment and computer-readable recording medium |
CN108845933A (en) * | 2018-05-24 | 2018-11-20 | 广东睿江云计算股份有限公司 | The method and device that software test case is write and evaluated |
CN110309051A (en) * | 2019-05-22 | 2019-10-08 | 深圳壹账通智能科技有限公司 | Method, system, equipment and the storage medium of management of test cases |
-
2020
- 2020-07-23 CN CN202010716351.8A patent/CN111881038B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101017545A (en) * | 2007-02-07 | 2007-08-15 | 华为技术有限公司 | Business processing method and device thereof |
CN105119771A (en) * | 2015-07-15 | 2015-12-02 | 广东电网有限责任公司电力调度控制中心 | Test method and system of electric power communication system |
CN107943695A (en) * | 2017-11-21 | 2018-04-20 | 郑州云海信息技术有限公司 | Testing case management, device, equipment and computer-readable recording medium |
CN107908566A (en) * | 2017-11-27 | 2018-04-13 | 平安科技(深圳)有限公司 | Automatic test management method, device, terminal device and storage medium |
CN108845933A (en) * | 2018-05-24 | 2018-11-20 | 广东睿江云计算股份有限公司 | The method and device that software test case is write and evaluated |
CN110309051A (en) * | 2019-05-22 | 2019-10-08 | 深圳壹账通智能科技有限公司 | Method, system, equipment and the storage medium of management of test cases |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115454828A (en) * | 2022-08-25 | 2022-12-09 | 深圳市沃享科技有限公司 | Online case testing method, equipment and storage medium |
CN115576853A (en) * | 2022-11-24 | 2023-01-06 | 云账户技术(天津)有限公司 | Method and device for judging integrity of use case |
CN117234946A (en) * | 2023-11-10 | 2023-12-15 | 深圳市金政软件技术有限公司 | Automatic test method and related equipment for project library system |
CN117234946B (en) * | 2023-11-10 | 2024-02-02 | 深圳市金政软件技术有限公司 | Automatic test method and related equipment for project library system |
CN117785698A (en) * | 2023-12-27 | 2024-03-29 | 广州极点三维信息科技有限公司 | Software test case method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111881038B (en) | 2022-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111881038B (en) | Test case management method and device and electronic equipment | |
US8631161B2 (en) | Computer program product, system and method for field management and mobile inspection | |
US6370542B1 (en) | Method and apparatus for knowledge acquisition and management | |
CN111881037A (en) | Test case management method and device and electronic equipment | |
US20090125359A1 (en) | Integrating a methodology management system with project tasks in a project management system | |
Pacheco et al. | A proposed model for reuse of software requirements in requirements catalog | |
US20080091486A1 (en) | Program, method, and apparatus for analyzing group work activities in a project | |
JP3982451B2 (en) | Review support apparatus, method, and program | |
Khan et al. | Factors generating risks during requirement engineering process in global software development environment | |
TW201405452A (en) | Workflow management device and workflow management method | |
Jäntti et al. | Identifying knowledge management challenges in a service desk: A case study | |
US20030193960A1 (en) | Method and system for processing business intelligence | |
Musarat et al. | Impact of Communication on Site Accidents Prevention: A Review | |
Jaskula et al. | Comparison of current common data environment tools in the construction industry | |
WO2019012781A1 (en) | Information processing device and program | |
US8626760B2 (en) | System and method for document management | |
US8504412B1 (en) | Audit automation with survey and test plan | |
CN113362045A (en) | Conference schedule generation method and device, electronic equipment and readable storage medium | |
KR101365481B1 (en) | System for generating and managing a portal for program management | |
Almomani et al. | Software process improvement initiatives in small and medium firms: a systematic review | |
Outmazgin | Exploring workaround situations in business processes | |
KR20020014648A (en) | Knowledge service system through ordered workflow, service method thereof, service method for developing products through network and system thereof | |
CN115564405A (en) | Research and development project management method and system with FMEA as drive and storage medium | |
Zebro et al. | Process mining in project management for smart cities | |
Elleuch et al. | A meta model for mining processes from email data |
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 |