CN113590490B - Automatic test method, device and equipment - Google Patents

Automatic test method, device and equipment Download PDF

Info

Publication number
CN113590490B
CN113590490B CN202110889208.3A CN202110889208A CN113590490B CN 113590490 B CN113590490 B CN 113590490B CN 202110889208 A CN202110889208 A CN 202110889208A CN 113590490 B CN113590490 B CN 113590490B
Authority
CN
China
Prior art keywords
test
data
tested
library
test interface
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.)
Active
Application number
CN202110889208.3A
Other languages
Chinese (zh)
Other versions
CN113590490A (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.)
Shandong Paimeng Network Technology Co ltd
Original Assignee
Shandong Paimeng Network 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 Shandong Paimeng Network Technology Co ltd filed Critical Shandong Paimeng Network Technology Co ltd
Priority to CN202110889208.3A priority Critical patent/CN113590490B/en
Publication of CN113590490A publication Critical patent/CN113590490A/en
Application granted granted Critical
Publication of CN113590490B publication Critical patent/CN113590490B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/3688Test management for test execution, e.g. scheduling of test suites
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the specification discloses an automatic test method, an automatic test device and automatic test equipment. The method comprises the following steps: implanting a test library into a Robot Framework to obtain an integrated test interface, wherein the test library comprises: a user keyword library, a basic service keyword library and an advanced service keyword library; and testing the data to be tested based on the integrated test interface to obtain a test result. By adopting the automatic test method provided by the specification, flexible configuration and deployment of the test framework can be realized, secondary development is facilitated, and the automatic test efficiency is improved.

Description

