CN115495374A - Method and device for testing asset management - Google Patents

Method and device for testing asset management Download PDF

Info

Publication number
CN115495374A
CN115495374A CN202211227063.1A CN202211227063A CN115495374A CN 115495374 A CN115495374 A CN 115495374A CN 202211227063 A CN202211227063 A CN 202211227063A CN 115495374 A CN115495374 A CN 115495374A
Authority
CN
China
Prior art keywords
test
map
service
cell
node
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
CN202211227063.1A
Other languages
Chinese (zh)
Inventor
蔡晨暄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202211227063.1A priority Critical patent/CN115495374A/en
Publication of CN115495374A publication Critical patent/CN115495374A/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/368Test management for test version control, e.g. updating test cases to a new software version

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method and a device for testing asset management, which are used for obtaining a mind map of a service, wherein the mind map is used for hierarchically embodying the structure of the service and at least comprises a venation map, and the venation map comprises a plurality of testing nodes; in response to a first operation on the mind map, obtaining a target node in the context map, the target node belonging to the plurality of test nodes; and obtaining a target test case corresponding to the target node according to the target node and a preset conversion tool, wherein the conversion tool is used for converting the test node into the test case. Therefore, the existing test cases are sorted and stored by means of the thinking guide diagram at the granularity of the service, and the test nodes in the thinking guide diagram can be conveniently and quickly converted into the test cases through the developed conversion tool, so that the flexible multiplexing of the test cases is realized.

Description

