CN113392002A - Test system construction method, device, equipment and storage medium - Google Patents

Test system construction method, device, equipment and storage medium Download PDF

Info

Publication number
CN113392002A
CN113392002A CN202110661421.9A CN202110661421A CN113392002A CN 113392002 A CN113392002 A CN 113392002A CN 202110661421 A CN202110661421 A CN 202110661421A CN 113392002 A CN113392002 A CN 113392002A
Authority
CN
China
Prior art keywords
target
scene
test system
component
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110661421.9A
Other languages
Chinese (zh)
Other versions
CN113392002B (en
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.)
Beijing Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority to CN202110661421.9A priority Critical patent/CN113392002B/en
Publication of CN113392002A publication Critical patent/CN113392002A/en
Application granted granted Critical
Publication of CN113392002B publication Critical patent/CN113392002B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/3664Environments for testing or debugging software
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for constructing a test system, wherein the method comprises the following steps: responding to a detected test system construction instruction, and acquiring a target test scene associated with the test system construction instruction; acquiring a target scene component associated with a target test system in the target test scene from a pre-constructed component library; and constructing the target test system based on the target scene component. According to the method provided by the embodiment of the invention, the release and maintenance of the scene component are carried out by pre-constructing the component library, and the construction of the test system can be completed by directly selecting the target scene component from the component library when the test system is constructed, so that the construction process of the test system is simplified, and the construction efficiency of the test system is improved.

Description