Automatic test method, device and equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an automatic test method, apparatus, and device.
Background
Robot Framework is an automated test Framework written based on python, which has good expandability, but the configuration and deployment of the test Framework are inflexible, so that secondary development is difficult, and the automated test efficiency is low.
Based on the above, a new automatic testing method is needed, which can realize flexible configuration and deployment of a testing framework, is convenient for secondary development and improves the automatic testing efficiency.
Disclosure of Invention
The embodiment of the specification provides an automatic test method, an automatic test device and automatic test equipment, which are used for solving the following technical problems: the configuration and deployment of the existing test framework are inflexible, so that secondary development is difficult, and the automatic test efficiency is low.
In order to solve the above technical problems, the embodiments of the present specification are implemented as follows:
the embodiment of the specification provides an automatic test method, which comprises the following steps:
implanting a test library into a Robot Framework to obtain an integrated test interface, wherein the test library comprises: a user keyword library, a basic service keyword library and an advanced service keyword library;
and testing the data to be tested based on the integrated test interface to obtain a test result.
Further, the testing the data to be tested based on the integrated testing interface specifically includes:
judging whether the test interface contains a test case script corresponding to the test data to be processed or not;
if yes, testing the data to be tested based on the integrated test interface;
if not, updating the integrated test interface based on the data to be tested to obtain an updated test interface;
and testing the data to be tested based on the updated test interface.
Further, the basic service keyword library is composed of basic service keywords, wherein the basic service keywords are keywords customized according to service requirements and keywords of the Robot Framework.
Further, the advanced business keyword library is composed of advanced business keywords, and the advanced business keywords are composed of the basic business keywords and business logic of the business to be processed.
Further, the user keyword library is composed of user keywords, and the user keywords are generated based on the basic service keywords and the advanced service keywords.
Further, the user key is used for a common step of package testing.
Further, updating the integrated test interface based on the data to be tested to obtain an updated test interface, which specifically includes:
based on the data to be tested, obtaining a user keyword and/or a basic service keyword and/or an advanced service keyword corresponding to the data to be tested;
placing the user keywords, and/or basic service keywords and/or advanced service keywords corresponding to the data to be tested in the test library to obtain an updated test library;
and implanting the updated test library into the Robot Framework to obtain an updated test interface.
The embodiment of the specification also provides an automatic test device, which comprises:
the integrated module is used for implanting the test library into a Robot Framework to obtain an integrated test interface, wherein the test library comprises: a user keyword library, a basic service keyword library and an advanced service keyword library;
and the test module is used for testing the data to be tested based on the integrated test interface to obtain a test result.
Further, the testing the data to be tested based on the integrated testing interface specifically includes:
judging whether the test interface contains a test case script corresponding to the test data to be processed or not;
if yes, testing the data to be tested based on the integrated test interface;
if not, updating the integrated test interface based on the data to be tested to obtain an updated test interface;
and testing the data to be tested based on the updated test interface.
Further, the basic service keyword library is composed of basic service keywords, wherein the basic service keywords are keywords customized according to service requirements and keywords of the Robot Framework.
Further, the advanced business keyword library is composed of advanced business keywords, and the advanced business keywords are composed of the basic business keywords and business logic of the business to be processed.
Further, the user keyword library is composed of user keywords, and the user keywords are generated based on the basic service keywords and the advanced service keywords.
Further, the user key is used for a common step of package testing.
Further, updating the integrated test interface based on the data to be tested to obtain an updated test interface, which specifically includes:
based on the data to be tested, obtaining a user keyword and/or a basic service keyword and/or an advanced service keyword corresponding to the data to be tested;
placing the user keywords, and/or basic service keywords and/or advanced service keywords corresponding to the data to be tested in the test library to obtain an updated test library;
and implanting the updated test library into the Robot Framework to obtain an updated test interface.
The embodiment of the specification also provides an electronic device, including:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
implanting a test library into a Robot Framework to obtain an integrated test interface, wherein the test library comprises: a user keyword library, a basic service keyword library and an advanced service keyword library;
and testing the data to be tested based on the integrated test interface to obtain a test result.
The above-mentioned at least one technical scheme that this description embodiment adopted can reach following beneficial effect: the flexible configuration and deployment of the test framework can be realized, secondary development is facilitated, and the automatic test efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present description or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some of the embodiments described in the present description, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an automated testing method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of an automated testing apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions in the present specification better understood by those skilled in the art, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
Fig. 1 is a schematic diagram of an automated testing method according to an embodiment of the present disclosure, as shown in fig. 1, the method includes:
step S101: implanting a test library into a Robot Framework to obtain an integrated test interface, wherein the test library comprises: a user keyword library, a basic service keyword library and a high-level service keyword library.
In this embodiment of the present disclosure, the basic service keyword library is composed of basic service keywords, where the basic service keywords are keywords customized according to service requirements and keywords of the Robot Framework.
In the embodiment of the present description, the basic service key is a key that is related to a specific service and can be multiplexed in only one or a few items, depending on the service to be processed or the item to be tested. Therefore, when the service is changed, the basic service key words are modified, so that the update of the test library is realized.
In this embodiment of the present specification, the advanced service keyword library is composed of advanced service keywords, and the advanced service keywords are composed of the basic service keywords and service logic of the service to be processed.
In the embodiment of the present description, the advanced business key is generated based on the basic business key, and includes the business of the business to be processed, or the business logic of the item to be tested. Thus, by means of the advanced business key, the business to be processed, or the business logic of the item to be tested, can be obtained. When the business is changed, if the business logic is changed, the business logic needs to be modified in addition to the basic business keywords, namely, the advanced business keywords are updated; when the business is changed, if the business logic is not changed, the advanced business keywords can be updated by only modifying the basic business keywords.
In this embodiment of the present specification, the user keyword library is composed of user keywords, and the user keywords are generated based on the basic service keywords and the advanced service keywords.
Specifically, the user key is used for a common step of package testing.
In the specific implementation process, according to different business requirements, the test cases are combined with the test library to obtain test case scripts. And combining all the test case scripts together to generate a test case library.
Based on the test case library provided by the embodiment of the specification, the test of different data to be tested can be realized.
Step S103: and testing the data to be tested based on the integrated test interface to obtain a test result.
Because the test cases included in the test interface are not necessarily updated in time, or not necessarily include all the test cases corresponding to the data to be tested, in order to ensure the smooth performance of the test, in the embodiment of the present specification, the test of the data to be tested based on the integrated test interface specifically includes:
judging whether the test interface contains a test case script corresponding to the test data to be processed or not;
if yes, testing the data to be tested based on the integrated test interface;
if not, updating the integrated test interface based on the data to be tested to obtain an updated test interface;
and testing the data to be tested based on the updated test interface.
In this embodiment of the present disclosure, updating the integrated test interface based on the data to be tested to obtain an updated test interface specifically includes:
based on the data to be tested, obtaining a user keyword and/or a basic service keyword and/or an advanced service keyword corresponding to the data to be tested;
placing the user keywords, and/or basic service keywords and/or advanced service keywords corresponding to the data to be tested in the test library to obtain an updated test library;
and implanting the updated test library into the Robot Framework to obtain an updated test interface.
By adopting the automatic test method provided by the embodiment of the specification, flexible configuration and deployment of the test framework can be realized, secondary development is facilitated, and the automatic test efficiency is improved.
The foregoing details an automated testing method, and accordingly, the present disclosure further provides an automated testing apparatus, as shown in fig. 2. Fig. 2 is a schematic diagram of an automated testing apparatus provided in an embodiment of the present disclosure, where the automated testing apparatus provided in the embodiment of the present disclosure includes:
the integration module 201 implants a test library into a Robot Framework to obtain an integrated test interface, wherein the test library includes: a user keyword library, a basic service keyword library and an advanced service keyword library;
and the test module 206 is used for testing the data to be tested based on the integrated test interface to obtain a test result.
Further, the testing the data to be tested based on the integrated testing interface specifically includes:
judging whether the test interface contains a test case script corresponding to the test data to be processed or not;
if yes, testing the data to be tested based on the integrated test interface;
if not, updating the integrated test interface based on the data to be tested to obtain an updated test interface;
and testing the data to be tested based on the updated test interface.
Further, the basic service keyword library is composed of basic service keywords, wherein the basic service keywords are keywords customized according to service requirements and keywords of the Robot Framework.
Further, the advanced business keyword library is composed of advanced business keywords, and the advanced business keywords are composed of the basic business keywords and business logic of the business to be processed.
Further, the user keyword library is composed of user keywords, and the user keywords are generated based on the basic service keywords and the advanced service keywords.
Further, the user key is used for a common step of package testing.
Further, updating the integrated test interface based on the data to be tested to obtain an updated test interface, which specifically includes:
based on the data to be tested, obtaining a user keyword and/or a basic service keyword and/or an advanced service keyword corresponding to the data to be tested;
placing the user keywords, and/or basic service keywords and/or advanced service keywords corresponding to the data to be tested in the test library to obtain an updated test library;
and implanting the updated test library into the Robot Framework to obtain an updated test interface.
The embodiment of the specification also provides an electronic device, including:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
implanting a test library into a Robot Framework to obtain an integrated test interface, wherein the test library comprises: a user keyword library, a basic service keyword library and an advanced service keyword library;
and testing the data to be tested based on the integrated test interface to obtain a test result.
Further, the testing the data to be tested based on the integrated testing interface specifically includes:
judging whether the test interface contains a test case script corresponding to the test data to be processed or not;
if yes, testing the data to be tested based on the integrated test interface;
if not, updating the integrated test interface based on the data to be tested to obtain an updated test interface;
and testing the data to be tested based on the updated test interface.
Further, the basic service keyword library is composed of basic service keywords, wherein the basic service keywords are keywords customized according to service requirements and keywords of the Robot Framework.
Further, the advanced business keyword library is composed of advanced business keywords, and the advanced business keywords are composed of the basic business keywords and business logic of the business to be processed.
Further, the user keyword library is composed of user keywords, and the user keywords are generated based on the basic service keywords and the advanced service keywords.
Further, the user key is used for a common step of package testing.
Further, updating the integrated test interface based on the data to be tested to obtain an updated test interface, which specifically includes:
based on the data to be tested, obtaining a user keyword and/or a basic service keyword and/or an advanced service keyword corresponding to the data to be tested;
placing the user keywords, and/or basic service keywords and/or advanced service keywords corresponding to the data to be tested in the test library to obtain an updated test library;
and implanting the updated test library into the Robot Framework to obtain an updated test interface.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for apparatus, electronic devices, non-volatile computer storage medium embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to the description of the method embodiments.
The apparatus, the electronic device, the nonvolatile computer storage medium and the method provided in the embodiments of the present disclosure correspond to each other, and therefore, the apparatus, the electronic device, the nonvolatile computer storage medium also have similar beneficial technical effects as those of the corresponding method, and since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the corresponding apparatus, the electronic device, the nonvolatile computer storage medium are not described here again.
In the 90 s of the 20 th century, improvements to one technology could clearly be distinguished as improvements in hardware (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) or software (improvements to the process flow). However, with the development of technology, many improvements of the current method flows can be regarded as direct improvements of hardware circuit structures. Designers almost always obtain corresponding hardware circuit structures by programming improved method flows into hardware circuits. Therefore, an improvement of a method flow cannot be said to be realized by a hardware entity module. For example, a programmable logic device (Programmable Logic Device, PLD) (e.g., field programmable gate array (Field Programmable Gate Array, FPGA)) is an integrated circuit whose logic function is determined by the programming of the device by a user. A designer programs to "integrate" a digital system onto a PLD without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Moreover, nowadays, instead of manually manufacturing integrated circuit chips, such programming is mostly implemented by using "logic compiler" software, which is similar to the software compiler used in program development and writing, and the original code before the compiling is also written in a specific programming language, which is called hardware description language (Hardware Description Language, HDL), but not just one of the hdds, but a plurality of kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), lava, lola, myHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog are currently most commonly used. It will also be apparent to those skilled in the art that a hardware circuit implementing the logic method flow can be readily obtained by merely slightly programming the method flow into an integrated circuit using several of the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable logic controllers, and embedded microcontrollers, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, atmel AT91SAM, microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic of the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller in a pure computer readable program code, it is well possible to implement the same functionality by logically programming the method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Such a controller may thus be regarded as a kind of hardware component, and means for performing various functions included therein may also be regarded as structures within the hardware component. Or even means for achieving the various functions may be regarded as either software modules implementing the methods or structures within hardware components.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. One typical implementation is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing one or more embodiments of the present description.
It will be appreciated by those skilled in the art that the present description may be provided as a method, system, or computer program product. Accordingly, the present specification embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present description embodiments may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present description is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the specification. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data optimization device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data optimization device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data optimization device to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data-optimizing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing description is by way of example only and is not intended as limiting the application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (8)