Method and device for testing asset management
Technical Field
The present application relates to the field of testing technologies, and in particular, to a method and an apparatus for testing asset management.
Background
The basic flow of the test mainly comprises the following steps: the method comprises the steps of requirement analysis, test point mind mapping compiling, test case reviewing, test case modifying, test executing, repair condition follow-up, test asset archiving and regression testing. At present, the existing method for compiling test cases by using a mind map tool is mostly used in a project dimension work flow, and testers need to carry out tests in a project process, namely, the testers compile the test cases by using the mind map tool and use the test cases in a test execution process, and after a project cycle is finished, the cases lose activity, so that the testers need to compile the test cases again when other related projects follow up, and the test cases of the previous projects cannot be reused.
Based on this, it is urgent to provide a technical scheme for reasonable test asset management to overcome the problem that the test cases cannot be reused in the current test flow based on project dimension.
Disclosure of Invention
The application provides a method and a device for managing test assets, which can manage the test assets based on business dimensions, so that the managed test assets can be conveniently reused, and the convenience and the intelligent level of testing are improved.
In a first aspect, the present application provides a method of test asset management, comprising:
obtaining a mind map of a business, the mind map for hierarchically embodying a structure of the business, the mind map comprising at least a context map, the context map comprising a plurality of test nodes;
in response to a first operation on the mind map, obtaining a target node in the context map, the target node belonging to the plurality of test nodes;
and obtaining a target test case corresponding to the target node according to the target node and a preset conversion tool, wherein the conversion tool is used for converting the test node into the test case.
Optionally, the mind map comprises a primary map, a secondary map, a bird's eye view, the context map, and a minimal data set,
the primary graph indicating the service and at least one system to which the service relates, each of the at least one system corresponding to one of the secondary graphs,
the secondary map indicating its own corresponding system and at least one module associated with the system, each of the at least one module corresponding to one of the aerial views,
the bird's eye view indicates its own corresponding module and at least one cell associated with that module, each cell of the at least one cell corresponding to one of the context maps, the cell being a function, interface or interface,
the context map indicates its corresponding cell and at least one test node associated with the cell,
the minimum data set includes system requirements and test data.
Optionally, the method further comprises:
in response to a second operation on the mind map, obtaining a first set of test nodes;
and storing the first test case set corresponding to the first test node set in a first test library.
Optionally, the first test library is a personal test library, a general test library of the first service, or a common test library of a plurality of services.
In a second aspect, the present application further provides an apparatus for test asset management, including:
a first obtaining unit, configured to obtain an mind map of a service, the mind map being configured to hierarchically embody a structure of the service, the mind map including at least a context map, the context map including a plurality of test nodes;
a second obtaining unit, configured to obtain a target node in the context map in response to a first operation on the mind map, where the target node belongs to the plurality of test nodes;
and a third obtaining unit, configured to obtain a target test case corresponding to the target node according to the target node and a preset conversion tool, where the conversion tool is used to convert the test node into the test case.
Optionally, the mind map comprises a primary map, a secondary map, a bird's eye view, the context map, and a minimal data set,
the primary graph indicating the service and at least one system to which the service relates, each of the at least one system corresponding to one of the secondary graphs,
the secondary map indicating its own corresponding system and at least one module associated with the system, each of the at least one module corresponding to one of the aerial views,
the bird's eye view indicates its own corresponding module and at least one cell associated with that module, each cell of the at least one cell corresponding to one of the context maps, the cell being a function, interface or interface,
the context map indicates its corresponding cell and at least one test node associated with the cell,
the minimum data set includes system requirements and test data.
Optionally, the apparatus further comprises:
a fourth obtaining unit, configured to obtain a first set of test nodes in response to a second operation on the mind map;
and the storage unit is used for storing the first test case set corresponding to the first test node set in a first test library.
Optionally, the first test library is a personal test library, a general test library of the first service, or a common test library of a plurality of services.
In a third aspect, the present application further provides an electronic device, including a processor and a memory:
the memory is used for storing a computer program;
the processor is configured to perform the method provided by the first aspect above according to the computer program.
In a fourth aspect, the present application also provides a computer-readable storage medium for storing a computer program for executing the method provided in the first aspect.
Therefore, the embodiment of the application has the following beneficial effects:
the embodiment of the application provides a method for testing asset management, which for example comprises the following steps: the device for testing asset management obtains a mind map of a business, the mind map for hierarchically embodying a structure of the business, the mind map including at least a context map, the context map including a plurality of test nodes; in response to a first operation on the mind map, the apparatus for test asset management obtains a target node in the context map, the target node belonging to the plurality of test nodes; and then, the device for testing asset management obtains a target test case corresponding to the target node according to the target node and a preset conversion tool, wherein the conversion tool is used for converting the test node into the test case. Therefore, the existing test cases are sorted and stored by means of the thinking guide graph according to the business granularity, and the test nodes in the thinking guide graph can be conveniently and quickly converted into the test cases through the developed conversion tool, so that the flexible multiplexing of the test cases is realized.
Drawings
FIG. 1 is a schematic flow chart illustrating a method for testing asset management according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of test asset management provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of a level diagram provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a secondary diagram provided by an embodiment of the present application;
fig. 5 is a schematic view of a bird's eye view provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of a context map provided by an embodiment of the present application;
FIG. 7 is a diagram illustrating a minimum data set storage format according to an embodiment of the present disclosure;
FIG. 8 is a block diagram of an apparatus 800 for testing asset management according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an electronic device 900 according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanying the drawings are described in detail below. It is to be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application. It should be noted that, for the convenience of description, only a part related to the present application is shown in the drawings, and not all structures are shown.
At present, each large enterprise has clear division of work, the same business is usually developed by combining a plurality of projects, but a document including whole business knowledge and association does not exist, and the business knowledge has 'islanding'. This results in partial developers' lack of depth and breadth of understanding of the overall business, thereby increasing the likelihood of unreasonable demand. Modules tested by testers often have no globality, so that the situation of neglect is easy to occur in the process of demand analysis. In addition, the current method for generating the test case by using the thinking guide graph tool does not have the process of converting the test assets of the project dimension into the service dimension for storage, the value is lost after the project is finished, and when other projects exist in the subsequent service, the searching and sorting cost is high during the multiplexing process because the historical test assets are not structurally stored. In addition, in the test case review stage, due to the lack of a global document, participants do not clearly know the requirements to be reviewed and the relationship between the requirements and the relationships, which can cause the problems of incomplete attention and poor review quality, and when the test case document is directly used for review, the information amount is too large and the logic is not strong, so that the unorganized information intake in batches has great reading difficulty and is difficult to ensure the quality and efficiency of the review. Moreover, existing test cases are mostly stored in project dimensions, one project may involve multiple modules or even multiple systems, functions, systems and the like involved between different projects may have intersections, the storage mode is chaotic and lacks global and systematic properties, and the multiplexing of test cases generally needs to be expanded by taking the functions, modules or systems as units, so that the current storage mode causes difficulty in quickly and accurately selecting a proper multiplexed test case. In addition, the mobility of part of enterprise personnel is high at present, and due to the lack of document reference of the integrity of the system, old personnel often use a mode of teaching to assist new personnel to know the condition of the test case in the project, which causes waste of human resources.
As can be seen, problems currently exist with testing assets, including: first, test assets are mostly organized in project dimensions, while test asset usage is usually spread out in business dimensions, making test asset query usage less organized; secondly, most of the current test assets are stored locally off line, and the interactivity is lacked; third, there is currently no asset management scheme for business dimensions, and business knowledge lacks inheritance.
Based on the thinking diagram, the embodiment of the application provides an online structured management method for the test assets, an online thinking diagram compiling tool which is independently developed is used for conducting documentary combing on business conditions and directly conducting structured sorting and storage on the business conditions, a user can look up and modify the business conditions in the form of the thinking diagram online, and the hierarchical test assets can be applied to demand analysis, test case review and regression test. Meanwhile, in the method provided by the embodiment of the application, the two steps of compiling the test point mind map and compiling the test case are combined into the step of compiling the venation map, so that the time is saved, the consistency of the test point mind map and the test case is ensured, the readability and the revieweability of the file are enhanced, and a user can mutually convert the test points and the test case in the venation map through a conversion tool, so that the test case is quickly searched and is convenient to reuse. In addition, in the method provided by the embodiment of the application, the online stored test assets can be sorted into different test set libraries according to requirements, and the reuse of the test assets can be simplified.
In specific implementation, the method provided in the embodiment of the present application may include, for example: the device for testing asset management obtains a mind map of a business, the mind map for hierarchically embodying a structure of the business, the mind map including at least a context map, the context map including a plurality of test nodes; in response to a first operation on the mind map, the apparatus for test asset management obtains a target node in the context map, the target node belonging to the plurality of test nodes; and then, the device for testing asset management obtains a target test case corresponding to the target node according to the target node and a preset conversion tool, wherein the conversion tool is used for converting the test node into the test case.
Therefore, the existing test cases are sorted and stored by means of the thinking guide graph according to the business granularity, and the test nodes in the thinking guide graph can be conveniently and quickly converted into the test cases through the developed conversion tool, so that the flexible multiplexing of the test cases is realized.
It should be noted that, a main body implementing the method for managing test assets provided by the embodiment of the present application may be the device for managing test assets provided by the embodiment of the present application, and the device for managing test assets may be carried in an electronic device or a functional module of the electronic device. The electronic device in the embodiment of the present application may be any device capable of implementing the method for testing asset management in the embodiment of the present application, and for example, may be an Internet of Things (IoT) device.
For facilitating understanding of a specific implementation of the method for generating an enterprise representation provided in the embodiments of the present application, the following description is made with reference to the accompanying drawings.
Referring to fig. 1, a flowchart of a method for testing asset management according to an embodiment of the present application is shown. As shown in fig. 1, the following S101 to S103 may be included:
s101, obtaining a mind map of the service, wherein the mind map is used for embodying the structure of the service in a grading way, and the mind map at least comprises a venation map which comprises a plurality of test nodes.
The thinking guide graph is an effective graphic thinking tool for expressing divergent thinking, and can simply express the relationship among all levels of themes. In the stage of demand analysis and test preparation, a thinking guidance diagram tool is generally used to analyze test points corresponding to various functional points of demand.
In the embodiment of the application, the independently developed mind map editing tool can sort the test assets in the historical project into the corresponding mind map by service dimension. The mind map provided by the embodiment of the present application may include, for example: a primary map (which may also be referred to as a primary aerial photograph), a secondary map (which may also be referred to as a secondary aerial photograph), a bird's eye view, a context map, and a minimum data set. Wherein the primary graph indicates the service and at least one system related to the service, and each system in the at least one system corresponds to one secondary graph; the secondary map indicates a system corresponding to the secondary map and at least one module related to the system, wherein each module in the at least one module corresponds to one aerial view; the bird's eye view indicates a module corresponding to the bird's eye view and at least one unit related to the module, wherein each unit in the at least one unit corresponds to one context map, and the unit is a function, an interface or an interface; the context map indicates a unit corresponding to the context map and at least one test node related to the unit; the minimal data set includes system requirements and test data.
The primary graph is a term defined by the embodiments of the present application, and refers to a system-level-crossing mind graph, where a root node in the primary graph is a service, and child nodes are systems under the service.
The secondary graph is a self-defined term in the embodiment of the present application, and refers to a system level overview chart using a thought-chart as a carrier, a root node of the secondary graph is a system, and child nodes are modules in the system.
The bird's-eye view is a self-defined term in the embodiments of the present application, and refers to a module-level overview chart with a mind map as a carrier, where a root node of the bird's-eye view is a module and a child node is a function, an interface or an interface in the module.
The context map is a term defined by the embodiments of the present application, and refers to an overview diagram with a mind map as a carrier, a root node of the context map is a function, a menu (may also be referred to as an interface) or an interface, a child node is a specific test point, and a test case corresponding to the test point includes information such as a normal branch, an abnormal branch, input and output of the function, the interface, and the like.
The minimum data set is a self-defined term used in the embodiments of the present application, and is used for organizing and managing test data. The method specifically comprises excel form files, system dimension requirement files, design files, scripts, pictures and the like, wherein the scripts and the pictures are materials required by the test uploading function.
As an example, the method provided in the embodiment of the present application may include: the testing assets of the completed project are input into the tool which can automatically generate the mind map and automatically obtain the initial mind map comprising the above contents. In order to make the mind map put into use later more accurate, the mind map in S101 can be obtained by manually correcting and confirming the mind map on the basis of the initial mind map. The basis for manual correction and confirmation can be experience and requirements of workers on a service test scene. The manual correction may include, for example, operations such as adding, deleting, or modifying nodes in the mind map.
S102, responding to a first operation on the thinking graph, and obtaining a target node in the venation graph, wherein the target node belongs to the plurality of test nodes.
The first operation may be any operation for selecting a node in the mind map, such as a click operation, a search and determine operation, and the like.
The user may select a node in the mind map through a first operation based on own needs to obtain a test case or a test case set, where a test point corresponding to the selected node is a target node in S102, and the target node may be a test point indicated by one or more child nodes in the context map, or may also be a test point indicated by one or more child nodes in the bird' S eye view, the primary map, or the secondary map. If the target node is a test point indicated by one or more child nodes in the aerial view, the primary graph or the secondary graph, the target node can be obtained based on the association relationship between the selected child nodes and the thought graphs of the respective levels.
S103, obtaining a target test case corresponding to the target node according to the target node and a preset conversion tool, wherein the conversion tool is used for converting the test node into the test case.
The conversion tool can be designed and deployed in a device for testing asset management according to the embodiment of the application. And the conversion tool is used for realizing automatic conversion between the test nodes and the test cases.
In a specific implementation, S103 may include, for example: and inputting the target node into the conversion tool, and outputting the target test case by the conversion tool.
As an example, after the user performs the first operation, an icon corresponding to the conversion tool may be selected, and the conversion tool is triggered to run, so as to obtain the target test case.
As another example, after the user performs the first operation, by operating the icon corresponding to the conversion tool, the conversion function from the test point to the test case of the conversion tool is selected, so that the conversion tool is triggered to run, and the target test case is obtained.
After the target test case is obtained, an address for storing the target test case or an item for calling the target test case can be selected based on a prompt of a device for testing asset management.
In other possible implementations, it may be desirable to suggest various test libraries including various test elements (i.e., test case sets). Wherein, the test library can be called as a treasure box, the test element can be called as a gem model, and the gem model belongs to the test elements provided on line.
As an example, the method provided in the embodiment of the present application may further include: in response to a second operation on the mind map, obtaining a first set of test nodes; and storing the first test case set corresponding to the first test node set in a first test library. The first test library is a personal test library, a general test library of a first service or a public test library of a plurality of services.
The gem model is a self-defined term in the embodiment of the application, and a mode of providing test elements (i.e. a reusable test case set) on line is provided. The user can customize part of the written test case into a test element so as to facilitate subsequent multiplexing.
The personal treasure box is a term customized by the embodiment of the application, is used for storing a gem model customized by a user, and corresponds to the personal test library mentioned in the embodiment of the application.
The service treasure box is a self-defined term in the embodiment of the application, is a gem model library of a service, is used for storing a universal test case set of a certain service, and can correspond to the universal test library of the first service mentioned in the embodiment of the application.
The public treasure box is a self-defined term in the embodiment of the application, is a public gem model library, is used for storing a test case set which is common to all services, such as test case sets of some page controls, and can correspond to the public test library of a plurality of services mentioned in the embodiment of the application.
Therefore, the test cases corresponding to the test points are stored in the specific treasure box through simple operations such as dragging of the nodes in the thinking guide graph, and further convenience is provided for searching and using in the process of subsequently multiplexing the test cases.
The test case in the embodiment of the present application refers to a description of a test task performed on a specific software product, and embodies a test method, a test technique, and a test strategy, and may include descriptions of a test target, a test step, an expected result, forward and reverse cases of the use case, for example. The test case is an instruction manual for test implementation and is also a benchmark for measurement of test results.
The system test refers to the test of the whole system, and refers to the combination of the software subjected to the integrated test as a part of the computer system and other parts in the system, and a series of strict and effective tests are carried out on the computer system under the actual operating environment to find out the potential problems of the software and ensure the normal operation of the system.
Regression testing, after modifying old code, is to re-test to confirm whether new errors are introduced or cause errors in other code.
In order to make the method provided by the embodiments of the present application clearer and easier to understand, the management scheme of the test assets provided by the embodiments of the present application is described below with reference to the accompanying drawings.
Fig. 2 is a schematic diagram of an overall structure of a management scheme of a test asset provided in an embodiment of the present application. Referring to fig. 2, in the embodiment of the present application, the test assets of the project dimension are output in the form of an online mind map, and the output mind map may include: the system comprises a minimum data set, a primary aerial photograph, a secondary aerial photograph, a bird's-eye view and a vein view, wherein the mind map embodies test assets of service dimensions in the form of an online management catalogue, the vein view and the test cases in the mind map can complete related conversion based on conversion attack designed by the embodiment of the application, and the vein view in the mind map can be dragged and the like to complete test case multiplexing from the test points to the gem model.
Therefore, the asset specification and management scheme meeting the test characteristics are formulated, project dimension and system dimension asset construction management barriers are opened, and a system management, project management and efficient rotation test asset management system is formed. In addition, the embodiment of the application uses tools to arrange and store system requirements, test cases and test data, forms an asset library containing normativity, global sensibility and inheritance by taking business as a unit, makes assets more organized by using the idea of layered design, and brings convenience to the storage and search process. The design concept is perfectly linked with the actual working process through the conversion tool, the synchronism of the mind map and the use cases is ensured, and the use cases are displayed and checked more clearly in visual experience. Moreover, in order to make the constructed mind map reading and storing more logical, the mind map in the embodiment of the application is divided into five-dimensional test assets of a primary aerial photograph, a secondary aerial photograph, a bird's-eye view, a venation map and a minimum data set according to the granularity of the business.
The asset writing specification for each level of mind map may include:
as shown in fig. 3, the primary aerial photograph uses a service as a root node, each system of the service is a child node, and each child node adds a hyperlink pointing to each secondary aerial photograph.
As shown in fig. 4, the secondary aerial photograph uses the system as a root node, and hyperlinks are added at the root node to point to the primary aerial photograph of the belonging service. The child nodes of the root node are all modules of the system, and the child nodes of all the modules display all functions. In addition, if the minimum data set exists at each child node, the minimum data set is also linked to the node in a hyperlink mode.
As shown in fig. 5, the root node of the bird's-eye view is a module, and hyperlinks are added at the root node to point to the secondary aerial photograph of the system. Each child node is a function, an interface or an interface of the module, and is respectively provided with a hyperlink pointing to the venation diagram.
As shown in fig. 6, the context map is a specific test case hierarchy, and names, steps, execution results, and forward and backward attributes of test cases are respectively filled in four nodes from the bottom to the top. And if the precondition exists, adding the precondition node at the last, and if the precondition node does not exist, not adding the precondition node. The method specifies that a use case name is represented by a right-angled rectangle, a path and a flow step before the use case name are represented by a diamond shape, and a root node is represented by a rounded rectangle.
As shown in fig. 7, the minimum data set is a folder storing test data, and the contents thereof include an excel form file, a system dimension requirement document, a design document, a script, a picture, and the like. The scripts, pictures and the like are accessories used in partial function tests, and the form files store forward and reverse forms of common test data to ensure the integrity of the common test data in a standard case form. In the table file, two modules are stored: data names and data, which may include, for example, actual data and a description of the meaning of the actual data.
In the storage of the test assets, the embodiment of the application also defines the specification of the storage, for example, all the test assets are hierarchically stored in the online collaboration directory so as to be convenient for management and viewing. The naming hierarchy of the folder is service name- > 2-bit number + system name- > 4-bit number + module name. After modification in the context map, the modified test case name is marked red (only the latest modification is retained) while annotations are added at this page/interface/function in the upper-level bird's eye view. After the modification is made in the aerial view, the modified page/interface/function is added with the annotation at the function in its superior secondary aerial view. When the file is modified and edited, a sign-in and sign-out operation is required to be carried out so as to ensure the exclusivity of the file.
Based on the storage specification, the embodiment of the application formulates a hierarchical naming specification which is more beneficial to searching and displaying. For example, the primary aerial photo is named as XX (business name) primary aerial photo and is stored in the business folder at the topmost layer; the secondary aerial photography image is named as H +2 bit number +00+ system name and is stored in a secondary system folder; the aerial view is named as N + 4-bit number +000+ module name and is stored in a module folder on the third layer; the venation map is named as M +7 bit number + function name and is stored in a module folder on the third layer; the minimum data set is named as S +4 bit number +000+ module name and is stored in a module folder of the third layer; the minimum data set commonly used by the service is stored in a top-level service folder in an S + service name form.
Therefore, the test assets are organized and stored in a structured mode through the overall management framework of the test assets, the writing and storage specifications of the test assets and the like, so that the assets are more organized and convenient to look up and learn. The assets of the project dimension are stored in the service dimension, and the queryability and reusability of the tested assets are also enhanced. The storage structure capable of being cooperatively operated on line is used, so that the operation of increasing, deleting, modifying and checking the assets is facilitated, and the safety and the integrity of the asset storage are ensured. Moreover, during the process of demand analysis and work combing, the bird's eye view and the context map in the structured test assets can be used for checking the relevance among the functions so as to judge whether the demand is perfect. The complete test case is directly compiled on the basis of the mind map, so that the logicality and the integrity of the case are guaranteed, and the case is checked in the form of the mind map more clearly in visual experience. In the test case review process, the venation map is used as a review material, so that the readability of the material is improved, the combing thought of a participant can be helped, meanwhile, the assets of other levels such as a bird's-eye view and the like can also be used as auxiliary combing materials, the participant can pay attention to the change of the related functions in time, and the current function test case can be modified.
Therefore, by the method provided by the embodiment of the application, the existing test cases are sorted and stored by means of the thinking guide diagram at the granularity of the service, and the test nodes in the thinking guide diagram can be conveniently and quickly converted into the test cases by the developed conversion tool, so that the flexible reuse of the test cases is realized.
Correspondingly, the embodiment of the present application further provides an apparatus 800 for testing asset management, as shown in fig. 8. The apparatus 800 may include: a first obtaining unit 801, a second obtaining unit 802, and a third obtaining unit 803. Wherein:
a first obtaining unit 801, configured to obtain an mind map of a service, the mind map being configured to hierarchically embody a structure of the service, the mind map including at least a context map, the context map including a plurality of test nodes;
a second obtaining unit 802, configured to obtain a target node in the context map in response to a first operation on the mind map, where the target node belongs to the plurality of test nodes;
a third obtaining unit 803, configured to obtain a target test case corresponding to the target node according to the target node and a preset conversion tool, where the conversion tool is configured to convert the test node into the test case.
Optionally, the mind map comprises a primary map, a secondary map, a bird's eye view, the context map, and a minimal data set,
the primary graph indicating the service and at least one system to which the service relates, each of the at least one system corresponding to one of the secondary graphs,
the secondary map indicating its own corresponding system and at least one module associated with the system, each of the at least one module corresponding to one of the aerial views,
the bird's eye view indicates its own corresponding module and at least one cell associated with that module, each cell of the at least one cell corresponding to one of the context maps, the cell being a function, interface or interface,
the context map indicates its corresponding cell and at least one test node associated with the cell,
the minimal data set includes system requirements and test data.
Optionally, the apparatus 800 further comprises:
a fourth obtaining unit, configured to obtain a first set of test nodes in response to a second operation on the mind map;
and the storage unit is used for storing the first test case set corresponding to the first test node set in a first test library.
Optionally, the first test library is a personal test library, a general test library of the first service, or a common test library of a plurality of services.
It should be noted that, for a specific implementation manner and an achieved effect of the apparatus 800 for testing asset management, reference may be made to the description of the related embodiment of the method shown in fig. 1.
In addition, an embodiment of the present application further provides an electronic device 900, as shown in fig. 9, where the electronic device 900 includes a processor 901 and a memory 902:
the memory 902 is used for storing computer programs;
the processor 901 is configured to execute the method provided in fig. 1 according to the computer program.
In addition, the embodiment of the present application also provides a computer-readable storage medium, which is used for storing a computer program, and the computer program is used for executing the method provided by the embodiment of the present application.
As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by software plus a general hardware platform. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a storage medium, such as a read-only memory (ROM)/RAM, a magnetic disk, an optical disk, or the like, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network communication device such as a router) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, system embodiments and device embodiments are substantially similar to method embodiments and are therefore described in a relatively simple manner, where relevant reference may be made to some descriptions of method embodiments. The above-described embodiments of the apparatus and system are merely illustrative, wherein modules described as separate parts may or may not be physically separate, and parts shown as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only a preferred embodiment of the present application and is not intended to limit the scope of the present application. It should be noted that, for a person skilled in the art, several modifications and refinements can be made without departing from the application, and these modifications and refinements should also be regarded as the protection scope of the application.

