CN113886235A - Test plan determination method, test plan determination device, test plan determination medium, and electronic device - Google Patents

Test plan determination method, test plan determination device, test plan determination medium, and electronic device Download PDF

Info

Publication number
CN113886235A
CN113886235A CN202111149615.7A CN202111149615A CN113886235A CN 113886235 A CN113886235 A CN 113886235A CN 202111149615 A CN202111149615 A CN 202111149615A CN 113886235 A CN113886235 A CN 113886235A
Authority
CN
China
Prior art keywords
type
test plan
template
test
matrix
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111149615.7A
Other languages
Chinese (zh)
Inventor
祝文超
孙科
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Pudong Development Bank Co Ltd
Original Assignee
Shanghai Pudong Development Bank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Pudong Development Bank Co Ltd filed Critical Shanghai Pudong Development Bank Co Ltd
Priority to CN202111149615.7A priority Critical patent/CN113886235A/en
Publication of CN113886235A publication Critical patent/CN113886235A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • 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 embodiment of the application discloses a method, a device, a medium and electronic equipment for determining a test plan. The method comprises the following steps: obtaining a to-be-handled work item, and determining a test requirement type corresponding to the to-be-handled work item as a requirement type to be tested; mapping the demand type to be tested based on a UV recommendation matrix to obtain a test plan template type associated with the demand type to be tested as a target template type; and determining a target test plan template to be recommended in the candidate test plan templates according to the type of the target template. By executing the technical scheme, the matched test plan template is intelligently recommended for the to-do work items, and the test efficiency is improved.

Description

