CN115437955A - Project testing method, device, equipment and storage medium - Google Patents

Project testing method, device, equipment and storage medium Download PDF

Info

Publication number
CN115437955A
CN115437955A CN202211262507.5A CN202211262507A CN115437955A CN 115437955 A CN115437955 A CN 115437955A CN 202211262507 A CN202211262507 A CN 202211262507A CN 115437955 A CN115437955 A CN 115437955A
Authority
CN
China
Prior art keywords
test
project
asset
assets
target
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
CN202211262507.5A
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 CN202211262507.5A priority Critical patent/CN115437955A/en
Publication of CN115437955A publication Critical patent/CN115437955A/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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a project testing method, a project testing device, project testing equipment and a storage medium. The method comprises the following steps: acquiring a target test asset corresponding to a project to be tested of a target system; the target test asset is determined based on historical test assets of the same system; writing the target test asset into a case generation module to generate a test case; and performing project testing on the project to be tested based on the test case to obtain a project testing result, solving the problem that the testing assets cannot be reused, determining the testing assets required by the project to be tested on the basis of the historical testing assets, and improving the reuse rate of the testing assets.

Description

Project testing method, device, equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for project testing.
Background
Projects developed based on various requirements need to be used or brought online through a complicated test process. In the actual process of project development, the project development generally depends on the existing project for secondary development.
However, in the testing stage, a test case is generally re-formulated for a developed project to be tested, which results in that the test assets created by each project cannot be reused, the test experience accumulated for a long time cannot be passed, and the test assets cannot be reused.
Disclosure of Invention
The invention provides a project testing method, a project testing device, project testing equipment and a storage medium, which are used for solving the problem that testing assets cannot be reused and improving the reuse rate of the testing assets.
According to an aspect of the present invention, there is provided a project testing method, including:
acquiring a target test asset corresponding to a to-be-tested project of a target system; the target test asset is determined based on historical test assets of the target system;
writing the target test assets into a case generation module to generate test cases;
and carrying out project testing on the project to be tested based on the testing case to obtain a project testing result.
Further, the acquiring a target test asset corresponding to a to-be-tested project of a target system includes:
acquiring historical test assets of a target system;
carrying out standardization processing on the historical test assets to obtain historical standard test assets;
and determining a target test asset according to the project information of the project to be tested and the historical standard test asset.
Further, the testing assets include:
the test type list is used for describing the item test type of the item;
the test key point list is used for describing test key points corresponding to the test contents of the project;
the non-functional requirement list is used for describing non-functional requirement information corresponding to the project test;
wherein the test asset comprises: the historical test asset and the target test asset.
Further, the writing the target test asset into a case generating module, and the generating a test case includes:
writing the target test asset into the case generation module;
acquiring a test case generation template corresponding to the item test type described by the test type list in the target test asset through the case generation module;
generating a test case according to the test key points described by the test key point list through the case generation module, and determining non-project requirement information according to the non-functional requirement information;
and forming a test case by the test case and the non-project requirement information through the case generation module.
Further, the method also comprises the following steps:
updating the historical test asset based on the target test asset.
According to another aspect of the present invention, there is provided a project testing apparatus comprising:
the asset acquisition module is used for acquiring target test assets corresponding to the items to be tested of the target system; the target test asset is determined based on historical test assets of the same system;
the case generation module is used for writing the target test assets into the case generation module to generate test cases;
and the project testing module is used for carrying out project testing on the project to be tested based on the testing case to obtain a project testing result.
Further, the asset acquisition module comprises:
the data acquisition unit is used for acquiring historical test assets of the target system;
the data processing unit is used for carrying out standardization processing on the historical test assets to obtain historical standard test assets;
and the data determining unit is used for determining a target test asset according to the project information of the project to be tested and the historical standard test asset.
Further, the test asset includes:
the test type list is used for describing the item test type of the item;
the test key point list is used for describing test key points corresponding to the test contents of the project;
the non-functional requirement list is used for describing non-functional requirement information corresponding to the project test;
wherein the test asset comprises: the historical test asset and the target test asset.
Further, the method also comprises the following steps:
an asset update module to update the historical test assets based on the target test assets.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform a project testing method according to any embodiment of the invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement a project testing method according to any one of the embodiments of the present invention when executed.
According to the technical scheme of the embodiment of the invention, the target test assets corresponding to the items to be tested of the target system are obtained; the target test asset is determined based on historical test assets of the same system; writing the target test assets into a case generation module to generate test cases; and performing project testing on the project to be tested based on the test case to obtain a project testing result, solving the problem that the testing assets cannot be reused, determining the testing assets required by the project to be tested on the basis of the historical testing assets, and improving the reuse rate of the testing assets.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart of a project testing method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a project testing method according to a second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a project testing apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device implementing the project testing method according to the embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "history," "target," and the like in the description and claims of the present invention and the above-described drawings are used for distinguishing similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of an embodiment of a project testing method, which is applicable to a situation where a project to be tested is tested, and the method may be executed by a project testing apparatus, which may be implemented in a form of hardware and/or software, and the project testing apparatus may be configured in an electronic device.
During the testing of the project, not every project will have to make full changes to the system, and the transactions involved will only be a subset of the assets. If the related transaction, concern and test case are manually searched from the full-amount asset library step by step, the workload burden is increased, repeated idle work is performed for many times, and the working efficiency is reduced. But also pollutes the built system assets, and the workload of cleaning and maintenance is much like reconstruction, which can greatly reduce the advantages of the standard system level assets. Therefore, how to reuse assets is a matter that must be considered for implementation of the methodology floor. The invention provides a project testing method capable of repeatedly using historical testing assets.
As shown in fig. 1, the method includes:
s110, acquiring a target test asset corresponding to a to-be-tested project of a target system; the target test asset is determined based on historical test assets of the target system.
The target system is a business system to be optimized, and each optimization task of the target system can be called a project. The embodiment of the present invention does not limit the type of the target system, and may be a system in various fields such as a transaction service system. The items to be tested refer to the items waiting for testing.
The test assets are assets formed by related information capable of describing test contents of project tests, and for example, the assets can include information such as test requirement information, test cases, test point information, and test content points. Historical test assets are test assets accumulated by iterative optimization testing of a target system over historical time, and target test assets are test assets used by a project to be tested. The target test assets are determined based on the historical test assets of the target system, so that the target test assets used by the project to be tested can inherit the characteristics of the historical test assets, and the historical test assets can be reused.
Specifically, the historical test assets are adaptively modified according to the project information of the project to be tested of the target system to obtain target test assets suitable for testing the project to be tested, and the target test assets are obtained to be used for generating test cases required for testing the project to be tested.
For example, the stored historical test assets may be the most recently optimized test assets with the best test effect summarized by the test personnel through the items corresponding to the iterative test target system, and for the convenience of reuse, the historical test assets may be stored in a normalized format.
And S120, writing the target test assets into a case generation module to generate test cases.
The case generation module may be considered as a module for generating a test case required for testing the item to be tested, and the case generation module may include a test case generation algorithm and the like for generating a test case required for testing the item to be tested. Test cases refer to cases for testing items, and may include, for example: information that is outside of the test case and project requirements but needs to be tested.
Specifically, the obtained target test assets are written into a case generation module, and a test case is generated through the case generation module according to the target test assets and is used for testing the items to be tested.
And S130, carrying out project test on the project to be tested based on the test case to obtain a project test result.
The item test result may be a result obtained after testing the item to be tested, and may be in the form of a test result log, a test report, and the like.
Specifically, the test items are tested by using the test cases generated by the case generation module, so that test results corresponding to each test content in the test cases are obtained, and the test results of the items are obtained by summarizing.
According to the embodiment of the invention, the test case test to-be-tested item suitable for the current to-be-tested item is generated on the basis of the historical test assets, so that the historical test assets can be reused, and the utilization efficiency of the system assets is improved; meanwhile, the test case is obtained by optimizing on the basis of inheriting the advantages of the historical test, the difficulty in formulating the test case is further reduced, and the test efficiency is improved.
According to the technical scheme of the embodiment of the invention, target test assets corresponding to the to-be-tested items of the target system are obtained; the target test asset is determined based on historical test assets of the target system; writing the target test assets into a case generation module to generate test cases; and performing project testing on the project to be tested based on the test case to obtain a project testing result, solving the problem that the testing assets cannot be reused, determining the testing assets required by the project to be tested on the basis of the historical testing assets, and improving the reuse rate of the testing assets.
Example two
Fig. 2 is a flowchart of a project testing method provided in the second embodiment of the present invention, and this embodiment further details the step S110 in the above embodiment, where the obtaining a target test asset corresponding to a project to be tested of a target system includes: acquiring historical test assets of a target system; carrying out standardization processing on the historical test assets to obtain historical standardized test assets; and determining a target test asset according to the project information of the project to be tested and the historical standard test asset.
As shown in fig. 2, the method includes:
and S210, acquiring historical test assets of the target system.
In this embodiment, the historical test assets include: (1) And the test type list is used for describing the item test type of the item. The item test type may be, for example, a transaction type corresponding to a transaction item, a function type corresponding to test content, and the like.
(2) And the test key point list is used for describing test key points corresponding to the test contents of the project. The test points may include information such as test nodes and test functions that need attention in the test process.
(3) And the non-functional requirement list is used for describing non-functional requirement information corresponding to the project test.
Specifically, the test type list, the test point list, and the non-functional requirement list may all be stored in an Excel manner, for example, the test type list, the test point list, and the non-functional requirement list may be written in different sheets of an Excel, and the Excel is named by a code number or a name of a test item.
S220, carrying out standardization processing on the historical test assets to obtain historical standardized test assets.
Wherein, the historical standardized test assets can be understood as the standardized historical test assets obtained after being processed. It will be appreciated that the historic specification test assets likewise include: the system comprises a test type list, a test main point list and a non-functional requirement list.
Specifically, in order to facilitate the reuse of the historical test assets, the historical test assets need to be normalized to obtain the historical normalized test assets.
For example, the historical test asset may be normalized by unifying fields in each list of the historical test asset into the same format or field length based on the unified field standard. The embodiment of the present invention does not limit the normalization method.
And S230, determining a target test asset according to the project information of the project to be tested and the historical standard test asset.
Specifically, a test asset with the same project test type as the project to be tested is selected from the standardized historical standardized test assets as a target test asset for testing the project to be tested.
It will be appreciated that the identified target test assets likewise include: the system comprises a test type list, a test main point list and a non-functional requirement list.
S240, writing the target test assets into the case generation module; and acquiring a test case generation template corresponding to the item test type described by the test type list in the target test asset through the case generation module.
The test case generation template can be used for describing a test case generation algorithm and a non-project requirement information determination method corresponding to various project test types.
Specifically, target test assets determined based on historical test assets are input into a case generation module, a locally stored test case generation template is inquired through the case generation module, and a test case generation template corresponding to an item test type described by a test type list is obtained.
And S250, generating a test case according to the test key points described by the test key point list and the test case generation template through the case generation module, and determining non-project requirement information according to the non-functional requirement information.
Specifically, after the case generation module determines the test case generation template corresponding to the project test type, the test requirement points described by the acquired test requirement list are input into the test case generation template to generate the test case. The embodiment of the invention does not limit the generation method of the test case, and can be any existing test case generation method.
In addition, non-project requirement information corresponding to the project to be tested is determined according to the non-functional requirement information described by the non-functional requirement list in the historical test assets.
And S260, forming a test case by the test case and the non-project requirement information through the case generation module.
Specifically, the case generation module combines the generated test cases and the non-project requirement information to form the test cases.
And S270, carrying out project testing on the to-be-tested project based on the testing case to obtain a project testing result.
According to the technical scheme of the embodiment of the invention, historical test assets of a target system are obtained; carrying out standardization processing on the historical test assets to obtain historical standardized test assets; determining a target test asset according to the project information of the project to be tested and the historical standard test asset; writing the target test asset into the case generation module; acquiring a test case generation template corresponding to the item test type described by the test type list in the target test asset through the case generation module; generating a test case according to the test key points described by the test key point list and the test case generation template through the case generation module, and determining non-project requirement information according to the non-functional requirement information; the test cases and the non-project requirement information form test cases through the case generating module, project testing is conducted on the to-be-tested projects based on the test cases to obtain project testing results, the problem that testing assets cannot be reused is solved, the test cases used for testing the to-be-tested projects are determined on the basis of historical testing assets, attention points and testing experiences of the historical testing assets can be inherited, and project testing efficiency and testing quality are improved.
Optionally, the method further includes:
updating the historical test assets based on the target test assets.
Specifically, in a test summary stage after the test of the item to be tested is completed, the historical test assets can be updated by using the target test assets used by the item to be tested, so that the historical test assets are updated to the latest test assets synchronously, the test assets are optimized and maintained, and the test assets can be reused subsequently. Illustratively, the manner in which the historical test assets are updated may be in addition to, or in place of, the like.
In the embodiment of the invention, the historical test assets can be accurately maintained once after passing through one project, so that the positive feedback of the test assets is realized, the aims of improving the concentration and enriching on the test assets are fulfilled, and the complete and comprehensive reusable test assets are built.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a project testing apparatus according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes: an asset acquisition module 310, a case generation module 320, and a project testing module 330;
the asset acquisition module 310 is configured to acquire a target test asset corresponding to a to-be-tested project of a target system; the target test asset is determined based on historical test assets of the target system;
a case generation module 320, configured to write the target test asset into the case generation module, and generate a test case;
and the project testing module 330 is configured to perform a project test on the project to be tested based on the test case to obtain a project test result.
The project testing device provided by the embodiment of the invention obtains the target testing assets corresponding to the to-be-tested projects of the target system; the target test asset is determined based on historical test assets of the same system; writing the target test assets into a case generation module to generate test cases; and performing project testing on the project to be tested based on the test case to obtain a project testing result, solving the problem that the testing assets cannot be reused, determining the testing assets required by the project to be tested on the basis of the historical testing assets, and improving the reuse rate of the testing assets.
Optionally, the asset acquisition module includes:
the data acquisition unit is used for acquiring historical test assets of the target system;
the data processing unit is used for carrying out standardization processing on the historical test assets to obtain historical standardized test assets;
and the data determining unit is used for determining a target test asset according to the project information of the project to be tested and the historical standard test asset.
Optionally, the test assets include:
the test type list is used for describing the item test type of the item;
the test key point list is used for describing test key points corresponding to the test contents of the project;
the non-functional requirement list is used for describing non-functional requirement information corresponding to the project test;
wherein the test asset comprises: the historical test asset and the target test asset.
Optionally, the method further includes:
an asset update module to update the historical test assets based on the target test assets.
The project testing device provided by the embodiment of the invention can execute the project testing method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
FIG. 4 shows a schematic block diagram of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. Processor 11 performs the various methods and processes described above, such as project testing methods.
In some embodiments, the project testing method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the project testing method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the project testing method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired result of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of project testing, comprising:
acquiring a target test asset corresponding to a to-be-tested project of a target system; the target test asset is determined based on historical test assets of the target system;
writing the target test asset into a case generation module to generate a test case;
and carrying out project testing on the project to be tested based on the testing case to obtain a project testing result.
2. The method of claim 1, wherein the obtaining a target test asset corresponding to a project to be tested of a target system comprises:
acquiring historical test assets of a target system;
carrying out standardization processing on the historical test assets to obtain historical standard test assets;
and determining a target test asset according to the project information of the project to be tested and the historical standard test asset.
3. The method of claim 2, wherein testing the asset comprises:
the test type list is used for describing the item test type of the item;
the test key point list is used for describing test key points corresponding to the test contents of the project;
the non-functional requirement list is used for describing non-functional requirement information corresponding to the project test;
wherein the test asset comprises: the historical test asset and the target test asset.
4. The method of claim 3, wherein writing the target test asset to a case generation module, generating a test case comprising:
writing the target test asset into the case generation module;
acquiring a test case generation template corresponding to the item test type described by the test type list in the target test asset through the case generation module;
generating a test case according to the test key points described by the test key point list and the test case generation template through the case generation module, and determining non-project requirement information according to the non-functional requirement information;
and forming a test case by the test case and the non-project requirement information through the case generation module.
5. The method of claim 1, further comprising:
updating the historical test asset based on the target test asset.
6. An item testing apparatus, comprising:
the asset acquisition module is used for acquiring a target test asset corresponding to a to-be-tested project of a target system; the target test asset is determined based on historical test assets of the same system;
the case generation module is used for writing the target test assets into the case generation module to generate test cases;
and the project testing module is used for carrying out project testing on the project to be tested based on the testing case to obtain a project testing result.
7. The apparatus of claim 6, wherein the asset acquisition module comprises:
the data acquisition unit is used for acquiring historical test assets of the target system;
the data processing unit is used for carrying out standardization processing on the historical test assets to obtain historical standardized test assets;
and the data determining unit is used for determining a target test asset according to the project information of the project to be tested and the historical standard test asset.
8. The apparatus of claim 6, wherein testing the asset comprises:
the test type list is used for describing the item test type of the item;
the test key point list is used for describing test key points corresponding to the test contents of the project;
the non-functional requirement list is used for describing non-functional requirement information corresponding to the project test;
wherein the test asset comprises: the historical test asset and the target test asset.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the project testing method of any of claims 1-5.
10. A computer-readable storage medium having stored thereon computer instructions for causing a processor to, when executed, implement the project testing method of any of claims 1-5.
CN202211262507.5A 2022-10-14 2022-10-14 Project testing method, device, equipment and storage medium Pending CN115437955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211262507.5A CN115437955A (en) 2022-10-14 2022-10-14 Project testing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211262507.5A CN115437955A (en) 2022-10-14 2022-10-14 Project testing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115437955A true CN115437955A (en) 2022-12-06