Claims (10)

1. A method of test asset management, comprising:
obtaining a mind map of a business, the mind map hierarchically embodying a structure of the business, the mind map comprising at least a context map, the context map comprising a plurality of test nodes;
in response to a first operation on the mind map, obtaining a target node in the context map, the target node belonging to the plurality of test nodes;
and obtaining a target test case corresponding to the target node according to the target node and a preset conversion tool, wherein the conversion tool is used for converting the test node into the test case.
2. The method of claim 1, wherein the mind map comprises a primary map, a secondary map, a bird's eye view, the context map, and a minimal data set,
the primary graph indicating the service and at least one system to which the service relates, each of the at least one system corresponding to one of the secondary graphs,
the secondary map indicating its own corresponding system and at least one module associated with the system, each of the at least one module corresponding to one of the aerial views,
the bird's eye view indicates its own corresponding module and at least one cell associated with that module, each cell of the at least one cell corresponding to one of the context maps, the cell being a function, interface or interface,
the context map indicates its corresponding cell and at least one test node associated with the cell,
the minimal data set includes system requirements and test data.
3. The method of claim 1, further comprising:
in response to a second operation on the mind map, obtaining a first set of test nodes;
and storing the first test case set corresponding to the first test node set in a first test library.
4. The method of claim 3, wherein the first test library is a personal test library, a general test library for a first service, or a common test library for a plurality of services.
5. An apparatus for testing asset management, comprising:
a first obtaining unit, configured to obtain an mind map of a service, the mind map hierarchically embodying a structure of the service, the mind map including at least a context map, the context map including a plurality of test nodes;
a second obtaining unit, configured to obtain a target node in the context map in response to a first operation on the mind map, where the target node belongs to the plurality of test nodes;
and a third obtaining unit, configured to obtain a target test case corresponding to the target node according to the target node and a preset conversion tool, where the conversion tool is used to convert the test node into the test case.
6. The apparatus of claim 5, wherein the mind map comprises a primary map, a secondary map, a bird's eye view, the context map, and a minimal data set,
the primary graph indicates the service and at least one system related to the service, each system in the at least one system corresponds to one secondary graph,
the secondary map indicating its own corresponding system and at least one module associated with the system, each of the at least one module corresponding to one of the aerial views,
the bird's eye view indicates its own corresponding module and at least one cell associated with that module, each cell of the at least one cell corresponding to one of the context maps, the cell being a function, interface or interface,
the context map indicates its corresponding cell and at least one test node associated with the cell,
the minimum data set includes system requirements and test data.
7. The apparatus of claim 5, further comprising:
a fourth obtaining unit, configured to obtain a first set of test nodes in response to a second operation on the mind map;
and the storage unit is used for storing the first test case set corresponding to the first test node set in a first test library.
8. The apparatus of claim 7, wherein the first test library is a personal test library, a general test library for a first service, or a common test library for a plurality of services.
9. An electronic device, comprising a processor and a memory:
the memory is used for storing a computer program;
the processor is adapted to perform the method of any of claims 1-4 in accordance with the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium is used to store a computer program for performing the method of any of claims 1-4.
CN202211227063.1A 2022-10-09 2022-10-09 Method and device for testing asset management Pending CN115495374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211227063.1A CN115495374A (en) 2022-10-09 2022-10-09 Method and device for testing asset management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211227063.1A CN115495374A (en) 2022-10-09 2022-10-09 Method and device for testing asset management