Test plan determination method, test plan determination device, test plan determination medium, and electronic device
Technical Field
The embodiment of the application relates to the technical field of computer application, in particular to a method, a device, a medium and electronic equipment for determining a test plan.
Background
In agile development, a property workitem is a collection of a set of related user stories, and the user stories in the same property workitem have commonality, and the related user stories can be related through the property workitem. In agile development, testing requires intervention during the development phase of a software product in order to deliver a valuable software product to a customer as early as possible.
The characteristic work item is a development unit in agile development, tests the software product, and also takes the characteristic work item as a test unit to test the software product. At present, the test plan is mainly made by testing personnel manually, and the problems of low test efficiency and waste of human resources generally exist.
Disclosure of Invention
The embodiment of the application provides a method, a device, a medium and an electronic device for determining a test plan, which can intelligently recommend a matched test plan template for a to-do work item, and achieve the purpose of improving the test efficiency.
In a first aspect, an embodiment of the present application provides a method for determining a test plan, where the method includes:
obtaining a to-be-handled work item, and determining a test requirement type corresponding to the to-be-handled work item as a requirement type to be tested;
mapping the demand type to be tested based on a UV recommendation matrix to obtain a test plan template type associated with the demand type to be tested as a target template type;
and determining a target test plan template to be recommended in the candidate test plan templates according to the type of the target template.
In a second aspect, an embodiment of the present application provides a test plan determining apparatus, including:
the device comprises a to-be-tested demand type determining module, a to-be-tested demand type determining module and a to-be-tested demand type determining module, wherein the to-be-tested demand type determining module is used for acquiring a to-be-handled work item and determining a test demand type corresponding to the to-be-handled work item as a to-be-tested demand type;
the target template type determining module is used for mapping the demand type to be tested based on the UV recommendation matrix to obtain a test plan template type associated with the demand type to be tested as a target template type;
and the target test plan template determination module is used for determining the target test plan template to be recommended in the candidate test plan templates according to the type of the target template.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the program, when executed by a processor, implements a test plan determination method according to an embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the test plan determining method according to the embodiment of the present application.
According to the technical scheme provided by the embodiment of the application, the to-be-handled work items are obtained, and the test requirement type corresponding to the to-be-handled work items is determined and is used as the requirement type to be tested; mapping the demand type to be tested based on a UV recommendation matrix to obtain a test plan template type associated with the demand type to be tested as a target template type; and determining a target test plan template to be recommended in the candidate test plan templates according to the type of the target template. According to the technical scheme, the test technical template matched with the to-be-done work items can be intelligently recommended to the user in the candidate test plan template through the UV recommendation matrix according to the test requirement type corresponding to the to-be-done work items, repetitive work in the process of making the test plan by testers is greatly reduced, the test efficiency is improved, the product research and development process is promoted, and the product delivery progress is accelerated.
Drawings
Fig. 1 is a flowchart of a test plan determination method according to an embodiment of the present application;
FIG. 2 is a flowchart of another test plan determination method provided in the second embodiment of the present application;
fig. 3 is a schematic structural diagram of a test plan determination apparatus according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a test plan determination method according to an embodiment of the present application, which is applicable to a case where a test plan template matching a feature work item is automatically recommended for the feature work item in agile test development. The method can be executed by the test plan determination device provided by the embodiment of the application, and the device can be realized by software and/or hardware and can be integrated in the electronic equipment for running the system.
As shown in fig. 1, the test plan determining method includes:
s110, obtaining the to-do work items, and determining the test requirement type corresponding to the to-do work items as the requirement type to be tested.
Wherein, the to-do work item refers to a characteristic (feature) work item to be tested, and the feature work item comprises the following work items in agile development: user requirements, characteristics, and user stories. The characteristic workitem is a set of related user stories, the user stories in the same characteristic workitem have commonality, and the related user stories can be related through the characteristic workitem.
The software testing process is actually a process of verifying a software product under development or after development. The test requirements are closely related to the development requirements, the test requirement types of the to-be-handled work items can be determined according to the development requirements of the to-be-handled work items, and the development requirements can be specifically divided from the functional dimensions, so that the test requirement types of the to-be-handled work items are obtained. Both the test requirements and the development requirements are related to the business scenario of the software product application.
Each to-be-handled work item has a corresponding test requirement type, each test requirement type has a corresponding type identifier, and the type identifiers are used for distinguishing different test requirement types. A type identifier uniquely and definitively represents a type of test requirement.
The to-do work items are obtained, one, two or more to-do work items can be obtained at one time, and the specific number of the to-do work items is not limited herein and can be determined according to actual situations.
And S120, mapping the type of the demand to be tested based on the UV recommendation matrix to obtain a test plan template type associated with the type of the demand to be tested as a target template type.
The UV recommendation matrix is a matrix used for representing the incidence relation between the test requirement type and the test plan template type. The UV recommendation matrix may be decomposed into a test requirement type factor matrix U and a test plan template type factor matrix V. The UV recommendation matrix is determined based on the test requirement type of the historical workitem and the historical test plan template type used to execute the historical workitem. The UV recommendation matrix is constructed in advance and configured in the test plan determination system, and on the premise that the UV recommendation matrix is known, a test plan template type associated with the type of the requirement to be tested can be determined according to the test plan template type and serves as a target template type, wherein the target template type refers to the test plan template type associated with the type of the requirement to be tested. That is, the test plan template corresponding to the target template type is adapted to the to-do work item.
In an optional embodiment, before mapping the demand type to be tested based on a UV recommendation matrix to obtain a test plan template type associated with the demand type to be tested as a target template type, the method further includes: determination process of UV recommendation matrix.
The specific UV recommendation matrix determining process comprises the following steps: acquiring historical workitems in a preset time period, determining a test requirement type corresponding to the historical workitems to obtain a historical requirement type, and taking the historical requirement type as a characteristic value of a U matrix; acquiring a historical test plan template used for executing the historical workitems, and taking the type of the historical test plan template as a V matrix characteristic value; performing UV recommendation matrix fitting based on the U matrix eigenvalue and the V matrix eigenvalue to obtain at least two UV recommendation matrix fitting results; and screening the fitting result of the UV recommendation matrix according to the test passing rate of the historical work items to obtain the UV recommendation matrix.
Because the UV recommendation matrix can be decomposed into a test requirement type factor matrix U and a test plan template type factor matrix V, after the test requirement type factor matrix U and the test plan template type factor matrix V are respectively determined, the UV recommendation matrix can be obtained through matrix fitting.
And the characteristic value in the factor matrix U is the test requirement type of the characteristic work item. Generally, in the process of performing matrix fitting, there is a certain correlation between the quality of the fitting result and the size of the data volume. To ensure a sufficient amount of data for the fitting of the UV recommendation matrix. And respectively determining the characteristic values of the U matrix and the V matrix according to the historical work items and the historical test plan template in the preset time period.
The preset time period is determined by the relevant technical personnel according to the actual situation, and is not limited herein, the actual effect of the fitting of the specific UV recommendation matrix is determined, and the preset time period can be, for example, several months, such as three months or two months. If the fitting effect of the UV recommendation matrix is not ideal, the length of the preset time period can be properly prolonged.
The characteristic work items processed within the preset time period are historical work items, and the historical work items within the preset time period are acquired. And each historical workitem has a corresponding historical test plan template, and the test plan template used for executing the historical workitem is the historical test plan template. The historical test plan template is generated among the candidate test plan templates. The candidate test plan template is constructed according to business requirements and is pre-deployed in the test technology determination system, and the template types of the candidate test plan template are known. And taking the candidate test plan template type as a V matrix characteristic value.
And the U matrix characteristic value is determined according to the corresponding test requirement type of the historical work item, and under the condition that the V matrix characteristic value and the U matrix characteristic value are both determined, UV recommendation matrix fitting is carried out based on the U matrix characteristic value and the V matrix characteristic value, so that at least two UV recommendation matrix fitting results are obtained.
Whether a test plan matches a particular work item directly affects the test pass rate of the particular work item, because test time and test resources in the test plan do not fit the particular work item often results in a test fail. The test passing rate of the characteristic work items can be used as a reference for judging the fitting effect of the UV recommendation matrix.
And screening the fitting result of the UV recommendation matrix according to the test passing rate of the historical work items. Specifically, the fitting result of the UV recommendation matrix may be screened by comparing the test passing rate with a set threshold, and the fitting result of the UV recommendation matrix with the test passing rate greater than or equal to the set threshold is used as a final UV recommendation matrix, so that the UV recommendation matrix may reliably recommend an adapted test plan for the characteristic work item. In the case that the number of the historical workitems is multiple, the average value of the test passing rates of the historical workitems can be taken as a reference for evaluating the fitting result of the UV recommendation matrix. The set threshold is determined by a person skilled in the art according to actual traffic demands, and is not limited herein, and for example, the set threshold may be determined to be 95%. The test plan template is recommended for the to-do work items based on the UV recommendation matrix, so that the adaptation degree of the to-do work items and the test plan template can be improved, the test passing rate of the to-do work items is improved, the test efficiency is improved, and the delivery progress of software products is accelerated.
And S130, determining a target test plan template to be recommended in the candidate test plan templates according to the type of the target template.
The target template type and the demand type to be tested have a corresponding relation, and the test plan template corresponding to the target template type is the target test plan template. The target test plan template is generated among the candidate test plan templates. Typically, the candidate test plan templates cover common test requirements in the business scenario. The adaptive test plan template is configured for common test requirements, so that the repetitive work of testers can be greatly reduced, and the test efficiency is improved. In an alternative embodiment, the candidate test plan template includes: and adding at least one of a transaction test plan template, inquiring the transaction test plan template, deleting the transaction test plan template and a batch transaction test plan template. Each candidate test plan template corresponds to a unique and certain template type, which may be represented numerically.
The candidate test plan template is constructed according to the business requirements and is pre-deployed in the test technology determination system. Specifically, the commonalities of the development requirements can be extracted from the dimension pairs of the functions, and the basic version of the test plan template can be constructed according to the commonalities of the development requirements. The use of test plan templates may enable basic testing of the functionality of a software product. The test plan template generally includes dimensions of test objects, test ranges, test methods, expected results, and the like. The test plan templates developed for different test requirement types have differences in the corresponding contents of each dimension.
According to the technical scheme provided by the embodiment of the application, the to-be-handled work items are obtained, and the test requirement type corresponding to the to-be-handled work items is determined and is used as the requirement type to be tested; mapping the demand type to be tested based on a UV recommendation matrix to obtain a test plan template type associated with the demand type to be tested as a target template type; and determining a target test plan template to be recommended in the candidate test plan templates according to the type of the target template. By executing the technical scheme provided by the application, the test technical template matched with the to-be-handled work items can be intelligently recommended to the user in the candidate test plan template based on the UV recommendation matrix according to the test requirement type corresponding to the to-be-handled work items, so that the repeated work performed in the process of making the test plan by testers is greatly reduced, the test efficiency is improved, the product research and development process is promoted, and the product delivery progress is accelerated.
Example two
Fig. 2 is a flowchart of another test plan determination method provided in the second embodiment of the present application. The present embodiment is further optimized on the basis of the above-described embodiments. Specifically, the mapping the type of the demand to be tested based on the UV recommendation matrix to obtain a test plan template type associated with the type of the demand to be tested as a target template type includes: taking the type of the demand to be tested as a U matrix characteristic value of the UV recommendation matrix; mapping the characteristic value of the U matrix based on the UV recommendation matrix to obtain a V matrix characteristic value of the UV recommendation matrix; and determining a test plan template type associated with the demand type to be tested as a target template type according to the V matrix characteristic value.
As shown in fig. 2, the test plan determining method includes:
s210, obtaining the to-do work items, and determining the test requirement type corresponding to the to-do work items as the requirement type to be tested.
In an optional embodiment, determining the test requirement type corresponding to the to-do work item as the to-be-tested requirement type includes: determining the position of the development requirement in the to-be-done work item based on a key content positioning algorithm; extracting development steps in the development requirements based on a key content identification algorithm; and determining the test requirement type corresponding to the to-do work item as the to-be-tested requirement type according to the development step.
The to-do work item refers to a feature (feature) work item to be tested, and the feature work item includes: user requirements, characteristics, and user stories. A property work item is a collection of related user stories. The characteristic work items comprise a large amount of contents, wherein the contents with lower reference value for determining the type of the test requirement corresponding to the to-be-handled work items exist. Since the software testing process is actually a process of verifying the software product under development or after development. The test requirements are closely related to the development requirements, and the test requirement types of the characteristic work items can be determined according to the development requirements in the work items to be handled.
Wherein the key content positioning algorithm is an algorithm for determining the position of the development requirement in the to-do work item. Typically, the to-do work item is written according to a format specification, and the development requirement is used as important information in agile development, and is generally highlighted in a document by setting a title or font highlight of a specific format, or the development requirement is written in a separately-existing requirement design attachment. Thus, the location of development requirements within the to-do work item may be located using a key content location algorithm. Specifically, the document where the development requirement is located may be determined according to information such as the number of documents, the title of the document, the format of the document, and the like, and the position of the development requirement in the document may be determined according to paragraph setting, font format, and text content in the document.
The development steps can reflect the development requirements more directly and objectively, and after the positions of the development requirements are located, the development steps in the development requirements are extracted through a key content recognition algorithm. Specifically, a keyword recognition algorithm can be combined with paragraph format extraction and development steps. And determining the test requirement type corresponding to the to-do work item according to the development step. Therefore, automation of the process of determining the test requirement type corresponding to the to-do work item can be realized, and the test efficiency is improved.
And S220, taking the type of the demand to be tested as a U matrix characteristic value of the UV recommendation matrix.
The type of the demand to be tested is a test demand type corresponding to the work item to be handled, the type of the demand to be tested can be represented by numbers, and a U matrix is generated according to the type of the demand to be tested.
And S230, mapping the characteristic value of the U matrix based on the UV recommendation matrix to obtain a V matrix characteristic value of the UV recommendation matrix.
Wherein, the UV recommendation matrix is determined according to the test requirement type of the historical work item and the historical test plan template type used for executing the historical work item. The UV recommendation matrix is constructed in advance and configured in the test plan determination system, and under the condition that the UV recommendation matrix is determined and the test requirement type factor matrix U is known, the UV recommendation matrix is used for mapping the characteristic value of the U matrix to obtain a test plan template type factor matrix V.
S240, determining a test plan template type associated with the demand type to be tested as a target template type according to the V matrix characteristic value.
The V matrix eigenvalue is the digital identification of the test plan template type associated with the demand type to be tested. The target template type can be determined according to the V matrix eigenvalue.
And S250, determining a target test plan template to be recommended in the candidate test plan templates according to the type of the target template.
Under the condition that a target test plan template with a basic test function cannot meet the personalized service requirements of a user, the technical scheme provided by the application can customize a test plan for the user on the basis of the candidate test plan template according to the test requirements of the user. In an optional embodiment, after determining a target test plan template to be recommended among the candidate test plan templates according to the target template type, the method further includes: in response to receiving a test plan template customizing request, modifying a data item in the target test plan template according to the test plan template customizing request to obtain a customized test plan template; and executing a test task according to the customized test plan template.
The test plan template customizing request is a request for constructing a personalized test plan, and is generated according to the template customizing requirement of a user. And constructing a customized test plan template meeting the personalized requirements of the user on the basis of the target test plan template according to the test plan template customization request. The data items in the target test plan template are changed according to the test plan customization request, and specifically, the data items are added to the target test plan template, and existing data items in the target test plan template are deleted or replaced. Illustratively, in the case that the target test plan template is a query transaction test plan template, data items of query business objects are added in the test method of the target test plan template according to user requirements.
The customized test plan template is a template which can meet the requirements of the personalized test of the user and is obtained by modifying the data items in the target test plan template according to the test plan template customization request. And executing the test task according to the customized test plan template, specifically, testing the test object in the test range by using the test method in the customized test plan template to obtain a test result, obtaining a test evaluation result of the software product according to the test result and an expected result, and feeding the test evaluation result back to the user. The personalized test requirements of the user are met, and the user experience is improved.
It is worth noting that in the application, the candidate test plan template and the to-do work items are configured in the same system and are both configured in the test plan determination system, the test plan determination system simultaneously supports the input of the test cases and the establishment of the test suite, the test cases are associated to the test plan, the use of subsequent tests is convenient, and the problems that the local registration of the test plan is complicated, the test plan is easy to forget and the like are solved; the test plan determining system supports test configuration at the same time, so that information such as a test entity, a test environment and the like can be conveniently stored, the information such as the test environment, a database and the like is prevented from being configured when testing is carried out next time, and the use by a tester is facilitated; the test plan determination system can also realize the export of test reports, so that the test reports are convenient for testers to use, and the page of the test plan determination system can realize the association of test configuration to characteristic work items.
Optionally, the test plan determining system of the executable test plan determining method provided by the present application is constructed based on a micro-service infrastructure, and the micro-service infrastructure architecture includes: the system comprises a service framework, a runtime support service, service safety, a background service, service monitoring and a service deployment platform. Wherein the runtime support service comprises: the system comprises a service gateway, a registration center and a configuration center; the service security comprises the following steps: JWT authorization authentication; the background service comprises the following steps: a messaging system and a data access layer; the service monitoring comprises the following steps: log monitoring, alarm notification and health check; the service deployment platform comprises: mirror image governance, release pipelines and the like.
Optionally, the micro-service basic framework is a SPEED4J framework, SPEED4J uses MyBatis as a persistent layer ORM tool at runtime, and a data layer management related tool is provided to facilitate generation of entity beans by a project group, editing of mapping files, and generation of related management side functions using beans. And generating a data operation interface class, a request service class, a request control class and a front-end code of the addition, deletion, modification and check operation of the related data table according to the Java Bean, thereby conveniently and quickly realizing single-table and multi-table management operation.
According to the technical scheme provided by the embodiment of the application, the to-be-handled work items are obtained, and the test requirement type corresponding to the to-be-handled work items is determined and is used as the requirement type to be tested; taking the type of the demand to be tested as a U matrix characteristic value of the UV recommendation matrix; mapping the characteristic value of the U matrix based on the UV recommendation matrix to obtain a V matrix characteristic value of the UV recommendation matrix; determining a test plan template type associated with the demand type to be tested as a target template type according to the V matrix characteristic value; and determining a target test plan template to be recommended in the candidate test plan templates according to the type of the target template. The method and the device can accurately and reliably recommend the adaptive test plan template for the characteristic work items to be handled based on the UV recommendation matrix, and effectively ensure the test passing rate of the work items to be handled. Therefore, the testing efficiency is improved, the product research and development process is promoted, and the product delivery progress is accelerated.
EXAMPLE III
Fig. 3 is a test plan determining apparatus according to a third embodiment of the present application, which is applicable to a case where a test plan template matching a feature work item is automatically recommended for agile test development. The device can be realized by software and/or hardware, and can be integrated in electronic equipment such as an intelligent terminal.
As shown in fig. 3, the apparatus may include: a demand to be tested type determining module 310, a target template type determining module 320 and a target test plan template to be recommended determining module 330.
The to-be-tested demand type determining module 310 is configured to obtain a to-be-handled work item, and determine a test demand type corresponding to the to-be-handled work item, as a to-be-tested demand type;
a target template type determining module 320, configured to map the requirement type to be tested based on the UV recommendation matrix, and obtain a test plan template type associated with the requirement type to be tested as a target template type;
and the target test plan template to be recommended determining module 330 is configured to determine the target test plan template to be recommended from the candidate test plan templates according to the type of the target template.
According to the technical scheme provided by the embodiment of the application, the to-be-handled work items are obtained, and the test requirement type corresponding to the to-be-handled work items is determined and is used as the requirement type to be tested; mapping the demand type to be tested based on a UV recommendation matrix to obtain a test plan template type associated with the demand type to be tested as a target template type; and determining a target test plan template to be recommended in the candidate test plan templates according to the type of the target template. According to the technical scheme, the test technical template matched with the to-be-done work items can be intelligently recommended to the user in the candidate test plan template through the UV recommendation matrix according to the test requirement type corresponding to the to-be-done work items, repetitive work in the process of making the test plan by testers is greatly reduced, the test efficiency is improved, the product research and development process is promoted, and the product delivery progress is accelerated.
Optionally, the target template type determining module 320 includes: the U matrix eigenvalue determination submodule is used for taking the type of the demand to be tested as the U matrix eigenvalue of the UV recommendation matrix; the V matrix eigenvalue determination submodule is used for mapping the U matrix eigenvalue based on the UV recommendation matrix to obtain a V matrix eigenvalue of the UV recommendation matrix; and the target template type determining submodule is used for determining a test plan template type associated with the type of the demand to be tested as a target template type according to the V matrix characteristic value.
Optionally, the apparatus further comprises: the U matrix eigenvalue determination module is used for acquiring historical workitems in a preset time period before mapping the demand type to be tested based on the UV recommendation matrix to obtain a test plan template type associated with the demand type to be tested as a target template type, determining a test demand type corresponding to the historical workitems to obtain a historical demand type, and using the historical demand type as a U matrix eigenvalue; the V matrix eigenvalue determining module is used for acquiring a historical test plan template used for executing the historical workitems and taking the type of the historical test plan template as a V matrix eigenvalue; the UV recommendation matrix fitting module is used for performing UV recommendation matrix fitting based on the U matrix eigenvalue and the V matrix eigenvalue to obtain at least two UV recommendation matrix fitting results; and the UV recommendation matrix fitting result screening module is used for screening the UV recommendation matrix fitting result according to the test passing rate of the historical work items to obtain the UV recommendation matrix.
Optionally, the module 310 for determining the type of the demand to be tested includes: the to-do work item acquisition submodule specifically acquires the to-do work item; and the to-be-tested requirement type determining submodule is specifically used for determining the test requirement type corresponding to the to-be-handled work item as the to-be-tested requirement type. Wherein, the demand type that awaits measuring confirms submodule piece, includes: the development demand positioning unit is used for determining the position of the development demand in the to-be-handled work item based on a key content positioning algorithm; a development requirement content extraction unit for extracting development steps in the development requirement based on a key content recognition algorithm; and the to-be-tested demand type determining unit is used for determining the test demand type corresponding to the to-be-handled work item as the to-be-tested demand type according to the development step.
Optionally, the apparatus further comprises: the test plan template customizing module is used for responding to the received test plan template customizing request after determining a target test plan template to be recommended in the candidate test plan templates according to the type of the target template, and modifying the data item in the target test plan template according to the test plan template customizing request to obtain a customized test plan template; and the test task execution module is used for executing the test task according to the customized test plan template.
Optionally, the candidate test plan template includes: and adding at least one of a transaction test plan template, inquiring the transaction test plan template, deleting the transaction test plan template and a batch transaction test plan template.
The test plan determining device provided by the embodiment of the invention can execute the test plan determining method provided by any embodiment of the invention, and has the corresponding performance module and beneficial effects of executing the test plan determining method.
Example four
A fourth embodiment of the present application further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for test plan determination, the method including:
obtaining a to-be-handled work item, and determining a test requirement type corresponding to the to-be-handled work item as a requirement type to be tested;
mapping the demand type to be tested based on a UV recommendation matrix to obtain a test plan template type associated with the demand type to be tested as a target template type;
and determining a target test plan template to be recommended in the candidate test plan templates according to the type of the target template.
Storage media refers to any of various types of memory electronics or storage electronics. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the computer system in which the program is executed, or may be located in a different second computer system connected to the computer system through a network (such as the internet). The second computer system may provide the program instructions to the computer for execution. The term "storage medium" may include two or more storage media that may reside in different unknowns (e.g., in different computer systems connected by a network). The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application and containing computer-executable instructions is not limited to the test plan determining operation described above, and may also perform related operations in the test plan determining method provided in any embodiment of the present application.
EXAMPLE five
A fifth embodiment of the present application provides an electronic device, where the test plan determining apparatus provided in the embodiment of the present application may be integrated in the electronic device, and the electronic device may be configured in a system, or may be a device that performs part or all of the performance in the system. Fig. 4 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application. As shown in fig. 4, the present embodiment provides an electronic device 400, which includes: one or more processors 420; the storage device 410 is configured to store one or more programs, and when the one or more programs are executed by the one or more processors 420, the one or more processors 420 implement the method for determining a test plan provided in the embodiment of the present application, the method includes:
obtaining a to-be-handled work item, and determining a test requirement type corresponding to the to-be-handled work item as a requirement type to be tested;
mapping the demand type to be tested based on a UV recommendation matrix to obtain a test plan template type associated with the demand type to be tested as a target template type;
and determining a target test plan template to be recommended in the candidate test plan templates according to the type of the target template.
Of course, those skilled in the art will understand that the processor 420 also implements the technical solution of the test plan determination method provided in any embodiment of the present application.
The electronic device 400 shown in fig. 4 is only an example, and should not bring any limitation to the performance and the scope of use of the embodiments of the present application.
As shown in fig. 4, the electronic device 400 includes a processor 420, a storage device 410, an input device 430, and an output device 440; the number of the processors 420 in the electronic device may be one or more, and one processor 420 is taken as an example in fig. 4; the processor 420, the storage device 410, the input device 430, and the output device 440 in the electronic apparatus may be connected by a bus or other means, and are exemplified by a bus 450 in fig. 4.
The storage device 410 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and module units, such as program instructions corresponding to the test plan determination method in the embodiment of the present application.
The storage device 410 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for performance; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage 410 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage 410 may further include memory located remotely from processor 420, which may be connected via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 430 may be used to receive input numbers, character information, or voice information, and to generate key signal inputs related to user settings and performance control of the electronic device. The output device 440 may include a display screen, speakers, or other electronic equipment.
The test plan determining device, the medium, and the electronic device provided in the above embodiments may execute the test plan determining method provided in any embodiment of the present application, and have a performance module and a beneficial effect corresponding to the execution of the method. For technical details not described in detail in the above embodiments, reference may be made to a test plan determination method provided in any of the embodiments of the present application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. A method for test plan determination, the method comprising:
obtaining a to-be-handled work item, and determining a test requirement type corresponding to the to-be-handled work item as a requirement type to be tested;
mapping the demand type to be tested based on a UV recommendation matrix to obtain a test plan template type associated with the demand type to be tested as a target template type;
and determining a target test plan template to be recommended in the candidate test plan templates according to the type of the target template.
2. The method of claim 1, wherein the mapping the demand type to be tested based on the UV recommendation matrix to obtain a test plan template type associated with the demand type to be tested as a target template type comprises:
taking the type of the demand to be tested as a U matrix characteristic value of the UV recommendation matrix;
mapping the characteristic value of the U matrix based on the UV recommendation matrix to obtain a V matrix characteristic value of the UV recommendation matrix;
and determining a test plan template type associated with the demand type to be tested as a target template type according to the V matrix characteristic value.
3. The method of claim 1, wherein before mapping the demand type to be tested based on a UV recommendation matrix to obtain a test plan template type associated with the demand type to be tested as a target template type, the method further comprises:
acquiring historical workitems in a preset time period, determining a test requirement type corresponding to the historical workitems to obtain a historical requirement type, and taking the historical requirement type as a characteristic value of a U matrix;
acquiring a historical test plan template used for executing the historical workitems, and taking the type of the historical test plan template as a V matrix characteristic value;
performing UV recommendation matrix fitting based on the U matrix eigenvalue and the V matrix eigenvalue to obtain at least two UV recommendation matrix fitting results;
and screening the fitting result of the UV recommendation matrix according to the test passing rate of the historical work items to obtain the UV recommendation matrix.
4. The method according to claim 1, wherein determining the test requirement type corresponding to the to-do work item as the to-be-tested requirement type includes:
determining the position of the development requirement in the to-be-done work item based on a key content positioning algorithm;
extracting development steps in the development requirements based on a key content identification algorithm;
and determining the test requirement type corresponding to the to-do work item as the to-be-tested requirement type according to the development step.
5. The method of claim 1, wherein after determining a target test plan template to be recommended among the candidate test plan templates according to the target template type, the method further comprises:
in response to receiving a test plan template customizing request, modifying a data item in the target test plan template according to the test plan template customizing request to obtain a customized test plan template;
and executing a test task according to the customized test plan template.
6. The method of claim 1, wherein the candidate test plan template comprises: and adding at least one of a transaction test plan template, inquiring the transaction test plan template, deleting the transaction test plan template and a batch transaction test plan template.
7. A test plan determination apparatus, characterized in that the apparatus comprises:
the device comprises a to-be-tested demand type determining module, a to-be-tested demand type determining module and a to-be-tested demand type determining module, wherein the to-be-tested demand type determining module is used for acquiring a to-be-handled work item and determining a test demand type corresponding to the to-be-handled work item as a to-be-tested demand type;
the target template type determining module is used for mapping the demand type to be tested based on the UV recommendation matrix to obtain a test plan template type associated with the demand type to be tested as a target template type;
and the target test plan template determination module is used for determining the target test plan template to be recommended in the candidate test plan templates according to the type of the target template.
8. The apparatus of claim 7, wherein the target template type determination module comprises:
the U matrix eigenvalue determination submodule is used for taking the type of the demand to be tested as the U matrix eigenvalue of the UV recommendation matrix;
the V matrix eigenvalue determination submodule is used for mapping the U matrix eigenvalue based on the UV recommendation matrix to obtain a V matrix eigenvalue of the UV recommendation matrix;
and the target template type determining submodule is used for determining a test plan template type associated with the type of the demand to be tested as a target template type according to the V matrix characteristic value.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out a test plan determination method according to any one of claims 1 to 6.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the test plan determination method according to any of claims 1-6 when executing the computer program.
CN202111149615.7A 2021-09-29 2021-09-29 Test plan determination method, test plan determination device, test plan determination medium, and electronic device Pending CN113886235A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111149615.7A CN113886235A (en) 2021-09-29 2021-09-29 Test plan determination method, test plan determination device, test plan determination medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111149615.7A CN113886235A (en) 2021-09-29 2021-09-29 Test plan determination method, test plan determination device, test plan determination medium, and electronic device