Family

ID=84251525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211262507.5A Pending CN115437955A (en) 2022-10-14 2022-10-14 Project testing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115437955A (en)

Similar Documents

Publication Publication Date Title
CN111061833B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN115576828A (en) Test case generation method, device, equipment and storage medium
CN116414814A (en) Data checking method, device, equipment, storage medium and program product
CN114693116A (en) Method and device for detecting code review validity and electronic equipment
CN115437955A (en) Project testing method, device, equipment and storage medium
CN114490408A (en) Test case generation method, device, equipment, storage medium and product
CN114116688A (en) Data processing and data quality inspection method, device and readable storage medium
CN114218313A (en) Data management method, device, electronic equipment, storage medium and product
CN114443493A (en) Test case generation method and device, electronic equipment and storage medium
CN113052325A (en) Method, device, equipment, storage medium and program product for optimizing online model
CN115374010A (en) Function testing method, device, equipment and storage medium
CN114816758B (en) Resource allocation method and device
CN114706578A (en) Data processing method, device, equipment and medium
CN115511470A (en) Evaluation index data generation method, evaluation index data generation device, electronic device, and storage medium
CN115934550A (en) Test method, test device, electronic equipment and storage medium
CN116737121A (en) Software development management method, device, system, equipment and storage medium
CN117453747A (en) Data quality detection method and device, electronic equipment and storage medium
CN115238212A (en) Page designated element detection and replacement method, device, equipment and storage medium
CN115455060A (en) Data processing method, device, equipment and medium
CN117609054A (en) Automatic test method, device, equipment and storage medium
CN116991825A (en) Database flashback method, device, equipment and storage medium
CN117667894A (en) Data migration method, device, electronic equipment and storage medium
CN114443035A (en) Code generation method for application program, code generator, electronic device, and medium
CN115794623A (en) Batch task processing method and device, electronic equipment and storage medium
CN117632741A (en) Determination method and device of regression test case library, electronic 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