1. An automated testing method, the method comprising:
implanting a test library into a RobotFramework framework to obtain an integrated test interface, wherein the test library comprises: a user keyword library, a basic service keyword library and an advanced service keyword library;
based on the integrated test interface, testing the data to be tested to obtain a test result, wherein the testing the data to be tested based on the integrated test interface comprises the following steps:
judging whether the test interface contains a test case script corresponding to the data to be tested;
if yes, testing the data to be tested based on the integrated test interface;
if not, updating the integrated test interface based on the data to be tested to obtain an updated test interface;
and testing the data to be tested based on the updated test interface.
2. The method of claim 1, wherein the basic service keyword library is composed of basic service keywords, the basic service keywords being keywords customized according to service requirements and keywords of the robotframe framework.
3. The method of claim 1, wherein the advanced business key library is comprised of advanced business keys comprised of the basic business key and business logic of the business to be processed.
4. A method according to claim 2 or 3, wherein the user keyword library consists of user keywords generated based on the basic service keywords and the advanced service keywords.
5. The method of claim 1, wherein the user key is used for a common step of package testing.
6. The method according to claim 1, wherein updating the integrated test interface based on the data to be tested, and obtaining an updated test interface, comprises:
based on the data to be tested, obtaining a user keyword and/or a basic service keyword and/or an advanced service keyword corresponding to the data to be tested;
placing the user keywords, and/or basic service keywords and/or advanced service keywords corresponding to the data to be tested in the test library to obtain an updated test library;
and implanting the updated test library into the RobotFramework framework to obtain an updated test interface.
7. An automated test equipment, the equipment comprising:
the integrated module is used for implanting the test library into the RobotFramework framework to obtain an integrated test interface, wherein the test library comprises: a user keyword library, a basic service keyword library and an advanced service keyword library;
the test module is used for testing the data to be tested based on the integrated test interface to obtain a test result, wherein the test module is used for testing the data to be tested based on the integrated test interface and comprises the following steps: judging whether the test interface contains a test case script corresponding to the data to be tested; if yes, testing the data to be tested based on the integrated test interface; if not, updating the integrated test interface based on the data to be tested to obtain an updated test interface; and testing the data to be tested based on the updated test interface.
8. An electronic device, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to:
implanting a test library into a RobotFramework framework to obtain an integrated test interface, wherein the test library comprises: a user keyword library, a basic service keyword library and an advanced service keyword library; based on the integrated test interface, testing the data to be tested to obtain a test result, wherein the testing the data to be tested based on the integrated test interface comprises the following steps: judging whether the test interface contains a test case script corresponding to the data to be tested; if yes, testing the data to be tested based on the integrated test interface; if not, updating the integrated test interface based on the data to be tested to obtain an updated test interface; and testing the data to be tested based on the updated test interface.
CN202110889208.3A 2021-08-04 2021-08-04 Automatic test method, device and equipment Active CN113590490B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110889208.3A CN113590490B (en) 2021-08-04 2021-08-04 Automatic test method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110889208.3A CN113590490B (en) 2021-08-04 2021-08-04 Automatic test method, device and equipment