Publications (1)

Publication Number Publication Date
CN113886235A true CN113886235A (en) 2022-01-04

Family

ID=79007998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111149615.7A Pending CN113886235A (en) 2021-09-29 2021-09-29 Test plan determination method, test plan determination device, test plan determination medium, and electronic device

Country Status (1)

Country Link
CN (1) CN113886235A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116308175A (en) * 2023-03-22 2023-06-23 江苏艾玮得生物科技有限公司 Experiment management method, device, terminal and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116308175A (en) * 2023-03-22 2023-06-23 江苏艾玮得生物科技有限公司 Experiment management method, device, terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109726103B (en) Test report generation method, device, equipment and storage medium
CN107861870B (en) Interface test and test data generation method, device, terminal and storage medium
CN106980573B (en) Method, device and system for constructing test case request object
US10657530B2 (en) Automated transactions clearing system and method
CN109857630A (en) Code detection method, system and equipment
CN112256682B (en) Data quality detection method and device for multi-dimensional heterogeneous data
CN115526605A (en) Enterprise internal control management-based approval method and system
CN112835808A (en) Interface testing method and device, computer equipment and storage medium
CN113886235A (en) Test plan determination method, test plan determination device, test plan determination medium, and electronic device
CN114661551A (en) Method and device for monitoring software running state and computer readable storage medium
CN114116801A (en) Data list checking method and device
CN112433936A (en) Test method, test device and storage medium
CN112650688A (en) Automated regression testing method, associated device and computer program product
CN115913427A (en) Beidou module testing method, device, equipment and storage medium
US11853198B2 (en) Program development assistance system and program development assistance method
CN113672497B (en) Method, device and equipment for generating non-buried point event and storage medium
CN110348984B (en) Automatic credit card data input method and related equipment under different transaction channels
CN113327023A (en) Traversal test method and device, electronic equipment and computer readable storage medium
CN113238901A (en) Multi-device automatic testing method and device, storage medium and computer device
CN111798237A (en) Abnormal transaction diagnosis method and system based on application log
CN111752927A (en) Clone-based data form generation method, device, terminal equipment and medium
CN114584616B (en) Message pushing method and device, electronic equipment and storage medium
CN116881880B (en) Space-time data management system and space-time data service resource cooperative scheduling method
CN112100661A (en) Data processing method and device
CN116431636A (en) Report generation method, report generation device, computer equipment and storage medium

Legal Events

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