Test system construction method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a test system construction method, a test system construction device, test system construction equipment and a storage medium.
Background
Regression testing refers to re-testing after old code has been modified to confirm that the modification did not introduce new errors or cause errors in other code. The regression testing can greatly reduce the cost of the system testing, maintenance upgrading and other stages. Regression testing, as a component of the software lifecycle, accounts for a significant proportion of the work involved in the entire software testing process.
In the process of implementing the invention, the inventor finds that at least the following technical problems exist in the prior art: with the change of business requirements, research and development are rapidly developed and delivered in a componentized mode. In the above background, the tester can only perform a single test or regression test verification based on a certain scene. The script is difficult to maintain and low in reusability; the joint debugging cost is high; the total regression is difficult; when multiple tasks are parallel, the testing efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a test system construction method, a test system construction device, test equipment and a storage medium, so that a test system can be quickly constructed, and the test efficiency is further improved.
In a first aspect, an embodiment of the present invention provides a test system construction method, including:
responding to a detected test system construction instruction, and acquiring a target test scene associated with the test system construction instruction;
acquiring a target scene component associated with a target test system in the target test scene from a pre-constructed component library;
and constructing the target test system based on the target scene component.
Optionally, on the basis of the above scheme, the obtaining of the target scene component associated with the target test system in the target test scene from the pre-constructed component library includes:
and determining a target test function point of the target test system, and taking a scene component associated with the target test function point in a pre-constructed component library as the target scene component.
Optionally, on the basis of the above scheme, the obtaining of the associated scenario component of the target test scenario includes:
acquiring a related function point identifier of the target test scene, and displaying the related function point identifier;
and receiving a function point confirmation instruction, and taking the test function point carried by the function point confirmation instruction as the target test function point.
Optionally, on the basis of the above scheme, the constructing the target testing system based on the target scenario component includes:
and constructing the target test system based on the component interface of the target scene component and a preset interface calling relationship.
Optionally, on the basis of the above scheme, the method further includes:
receiving a scene component release request, and acquiring a scene component to be released and a test scene identification corresponding to the scene component release request;
and correspondingly storing the scene component to be issued and the test scene identification into a component library.
Optionally, on the basis of the above scheme, the to-be-released scene component is composed of flow elements, and the flow elements include condition nodes and flow nodes.
Optionally, on the basis of the above scheme, the target test scenario includes at least one of a shopping cart scenario, an order scenario, a warehouse production scenario, a distribution scenario, and an after-sales scenario.
In a second aspect, an embodiment of the present invention further provides a test system constructing apparatus, including:
the test scene determining module is used for responding to the detected test system construction instruction and acquiring a target test scene related to the test system construction instruction;
the scene component determining module is used for acquiring a target scene component related to a target test system in the target test scene from a pre-constructed component library;
and the test system construction module is used for constructing the target test system based on the target scene component.
In a third aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the test system construction method provided by any of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the test system construction method provided in any embodiment of the present invention.
The method comprises the steps of responding to a detected test system construction instruction, and obtaining a target test scene associated with the test system construction instruction; acquiring a target scene component associated with a target test system in the target test scene from a pre-constructed component library; the target test system is built based on the target scene component, the scene component is published and maintained through the pre-built component library, and when the test system is built, the target scene component is directly selected from the component library to complete the construction of the test system, so that the building process of the test system is simplified, and the building efficiency of the test system is improved.
Drawings
FIG. 1 is a flowchart of a test system construction method according to an embodiment of the present invention;
fig. 2a is a schematic structural diagram of a scene component according to a second embodiment of the present invention;
FIG. 2b is a schematic diagram illustrating an assembly structure of an after-sales scenario according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a test system constructing apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a test system construction method according to an embodiment of the present invention. The present embodiment is applicable to a case where a test system is constructed, and particularly, to a case where a test system is constructed in a regression test or a connectivity test of a function. The method may be performed by a test system construction apparatus, which may be implemented in software and/or hardware, for example, which may be configured in a computer device. As shown in fig. 1, the method includes:
s110, responding to the detected test system construction instruction, and acquiring a target test scene associated with the test system construction instruction.
The test system construction method provided by the embodiment is suitable for software developed in a componentization mode, namely, the test method based on the componentization mode is provided. Generally, a complete software system is composed of a plurality of scenes, taking an e-commerce system as an example, the e-commerce system may specifically include a shopping cart scene, an order scene, a warehouse production scene, a distribution scene and an after-sale scene, and each scene corresponds to different services and is associated to form a complete e-commerce system. The shopping cart scene can process the businesses of shopping cart adding, shopping cart settlement, shopping cart changing and the like; the order scene can process the business of order management, order inquiry and the like; the warehouse production scene can process the services of inventory inquiry, picking, order delivery and the like; the distribution scene can process the distribution flow, the distribution state and other services; the after-market scenario may handle after-market traffic, etc. The componentization development can be understood as that each scene is independently developed as a component, and the components are connected into a complete system after the development is finished. Correspondingly, in order to adapt to software developed in a componentization manner, in the embodiment, when the test system is constructed, the system is also divided into a plurality of scenes, and components in each scene are combined to construct the test system.
In this embodiment, the test system building instruction may be initiated by a tester to instruct a test system building instruction. Optionally, after the tester selects the relevant parameters of the test system construction through the test system construction interface, the tester clicks the construction control to trigger the test system construction instruction. And after the test system construction device detects a test system construction instruction triggered by a tester, analyzing the test system construction instruction to obtain the test system construction related parameters. The parameters related to the test system construction can be directly input by a tester, can also be selected by the tester in an interface, and specifically can be parameters such as a test scene.
Taking the relevant parameters of the test system construction as an example of a test scene, a tester selects a target test scene through a test system construction interface, and clicks a construction control to trigger a test system construction instruction. And after the test system construction device detects the test system construction instruction, analyzing the test system construction instruction to obtain a target test scene.
Optionally, the target test scenario includes at least one of a shopping cart scenario, an order scenario, a warehouse production scenario, a delivery scenario, and an after-sales scenario.
It will be appreciated that the different test scenarios are not completely independent of each other. Taking the after-sales scenario as an example, the execution logic after the sales can be determined only by acquiring the order status, such as the delivery status, corresponding to the after-sales request, and therefore, the test of the after-sales scenario depends on the delivery scenario upstream thereof. Therefore, when the test system is built, the target test scenario may be multiple.
And S120, acquiring a target scene component related to the target test system in the target test scene from a pre-constructed component library.
In this embodiment, the component library stores complete test case scripts of each function point in each test scenario. Generally, the development of the test case script is usually performed by different test developers, for example, a test developer a is responsible for the development of the test case script in an after-sales scenario, and a test developer B is responsible for the development of the test case script in a distribution scenario. In order to facilitate the construction of the test system during the regression test or the construction of the test system during the functional connectivity test, the communication cost of personnel is reduced, and each test developer can upload the test case script to the component library after ensuring the availability of the test case script, so that the subsequent testers can directly acquire the complete test case script from the component library to be used as a target scene component for combination, and the working complexity of the subsequent testers is reduced.
In an embodiment of the present invention, the obtaining, from a pre-built component library, a target scenario component associated with a target test system in the target test scenario includes: and determining a target test function point of the target test system, and taking a scene component associated with the target test function point in a pre-constructed component library as the target scene component.
It can be understood that a test scenario includes a plurality of function points, for example, a shopping cart scenario may include function points such as cart adding, cart settlement, and cart changing, and when performing a regression test or a functional connectivity test, one or more of the function points may be selected according to a test requirement to perform a combined test. Therefore, in order to reduce unnecessary function point tests, the target test function points need to be determined after the target test scene is determined, and the scene components corresponding to the target test function points are used as the target scene components. The target test function point can be obtained in a test system construction instruction, but all test scenes and function points under all test scenes need to be displayed in a test system construction interface for a tester to select; or the target test scene can be determined by interaction with a tester.
In one embodiment, the determining the target test function point of the target test system includes: acquiring a related function point identifier of the target test scene, and displaying the related function point identifier; and receiving a function point confirmation instruction, and taking the test function point carried by the function point confirmation instruction as the target test function point. Optionally, the target test function point is determined by interaction with a tester. After the target test scene is determined, only the associated function point identification under the target test scene is displayed for the tester to select, so that the display complexity of the function points is simplified. Illustratively, after a target test scene is determined, the relevant function point identification under the target test scene is displayed to a tester, the tester selects a required function point and then triggers a function point confirmation instruction, the test system construction device takes the function point carried in the function point confirmation instruction as a target test function point, and obtains a scene component corresponding to the target test function point from a component library as a target scene component.
Taking the target test scene as a shopping cart scene as an example, the shopping cart adding function point, the shopping cart settlement function point and the shopping cart changing function point can be displayed to the tester, the tester triggers the function point confirmation instruction after selecting the shopping cart adding function point, and the test system constructing device takes the test case (namely, the scene component) corresponding to the shopping cart adding function point as the target scene component.
On the basis of the scheme, the method further comprises the following steps: receiving a scene component release request, and acquiring a scene component to be released and a test scene identification corresponding to the scene component release request; and correspondingly storing the scene component to be issued and the test scene identification into a component library. It can be understood that the premise of adopting the test system construction method provided by the embodiment is that the scene components under each test scenario need to be stored in the component library. Optionally, after different test developers perform development tests on test case scripts in different test scenes, the complete test cases and the function points and the test scenes corresponding to the test cases are uploaded to the component library to initiate a scene component release request, and after the test system construction device detects the scene component release request, the test cases, the function points and the test scenes are correspondingly stored in the component library according to information carried in the scene component release request.
The scene component to be issued is composed of flow elements, and the flow elements comprise condition nodes and flow nodes. The flow element is the minimum unit of the component, including the condition node and the flow node. The condition nodes comprise condition information such as interface test entry parameters and the like, and the process nodes comprise single test interfaces forming a scene. Multiple flow elements may constitute a scenario component.
S130, constructing the target test system based on the target scene component.
In this embodiment, after the target scene components are determined, the target scene components are combined to obtain the target test system.
Optionally, the constructing the target testing system based on the target scenario component includes: and constructing the target test system based on the component interface of the target scene component and a preset interface calling relationship. When the test case is issued to the component library, the interface of the test case is adjusted according to the calling relation, so that the target scene components can be directly combined.
The method comprises the steps of responding to a detected test system construction instruction, and obtaining a target test scene associated with the test system construction instruction; acquiring a target scene component associated with a target test system in the target test scene from a pre-constructed component library; the target test system is built based on the target scene component, the scene component is published and maintained through the pre-built component library, and when the test system is built, the target scene component is directly selected from the component library to complete the construction of the test system, so that the building process of the test system is simplified, and the building efficiency of the test system is improved.
Example two
The present embodiment provides a preferred embodiment based on the above-described scheme. The embodiment of the invention provides a new testing method for adapting to development of a research and development modularization mode, namely a testing method based on modularization, which realizes visual and modularization scene testing.
Taking the online shopping platform as an example, the online shopping platform comprises a shopping cart, an order system, a warehouse production system, a distribution system and an after-sale system as a complex flow scene. Each system is treated as a component (i.e., test scenario) and then the component is split. Each split component comprises a plurality of scenes (namely function points), and testers maintain and release test case scripts and interfaces in different scenes. Other testers can acquire the associated scene components from the published component library, drag and combine the scene components to form a scene required by the testers for testing.
Fig. 2a is a schematic structural diagram of a scene component according to a second embodiment of the present invention. As shown in fig. 2a, a flow element is the smallest unit of a component, including a condition node, a flow node. The condition nodes comprise condition information such as interface test entry parameters and the like, and the process nodes comprise single test interfaces forming a scene. Multiple flow elements may constitute a scenario component. And (3) scene component: is composed of a plurality of flow elements. Multiple components may together form a complete scene combination.
Fig. 2b is a schematic component diagram of an after-sales scenario according to a second embodiment of the present invention. The structure of the components in the after-market scenario is schematically shown in fig. 2 b. As shown in fig. 2b, the after-sales components include a start node of "customer applies for after-sales", a flow node of "apply for refund", "customer service audit", "refund", and "close service order", and a condition node of "pass" and "reject".
The test system construction method provided by the embodiment of the invention can reduce the maintenance cost of the test script and improve the reusability of the test script; a unified and standard test scene library is formed, and joint debugging test efficiency is improved; the problems of testers in full regression testing and multi-task parallel testing are solved efficiently, and the testing efficiency is improved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a test system constructing apparatus according to a third embodiment of the present invention. The test system construction apparatus may be implemented in software and/or hardware, for example, the test system construction apparatus may be configured in a computer device. As shown in fig. 3, the apparatus includes a test scenario determination module 310, a scenario component determination module 320, and a test system construction module 330, wherein:
the test scenario determining module 310 is configured to, in response to a detected test system building instruction, obtain a target test scenario associated with the test system building instruction;
a scene component determining module 320, configured to obtain, from a pre-constructed component library, a target scene component associated with a target test system in the target test scene;
a test system constructing module 330, configured to construct the target test system based on the target scenario component.
According to the embodiment of the invention, a test scene determining module responds to a detected test system construction instruction to obtain a target test scene associated with the test system construction instruction; a scene component determining module acquires a target scene component associated with a target test system in the target test scene from a pre-constructed component library; the test system construction module constructs the target test system based on the target scene component, the scene component is published and maintained through a pre-constructed component library, and when the test system is constructed, the target scene component is directly selected from the component library to complete the construction of the test system, so that the construction process of the test system is simplified, and the construction efficiency of the test system is improved.
Optionally, on the basis of the foregoing scheme, the scenario component determining module 320 is specifically configured to:
and determining a target test function point of the target test system, and taking a scene component associated with the target test function point in a pre-constructed component library as the target scene component.
Optionally, on the basis of the foregoing scheme, the scenario component determining module 320 is specifically configured to:
acquiring a related function point identifier of the target test scene, and displaying the related function point identifier;
and receiving a function point confirmation instruction, and taking the test function point carried by the function point confirmation instruction as the target test function point.
Optionally, on the basis of the above scheme, the test system constructing module 330 is specifically configured to:
and constructing the target test system based on the component interface of the target scene component and a preset interface calling relationship.
Optionally, on the basis of the foregoing scheme, the apparatus further includes a scenario component publishing module, configured to:
receiving a scene component release request, and acquiring a scene component to be released and a test scene identification corresponding to the scene component release request;
and correspondingly storing the scene component to be issued and the test scene identification into a component library.
Optionally, on the basis of the above scheme, the to-be-released scene component is composed of flow elements, and the flow elements include condition nodes and flow nodes.
Optionally, on the basis of the above scheme, the target test scenario includes at least one of a shopping cart scenario, an order scenario, a warehouse production scenario, a distribution scenario, and an after-sales scenario.
The test system construction device provided by the embodiment of the invention can execute the test system construction method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary computer device 412 suitable for use in implementing embodiments of the present invention. The computer device 412 shown in FIG. 4 is only one example and should not impose any limitations on the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 4, computer device 412 is in the form of a general purpose computing device. Components of computer device 412 may include, but are not limited to: one or more processors 414, a system memory 428, and a bus 418 that couples the various system components (including the system memory 428 and the processors 414).
Bus 418 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and processor 414 or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 412 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 412 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 428 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)430 and/or cache memory 432. The computer device 412 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage 434 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 418 by one or more data media interfaces. Memory 428 can include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 440 having a set (at least one) of program modules 442 may be stored, for instance, in memory 428, such program modules 442 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 442 generally perform the functions and/or methodologies of the described embodiments of the invention.
The computer device 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing device, display 424, etc.), with one or more devices that enable a user to interact with the computer device 412, and/or with any devices (e.g., network card, modem, etc.) that enable the computer device 412 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 422. Also, computer device 412 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) through network adapter 420. As shown, network adapter 420 communicates with the other modules of computer device 412 over bus 418. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computer device 412, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 414 executes various functional applications and data processing by executing programs stored in the system memory 428, for example, to implement the test system construction method provided by the embodiment of the present invention, the method includes:
responding to a detected test system construction instruction, and acquiring a target test scene associated with the test system construction instruction;
acquiring a target scene component associated with a target test system in the target test scene from a pre-constructed component library;
and constructing the target test system program based on the target scene component.
Of course, those skilled in the art can understand that the processor can also implement the technical solution of the test system construction method provided by any embodiment of the present invention.
EXAMPLE five
The fifth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the test system construction method provided in the fifth embodiment of the present invention, and the method includes:
responding to a detected test system construction instruction, and acquiring a target test scene associated with the test system construction instruction;
acquiring a target scene component associated with a target test system in the target test scene from a pre-constructed component library;
and constructing the target test system based on the target scene component.
Of course, the computer program stored on the computer-readable storage medium provided by the embodiments of the present invention is not limited to the above method operations, and may also perform operations related to the test system construction method provided by any embodiments of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having 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 portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments illustrated herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A test system construction method is characterized by comprising the following steps:
responding to a detected test system construction instruction, and acquiring a target test scene associated with the test system construction instruction;
acquiring a target scene component associated with a target test system in the target test scene from a pre-constructed component library;
and constructing the target test system based on the target scene component.
2. The method of claim 1, wherein obtaining the target scenario component associated with the target test system in the target test scenario from a pre-built component library comprises:
and determining a target test function point of the target test system, and taking a scene component associated with the target test function point in a pre-constructed component library as the target scene component.
3. The method of claim 2, wherein determining the target test function point of the target test system comprises:
acquiring a related function point identifier of the target test scene, and displaying the related function point identifier;
and receiving a function point confirmation instruction, and taking the test function point carried by the function point confirmation instruction as the target test function point.
4. The method of claim 1, wherein the building the target test system based on the target scenario component comprises:
and constructing the target test system based on the component interface of the target scene component and a preset interface calling relationship.
5. The method of claim 1, further comprising:
receiving a scene component release request, and acquiring a scene component to be released and a test scene identification corresponding to the scene component release request;
and correspondingly storing the scene component to be issued and the test scene identification into a component library.
6. The method of claim 5, wherein the scenario component to be published is composed of flow elements, and the flow elements include condition nodes and flow nodes.
7. The method of claim 1, wherein the target test scenario comprises at least one of a shopping cart scenario, an order scenario, a warehouse production scenario, a distribution scenario, and an after-market scenario.
8. A test system construction apparatus, comprising:
the test scene determining module is used for responding to the detected test system construction instruction and acquiring a target test scene related to the test system construction instruction;
the scene component determining module is used for acquiring a target scene component related to a target test system in the target test scene from a pre-constructed component library;
and the test system construction module is used for constructing the target test system based on the target scene component.
9. A computer device, the device comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the test system construction method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a test system construction method according to any one of claims 1 to 7.
CN202110661421.9A 2021-06-15 2021-06-15 Test system construction method, device, equipment and storage medium Active CN113392002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110661421.9A CN113392002B (en) 2021-06-15 2021-06-15 Test system construction method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110661421.9A CN113392002B (en) 2021-06-15 2021-06-15 Test system construction method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113392002A true CN113392002A (en) 2021-09-14
CN113392002B CN113392002B (en) 2024-04-12