Publications (2)

Publication Number Publication Date
CN113590490A CN113590490A (en) 2021-11-02
CN113590490B true CN113590490B (en) 2023-09-26

Family

ID=78254752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110889208.3A Active CN113590490B (en) 2021-08-04 2021-08-04 Automatic test method, device and equipment

Country Status (1)

Country Link
CN (1) CN113590490B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218139A (en) * 2018-10-23 2019-01-15 京信通信系统(中国)有限公司 Gateway test macro
CN110109843A (en) * 2019-07-08 2019-08-09 四川驹马科技有限公司 Automatic test cases construction method and system based on Robot Framework
CN111125066A (en) * 2019-12-26 2020-05-08 杭州迪普科技股份有限公司 Method and device for detecting functions of database audit equipment
CN111835590A (en) * 2020-07-03 2020-10-27 紫光云技术有限公司 Automatic interface test architecture and test method for cloud host product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218139A (en) * 2018-10-23 2019-01-15 京信通信系统(中国)有限公司 Gateway test macro
CN110109843A (en) * 2019-07-08 2019-08-09 四川驹马科技有限公司 Automatic test cases construction method and system based on Robot Framework
CN111125066A (en) * 2019-12-26 2020-05-08 杭州迪普科技股份有限公司 Method and device for detecting functions of database audit equipment
CN111835590A (en) * 2020-07-03 2020-10-27 紫光云技术有限公司 Automatic interface test architecture and test method for cloud host product

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于线性蜕变关系的蜕变测试工具设计及应用研究.基于线性蜕变关系的蜕变测试工具设计及应用研究.《中国优秀硕士学位论文全文数据库 信息科技辑》.2019,(第1期),I138-1546. *