Publications (1)

Publication Number Publication Date
CN115495374A true CN115495374A (en) 2022-12-20

Family

ID=84471508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211227063.1A Pending CN115495374A (en) 2022-10-09 2022-10-09 Method and device for testing asset management

Country Status (1)

Country Link
CN (1) CN115495374A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117093497A (en) * 2023-09-11 2023-11-21 苏州云体科技有限公司 Test report processing method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117093497A (en) * 2023-09-11 2023-11-21 苏州云体科技有限公司 Test report processing method and device, electronic equipment and storage medium
CN117093497B (en) * 2023-09-11 2024-05-07 苏州云体科技有限公司 Test report processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111241454B (en) Method, system and device for generating webpage codes
US7870499B2 (en) System for composing software appliances using user task models
CN101719092B (en) Test data creation and execution system for service oriented architecture
US5799193A (en) Scenario based iterative method for development of an object oriented system model
US5428729A (en) System and method for computer aided software engineering
CA1286406C (en) Automated interface to project management tool
CN104077137A (en) Integrated design application
CN113886606B (en) Data annotation method, device, medium and equipment based on knowledge graph
CN111881037A (en) Test case management method and device and electronic equipment
CN115495374A (en) Method and device for testing asset management
CN110825395B (en) Multi-plug-in layered deployment system, device and medium
CN106709985A (en) Generation method and device for virtual three-dimensional sacrifice scene
US20050138039A1 (en) Method and system for tailoring metamodel requirements capture processing to varying users
CN111090591B (en) Test method and device, electronic equipment and computer readable storage medium
Mertins et al. Neutral template libraries for efficient distributed simulation within a manufacturing system engineering platform
CN113190582B (en) Data real-time interactive mining flow modeling analysis system
Pichidtienthum et al. Developing Module Generation for Odoo Using Concept of Low-Code Development Platform and Automation Systems
Kpodjedo et al. Not all classes are created equal: toward a recommendation system for focusing testing
Wang et al. An aspect-oriented UML tool for software development with early aspects
CN111124936B (en) Building block type software testing method, testing device, testing equipment and storage medium
US20080319780A1 (en) Defining reports for dimension based enterprise resource planning systems
Ovchinnikova et al. Overview of Software Tools for Obtaining UML Class Diagrams and Sequence Diagrams from Source Code within TFM4MDA.
CN108733708A (en) Method, apparatus and computer storage media for information management
CN115221338B (en) Knowledge graph construction method and system and computer equipment
CN116185793A (en) Point embedding method, point embedding device, computer readable storage medium and electronic equipment

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