Family

ID=77621143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110661421.9A Active CN113392002B (en) 2021-06-15 2021-06-15 Test system construction method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113392002B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116107910A (en) * 2023-04-03 2023-05-12 平安银行股份有限公司 Performance system testing method, electronic equipment and storage medium

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050204201A1 (en) * 2004-03-15 2005-09-15 Ramco Systems Limited Method and system for testing software development activity
US20090262132A1 (en) * 2006-09-19 2009-10-22 Caustic Graphics, Inc. Architectures for parallelized intersection testing and shading for ray-tracing rendering
US20090300585A1 (en) * 2004-03-15 2009-12-03 Ramco Systems Limited Method and system for testing a software development activity
CN104407971A (en) * 2014-11-18 2015-03-11 中国电子科技集团公司第十研究所 Method for automatically testing embedded software
CN107391359A (en) * 2016-05-17 2017-11-24 腾讯科技(深圳)有限公司 A kind of service test method and device
CN107766190A (en) * 2017-10-31 2018-03-06 平安科技(深圳)有限公司 Interface test method, device, computer equipment and storage medium
CN107992427A (en) * 2017-12-26 2018-05-04 顺丰科技有限公司 Create method, apparatus, equipment and its storage medium of operational trials scene
CN110008117A (en) * 2019-03-12 2019-07-12 深圳壹账通智能科技有限公司 Page test method, device, computer equipment and storage medium
CN110245089A (en) * 2019-06-21 2019-09-17 深圳前海微众银行股份有限公司 Method for testing pressure, device, equipment and computer readable storage medium
CN110377520A (en) * 2019-07-22 2019-10-25 中国工商银行股份有限公司 The test method and device, electronic equipment and readable storage medium storing program for executing for scene of trading
CN110633222A (en) * 2019-11-01 2019-12-31 中国银行股份有限公司 Method and device for determining regression test case
CN111209217A (en) * 2020-03-12 2020-05-29 苏州浪潮智能科技有限公司 System software function testing method, device, equipment and storage medium
WO2020142496A1 (en) * 2018-12-31 2020-07-09 Abb Schweiz Ag Application-case driven robot object learning
CN111737073A (en) * 2020-08-26 2020-10-02 鹏城实验室 Automatic testing method, device, equipment and medium
CN111881022A (en) * 2020-07-07 2020-11-03 上海中通吉网络技术有限公司 Method, device and equipment for generating test case based on test scene
CN112416706A (en) * 2020-11-16 2021-02-26 珠海格力电器股份有限公司 Power consumption testing method, device and system, storage medium and electronic device
CN112463588A (en) * 2020-11-02 2021-03-09 北京健康之家科技有限公司 Automatic test system and method, storage medium and computing equipment

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050204201A1 (en) * 2004-03-15 2005-09-15 Ramco Systems Limited Method and system for testing software development activity
US20090300585A1 (en) * 2004-03-15 2009-12-03 Ramco Systems Limited Method and system for testing a software development activity
US20090262132A1 (en) * 2006-09-19 2009-10-22 Caustic Graphics, Inc. Architectures for parallelized intersection testing and shading for ray-tracing rendering
CN104407971A (en) * 2014-11-18 2015-03-11 中国电子科技集团公司第十研究所 Method for automatically testing embedded software
CN107391359A (en) * 2016-05-17 2017-11-24 腾讯科技(深圳)有限公司 A kind of service test method and device
CN107766190A (en) * 2017-10-31 2018-03-06 平安科技(深圳)有限公司 Interface test method, device, computer equipment and storage medium
CN107992427A (en) * 2017-12-26 2018-05-04 顺丰科技有限公司 Create method, apparatus, equipment and its storage medium of operational trials scene
WO2020142496A1 (en) * 2018-12-31 2020-07-09 Abb Schweiz Ag Application-case driven robot object learning
CN110008117A (en) * 2019-03-12 2019-07-12 深圳壹账通智能科技有限公司 Page test method, device, computer equipment and storage medium
CN110245089A (en) * 2019-06-21 2019-09-17 深圳前海微众银行股份有限公司 Method for testing pressure, device, equipment and computer readable storage medium
CN110377520A (en) * 2019-07-22 2019-10-25 中国工商银行股份有限公司 The test method and device, electronic equipment and readable storage medium storing program for executing for scene of trading
CN110633222A (en) * 2019-11-01 2019-12-31 中国银行股份有限公司 Method and device for determining regression test case
CN111209217A (en) * 2020-03-12 2020-05-29 苏州浪潮智能科技有限公司 System software function testing method, device, equipment and storage medium
CN111881022A (en) * 2020-07-07 2020-11-03 上海中通吉网络技术有限公司 Method, device and equipment for generating test case based on test scene
CN111737073A (en) * 2020-08-26 2020-10-02 鹏城实验室 Automatic testing method, device, equipment and medium
CN112463588A (en) * 2020-11-02 2021-03-09 北京健康之家科技有限公司 Automatic test system and method, storage medium and computing equipment
CN112416706A (en) * 2020-11-16 2021-02-26 珠海格力电器股份有限公司 Power consumption testing method, device and system, storage medium and electronic device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
董昕;郭勇;王杰;: "基于DevOps能力模型的持续集成方法", 计算机工程与设计, no. 07, 16 July 2018 (2018-07-16) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116107910A (en) * 2023-04-03 2023-05-12 平安银行股份有限公司 Performance system testing method, electronic equipment and storage medium
CN116107910B (en) * 2023-04-03 2023-08-25 平安银行股份有限公司 Performance system testing method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113392002B (en) 2024-04-12