Also Published As

Publication number Publication date
CN113590490A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN116860259B (en) Method, device and equipment for model training and automatic optimization of compiler
CN109325508A (en) The representation of knowledge, machine learning model training, prediction technique, device and electronic equipment
CN110046052B (en) Service calling method and device
CN114547024A (en) SQL statement risk detection method, device, equipment and medium
CN117828360A (en) Model training method, model training device, model code generating device, storage medium and storage medium
CN116091895B (en) Model training method and device oriented to multitask knowledge fusion
CN116842715B (en) Simulation data structuring processing system
CN113590490B (en) Automatic test method, device and equipment
CN115017915B (en) Model training and task execution method and device
CN110874322B (en) Test method and test server for application program
CN111984247B (en) Service processing method and device and electronic equipment
CN109165933A (en) A kind of cross-border transaction declaration method and device
CN109614388B (en) Budget deduction method and device
CN111596946A (en) Recommendation method, device and medium for intelligent contracts of block chains
CN112434486B (en) Automatic paging method, device, equipment and medium for device in PCB design
CN113467858B (en) Program starting method, device, equipment and medium
CN117519733B (en) Project deployment method and device, storage medium and electronic equipment
CN116797392A (en) Automatic verification and verification method, device, equipment and medium for financial data
CN116243885B (en) Full adder circuit and multi-bit full adder
CN111651450B (en) Block copy method, device, equipment and medium based on block chain
CN118378006A (en) Evaluation method, device and equipment of traceability data
CN117743824A (en) Model training and service execution method and device, storage medium and equipment
CN117435101A (en) Form data processing method and device
CN116107586A (en) Protobuf-based interface management method, device and medium
CN117111918A (en) Data processing system for task structure design

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