Similar Documents

Publication Publication Date Title
US9098364B2 (en) Migration services for systems
US9465725B2 (en) Software defect reporting
US10977167B2 (en) Application monitoring with a decoupled monitoring tool
US10956311B2 (en) White box code concurrency testing for transaction processing
CN104765678A (en) Method and device for testing applications on mobile terminal
CN108111364B (en) Service system testing method and device
US10078579B1 (en) Metrics-based analysis for testing a service
US9513948B2 (en) Automated virtual machine provisioning based on defect state
CN108959102B (en) Method and device for generating test data and testing application to be tested
CN110727575B (en) Information processing method, system, device and storage medium
CN113392002B (en) Test system construction method, device, equipment and storage medium
CN110717992B (en) Method, apparatus, computer system and readable storage medium for scheduling model
US10176062B2 (en) Cloud servers and methods for handling dysfunctional cloud services
CN112506781B (en) Test monitoring method, device, electronic equipment, storage medium and program product
CN115509925A (en) Automatic interface testing method and related device
CN115134228A (en) Environment link supply and detection method, device, equipment, medium and program product
US20180203787A1 (en) Detection of software errors
US9672138B1 (en) Enabling communication between an application developer and an application tester
CN112882921B (en) Fault simulation method and device
CN114489667A (en) Script generation method and device, electronic equipment and storage medium
CN113609014A (en) Interface field checking method and device, storage medium and electronic equipment
CN112183982A (en) Workflow creating method and device, computer equipment and storage medium
CN110377401B (en) Transaction request processing method, device, server and storage medium based on IDEA
CN113360365A (en) Flow testing method and flow testing system
CN112783753B (en) Testing method and device for stream data processing system

Legal Events

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