CN116150033A - Software testing method, system, computer equipment and storage medium - Google Patents

Software testing method, system, computer equipment and storage medium Download PDF

Info

Publication number
CN116150033A
CN116150033A CN202310312296.XA CN202310312296A CN116150033A CN 116150033 A CN116150033 A CN 116150033A CN 202310312296 A CN202310312296 A CN 202310312296A CN 116150033 A CN116150033 A CN 116150033A
Authority
CN
China
Prior art keywords
test
target
test case
hosting platform
plan
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310312296.XA
Other languages
Chinese (zh)
Inventor
吴青青
何江闽
陈光炎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Hexun Huagu Information Technology Co ltd
Original Assignee
Shenzhen Hexun Huagu 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 Shenzhen Hexun Huagu Information Technology Co ltd filed Critical Shenzhen Hexun Huagu Information Technology Co ltd
Priority to CN202310312296.XA priority Critical patent/CN116150033A/en
Publication of CN116150033A publication Critical patent/CN116150033A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/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
    • 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/3696Methods or tools to render software testable
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application is suitable for the technical field of testing, provides a software testing method, a system, computer equipment and a storage medium, and aims to realize automatic testing of interface testing, improve software testing efficiency and reduce testing error rate. The method mainly comprises the following steps: determining a test case for testing a target interface, and a test plan corresponding to the test case; uploading the test cases and the test plans to a cloud hosting platform; when a starting instruction for testing the target interface is received, pulling the test case executed on the target interface from the cloud hosting platform according to the test plan and executing the test case to obtain a test result.

Description

Software testing method, system, computer equipment and storage medium
Technical Field
The application belongs to the technical field of testing, and particularly relates to a software testing method, a system, computer equipment and a storage medium.
Background
The interface test is a type of software test for checking whether or not the cooperation and communication between the respective parts of the software system are normal. Interface testing is typically performed between unit testing and system testing for testing the process of transferring data and invoking functions between two or more software modules. In interface testing, it may be determined whether an application or system is capable of functioning as intended by verifying that input and output data meets expected results, and checking for error handling and system response, among other aspects.
However, in most cases in the prior art, the interface test is performed by manually inputting the test case, which is not efficient and is prone to error.
Disclosure of Invention
The application aims to provide a software testing method, a system, computer equipment and a storage medium, and aims to realize automatic testing of interface testing, improve software testing efficiency and reduce testing error rate.
In a first aspect, the present application provides a software testing method, including:
determining a test case for testing a target interface, and a test plan corresponding to the test case;
uploading the test cases and the test plans to a cloud hosting platform;
when a starting instruction for testing the target interface is received, pulling the test case executed on the target interface from the cloud hosting platform according to the test plan and executing the test case to obtain a test result.
Optionally, after uploading the test case and the test plan to a cloud hosting platform, before pulling and executing the test case executed on the target interface from the cloud hosting platform according to the test plan, the method further includes:
determining a target test case of the latest version from the cloud hosting platform, wherein the target test case is one of test cases of the target interface test;
the pulling the test case executed on the target interface from the cloud hosting platform according to the test plan and executing comprises the following steps:
and pulling the target test case executed on the target interface from the cloud hosting platform according to the test plan and executing the target test case.
Optionally, after uploading the test case and the test plan to a cloud hosting platform, the method further includes:
receiving a download request for the test case and/or the test plan, wherein the download request comprises a download address;
and responding to the download request and sending the test case and/or the test plan to the download address.
Optionally, after uploading the test case and the test plan to a cloud hosting platform, the method further includes:
receiving the uploading of the new version of the target test case; or alternatively, the first and second heat exchangers may be,
and receiving the modification of the test case to obtain the new version of the target test case.
Optionally, after uploading the test case and the test plan to a cloud hosting platform, the method further includes:
receiving a modification to the test plan to obtain a target test plan for the target interface to test up to date;
the pulling the test case executed on the target interface from the cloud hosting platform according to the test plan and executing comprises the following steps:
and pulling the target test case executed on the target interface from the cloud hosting platform according to the target test plan and executing the target test case.
Optionally, the target test case is configured with an output report address, and after obtaining the test result, the method further includes:
forming a test report according to the test result and a preset report template;
and sending the test report to the output report address.
Optionally, the target test case is configured with a warning mailbox address, and after the test case is executed according to the test plan, the method further includes:
if the test case process is executed to trigger an alarm, forming an alarm mail by the alarm according to a preset alarm template;
and sending the warning mail to the warning mailbox address.
In a second aspect, the present application provides a software testing system comprising:
the determining unit is used for determining a test case for testing the target interface and a test plan corresponding to the test case;
the hosting unit is used for uploading the test cases and the test plans to a cloud hosting platform;
and the execution unit is used for pulling and executing the test case executed on the target interface from the cloud hosting platform according to the test plan when receiving a starting instruction for testing the target interface, so as to obtain a test result.
Optionally, the system further comprises:
the determining unit is further configured to determine, from the cloud hosting platform, a target test case of a latest version, where the target test case is one of test cases of the target interface test;
the execution unit is specifically configured to, when pulling and executing the test case executed on the target interface from the cloud hosting platform according to the test plan:
and pulling the target test case executed on the target interface from the cloud hosting platform according to the test plan and executing the target test case.
Optionally, the system further comprises:
the receiving unit is used for receiving a downloading request for the test case and/or the test plan, wherein the downloading request comprises a downloading address;
and the response unit is used for responding to the download request and sending the test case and/or the test plan to the download address.
Optionally, the system further comprises:
the receiving unit is further used for receiving the uploading of the new version of the target test case; or alternatively, the first and second heat exchangers may be,
the receiving unit is further configured to receive the target test case, where the new version is obtained by modifying the test case.
Optionally, the system further comprises:
the receiving unit is further used for receiving the modification of the test plan to obtain a target test plan which is used for testing the latest target interface;
the execution unit is specifically configured to, when pulling and executing the test case executed on the target interface from the cloud hosting platform according to the test plan:
and pulling the target test case executed on the target interface from the cloud hosting platform according to the target test plan and executing the target test case.
Optionally, the target test case is configured with an output report address, and the system further includes:
the forming unit is used for forming a test report according to the test result and a preset report template;
and the sending unit is used for sending the test report to the output report address.
Optionally, the target test case is configured with a warning mailbox address, and the system further includes:
the forming unit is further used for forming an alarm mail according to a preset alarm template if the test case process is executed to trigger an alarm;
the sending unit is further configured to send the warning mail to the warning mailbox address.
In a third aspect, the present application provides a computer device comprising:
a processor, a memory, a bus, an input-output interface, and a wireless network interface;
the processor is connected with the memory, the input/output interface and the wireless network interface through buses;
the memory stores a program;
the software testing method according to the first aspect is implemented when the processor executes the program stored in the memory.
In a fourth aspect, the present application provides a computer readable storage medium having stored therein instructions which, when executed on a computer, cause the computer to perform the software testing method of the first aspect as described above.
In a fifth aspect, the present application provides a computer program product which, when executed on a computer, causes the computer to perform the software testing method of the first aspect as described above.
The above technical solution can be seen that the embodiment of the application has the following advantages:
the software testing method of the embodiment obtains the time and the object for executing the test case by determining the test case for testing the target interface and the test plan corresponding to the test case; uploading the test cases and the test plans to a cloud hosting platform, and realizing automatic test deployment by using the cloud hosting platform; when a starting instruction for testing the target interface is received, the test case executed on the target interface can be pulled from the cloud hosting platform according to the test plan and executed, a test result is obtained, automatic testing of the interface is achieved, software testing efficiency is improved, and error rate of software testing is reduced.
Drawings
FIG. 1 is a flow chart of one embodiment of a software testing method of the present application;
FIG. 2 is a flow chart of another embodiment of the software testing method of the present application;
FIG. 3 is a schematic diagram of one embodiment of a software testing system of the present application;
FIG. 4 is a schematic diagram of another embodiment of a software testing system according to the present application;
FIG. 5 is a schematic diagram of an embodiment of a computer device of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
It should be noted that, in this embodiment, the purpose of this embodiment is mainly achieved by using JMeter open source pressure test software, jenkins open source automation server software, git hosting platform, and the like to cooperate with each other. The JMeter is a development source pressure testing tool developed by the apache company based on java, is powerful development source software and is used for testing Web application programs, APIs and other network protocols; it can simulate a large number of users accessing an application or web site at the same time and provide detailed information about the performance and stability of the application; jmeters can be used through graphical interfaces or command lines and have flexible configuration options for performing various types of tests, including load tests, stress tests, performance tests, functional tests, and the like. Jenkins is an open source automation server software for continuous integration, delivery and deployment; it supports multiple programming languages and version control systems and can be integrated with many other tools and plug-ins, making it very flexible and easy to customize; jenkins has scalability, ease of use, reliability and openness. Git is a distributed version control system that can be used to cooperatively develop and manage code; it allows multiple developers to work together in the same code base and can track the change history of each version. Common Git hosting platforms are GitHub, gitLab and bitsocket, etc., which provide many functions such as: code escrow: the user can upload the code to the platform and share the code with other people; version control: the Git platform supports version control of codes, and allows users to trace back to previous versions or cancel a certain change; collaborative development: multiple developers can modify codes in the same code base at the same time, and comment and examine the codes; problem tracking: a problem tracking tool is provided on the platform, allowing the user to report Bug, propose advice or request new functionality; writing a document: the platform provides Wiki functionality allowing users to write documents and descriptions; in addition, these platforms provide other functions such as code merging tools, CI/CD integration, rights management, etc.; different Git platforms may offer different functions and prices, so that a suitable platform needs to be selected according to actual requirements.
With the above understanding, referring to fig. 1, one embodiment of the software testing method of the present application includes:
101. and determining the test case for the target interface test and a test plan corresponding to the test case.
Specifically, the step can write a test case for testing a certain target interface through the JMeter, and store the test case as a jmx file. For example: and writing test cases of interfaces by using the JMeter, and performing operations such as single-interface, multi-interface flow, global variable setting, database connection and the like. The test case refers to a specific set of input, execution steps, expected output and the like designed in the software test process, and is used for verifying whether the tested software works normally or discovers defects according to the expected functions. Test cases are fundamental units in software testing, and are commonly used to ensure software quality and reduce defect rates.
Of course, the test plan corresponding to the test case for specifying the target interface may be written together, and the test plan generally includes the following aspects: test target: determining the purpose and range of the test and determining the focus of the test; test environment: determining hardware, software environment, test data and other resources required by the test; testing strategy: formulating test methods and test technologies, including black box test, white box test, performance test, safety test and the like; testing progress: determining the time schedule and the test phase division of the test, including the starting time of the test plan, the completion time of the test task, the submitting time of the test report and the like; defect management: defining and classifying defects, and establishing a defect management flow, wherein the defect management flow comprises defect submission, defect confirmation, defect repair, defect verification, defect closing and the like; testing resources: determining the use, provisioning, selection, application, etc. of the test tool; risk assessment: and evaluating and managing risks possibly occurring in the testing process, and making corresponding risk countermeasures.
102. And uploading the test cases and the test plans to the cloud hosting platform.
For example, the test case written in the target interface and the test plan in step 101 are uploaded to the Git hosting platform to manage, so that the code is developed and managed through the cooperation of the Git and others, and the management efficiency of the code is improved.
103. When a starting instruction for testing the target interface is received, pulling and executing the test case executed on the target interface from the cloud hosting platform according to the test plan to obtain a test result.
It should be noted that the Git hosting platform does not provide a test function for the target interface itself, but may implement a test for the target interface by integrating other test tools or services. For example, interface testing may be performed using a CI/CD tool (e.g., jenkins, travis CI) or cloud API testing tool (e.g., postman, swagger) and the test results integrated with the Git hosting platform to automate running the test and obtaining feedback prior to code merging and deployment. This step preferably combines the Git hosting platform with Jenkins to perform interface testing. The Jenkins configures the pull address of the Git host platform, ant configuration information, use case execution script, alarm mailbox address, output report address and the like so as to facilitate the smooth execution of the subsequent steps. Specifically, when Jenkins receives a starting instruction for testing a target interface, a test case of the target interface is pulled from a Git hosting platform according to a test plan, and the test case is executed on the target interface according to the test plan, so that a test result is obtained. Test results generally include: the test passes: indicating that the tested target interface accords with expected behaviors under the test case; test failure: indicating that the tested target interface does not conform to expected behavior under the test case; testing errors: indicating that an error occurred during the test, resulting in the test not being able to proceed.
Therefore, the software testing method of the embodiment obtains the time and the object for executing the test case by determining the test case for testing the target interface and the test plan corresponding to the test case; uploading the test cases and the test plans to a cloud hosting platform, and realizing automatic test deployment by using the cloud hosting platform; when a starting instruction for testing the target interface is received, the test case executed on the target interface can be pulled from the cloud hosting platform according to the test plan and executed, a test result is obtained, automatic testing of the interface is achieved, software testing efficiency is improved, and error rate of software testing is reduced.
Referring to fig. 2, another embodiment of the software testing method of the present application includes:
201. and determining the test case for the target interface test and a test plan corresponding to the test case.
The execution of this step is similar to step 101 in the embodiment of fig. 1, and the repetition is not repeated here.
202. And uploading the test cases and the test plans to the cloud hosting platform.
The execution of this step is similar to step 102 in the embodiment of fig. 1, and the repetition is not repeated here.
203. A download request for the test case and/or the test plan is received, the download request including a download address.
It will be appreciated that after uploading the test cases and the test plans to the Git hosting platform in step 202, all code that tests the target interface (including the test cases and the test plans, etc.) may be downloaded by the developer, and only a download request for the test cases and/or the test plans need be sent to the Git hosting platform after verification, so that the Git hosting platform receives the download request for the test cases and/or the test plans, where the download request includes a download address, so that the Git hosting platform knows the path that should be output.
204. And sending the test cases and/or the test plans to the download address in response to the download request.
The present embodiment provides a code download service to an upload Git hosting platform to enable downloads and modifications to the same code library by multiple developers and can track the change history of each version.
205. Receiving the uploading of the new version of the target test case; or, receiving the modification of the test case to obtain a new version of the target test case.
206. Receiving a modification to the test plan results in a most current target test plan for the target interface test.
After the developer obtains the test case and/or the test plan in step 204, the test case and/or the test plan may be modified to obtain a new version of the target test case and/or the new version of the target test plan, and upload the set of the Git hosting platform; or, after uploading the test case and the test plan to the Git hosting platform in step 202, the developer may directly modify the test case on the Git hosting platform to obtain a new version of the target test case, modify the test plan of the test case to obtain a new version of the target test plan, and the Git hosting platform may track the change history of each version.
207. And determining the latest version of the target test case from the cloud hosting platform, wherein the target test case is one of the test cases of the target interface test.
Because the Git hosting platform allows multiple developers to work together in the same code base, the test cases for testing the target interfaces may be modified by a plurality of versions, and the present embodiment defaults to select the latest version of the target test cases, which means that the Git hosting platform needs to determine the latest version of the target test cases from the cloud hosting platform at any time.
208. When a starting instruction for testing the target interface is received, pulling and executing a target test case executed on the target interface from the cloud hosting platform according to a target test plan to obtain a test result.
The execution of this step is similar to step 103 in the embodiment of fig. 1, and the repetition is not repeated here.
209. And forming a test report according to the test result and a preset report template.
It should be noted that the test results obtained after the test in this embodiment are relatively fixed, i.e. the test passes, the test fails, etc., and some test data obtained in the test process may be included. In order to quickly form a standard test report template, a preset report template can be preset in the step, and the preset report template can automatically fill test results to form a test report.
210. The test report is sent to the output report address.
Specifically, the report address in this step may be a mailbox address, a file path, etc. and is used to push the developer or related personnel focusing on the test report in time, so as to make a decision in time.
211. If the process of executing the (target) test case triggers the warning, forming a warning mail by the warning according to a preset warning template.
It should be noted that, in this embodiment, various situations may occur during execution of the test case on the target interface, so as to trigger an alarm, so that in order to enable a developer or related personnel focusing on the test process to timely notify an alarm generated during the test process, when the (target) test case process is executed to trigger an alarm, the step forms an alarm mail according to a preset alarm template by the alarm. The step can be preset with a preset warning template, and the preset warning template can automatically fill the information carried by the triggered warning to form warning mails.
212. And sending the warning mail to the warning mailbox address.
Specifically, the step is used for timely pushing the warning of the test process to the developer or related personnel focusing on the test process so as to make a decision in time.
Having described embodiments of the software testing method of the present application, embodiments of the software testing system of the present application are described below, with reference to fig. 3, an embodiment of the software testing system includes:
a determining unit 301, configured to determine a test case for testing a target interface, and a test plan corresponding to the test case;
a hosting unit 302, configured to upload the test case and the test plan to a cloud hosting platform;
and the execution unit 303 is configured to pull and execute the test case executed on the target interface from the cloud hosting platform according to the test plan when receiving a start instruction for testing the target interface, so as to obtain a test result.
The operations performed by the software testing system of the present application are similar to those performed in the foregoing embodiment of fig. 1, and will not be described herein.
Referring to fig. 4, another embodiment of a software testing system includes:
a determining unit 401, configured to determine a test case for testing a target interface, and a test plan corresponding to the test case;
a hosting unit 402, configured to upload the test case and the test plan to a cloud hosting platform;
and the execution unit 403 is configured to pull and execute the test case executed on the target interface from the cloud hosting platform according to the test plan when receiving a start instruction for testing the target interface, so as to obtain a test result.
Optionally, the system further comprises:
the determining unit 401 is further configured to determine, from the cloud hosting platform, a latest version of a target test case, where the target test case is one of test cases tested by the target interface;
the execution unit 403 is specifically configured to, when pulling and executing the test case executed on the target interface from the cloud hosting platform according to the test plan:
and pulling the target test case executed on the target interface from the cloud hosting platform according to the test plan and executing the target test case.
Optionally, the system further comprises:
a receiving unit 404, configured to receive a download request for the test case and/or the test plan, where the download request includes a download address;
and the response unit 405 is configured to send the test case and/or the test plan to the download address in response to the download request.
Optionally, the system further comprises:
the receiving unit 404 is further configured to receive uploading of the new version of the target test case; or alternatively, the first and second heat exchangers may be,
the receiving unit 404 is further configured to receive the target test case, where the new version is obtained by modifying the test case.
Optionally, the system further comprises:
the receiving unit 404 is further configured to receive a modification to the test plan to obtain a target test plan for the target interface to test up to date;
the execution unit 403 is specifically configured to, when pulling and executing the test case executed on the target interface from the cloud hosting platform according to the test plan:
and pulling the target test case executed on the target interface from the cloud hosting platform according to the target test plan and executing the target test case.
Optionally, the target test case is configured with an output report address, and the system further includes:
a forming unit 406, configured to form a test report from the test result according to a preset report template;
a transmitting unit 407, configured to transmit the test report to the output report address.
Optionally, the target test case is configured with a warning mailbox address, and the system further includes:
the forming unit 406 is further configured to trigger an alert if the test case process is executed, and form an alert mail according to a preset alert template;
the sending unit 407 is further configured to send the alert mail to the alert mailbox address.
The operations performed by the software testing system of the present application are similar to those performed in the foregoing embodiment of fig. 2, and will not be described herein.
Turning now to the description of the computer device of the embodiments of the present application, referring to fig. 5, one embodiment of the computer device of the embodiments of the present application includes:
the computer device 500 may include one or more processors (central processing units, CPU) 501 and memory 502, with one or more applications or data stored in the memory 502. Wherein the memory 502 is volatile storage or persistent storage. The program stored in memory 502 may include one or more modules, each of which may include a series of instruction operations in a computer device. Still further, the processor 501 may be configured to communicate with the memory 502 and execute a series of instruction operations in the memory 502 on the computer device 500. The computer device 500 may also include one or more wireless network interfaces 503, one or more input/output interfaces 504, and/or one or more operating systems, such as Windows Server, mac OS, unix, linux, freeBSD, etc. The processor 501 may perform the operations performed in the foregoing embodiments of fig. 1 or fig. 2, and details thereof are not described herein.
In the several embodiments provided in the embodiments of the present application, it should be understood by those skilled in the art that the disclosed systems, apparatuses and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units. The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, random access memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing description of the preferred embodiments of the present application is not intended to be limiting, but is intended to cover any and all modifications, equivalents, or alternatives falling within the spirit and principles of the present application.

Claims (10)

1. A method of testing software, comprising:
determining a test case for testing a target interface, and a test plan corresponding to the test case;
uploading the test cases and the test plans to a cloud hosting platform;
when a starting instruction for testing the target interface is received, pulling the test case executed on the target interface from the cloud hosting platform according to the test plan and executing the test case to obtain a test result.
2. The software testing method of claim 1, wherein after uploading the test cases and the test plan to a cloud hosting platform, the method further comprises, prior to pulling and executing the test cases executed on the target interface from the cloud hosting platform in accordance with the test plan:
determining a target test case of the latest version from the cloud hosting platform, wherein the target test case is one of test cases of the target interface test;
the pulling the test case executed on the target interface from the cloud hosting platform according to the test plan and executing comprises the following steps:
and pulling the target test case executed on the target interface from the cloud hosting platform according to the test plan and executing the target test case.
3. The software testing method of claim 2, wherein after uploading the test cases and the test plans to a cloud hosting platform, the method further comprises:
receiving a download request for the test case and/or the test plan, wherein the download request comprises a download address;
and responding to the download request and sending the test case and/or the test plan to the download address.
4. The software testing method of claim 1, wherein after uploading the test cases and the test plans to a cloud hosting platform, the method further comprises:
receiving the uploading of the new version of the target test case; or alternatively, the first and second heat exchangers may be,
and receiving the modification of the test case to obtain the new version of the target test case.
5. The software testing method of claim 4, wherein after uploading the test cases and the test plans to a cloud hosting platform, the method further comprises:
receiving a modification to the test plan to obtain a target test plan for the target interface to test up to date;
the pulling the test case executed on the target interface from the cloud hosting platform according to the test plan and executing comprises the following steps:
and pulling the target test case executed on the target interface from the cloud hosting platform according to the target test plan and executing the target test case.
6. The software testing method of claim 4, wherein the target test case is configured with an output report address, and wherein after obtaining the test result, the method further comprises:
forming a test report according to the test result and a preset report template;
and sending the test report to the output report address.
7. The software testing method of claim 4, wherein the target test case is configured with a warning mailbox address, the method further comprising, after executing the test case according to the test plan:
if the test case process is executed to trigger an alarm, forming an alarm mail by the alarm according to a preset alarm template;
and sending the warning mail to the warning mailbox address.
8. A software testing system, comprising:
the determining unit is used for determining a test case for testing the target interface and a test plan corresponding to the test case;
the hosting unit is used for uploading the test cases and the test plans to a cloud hosting platform;
and the execution unit is used for pulling and executing the test case executed on the target interface from the cloud hosting platform according to the test plan when receiving a starting instruction for testing the target interface, so as to obtain a test result.
9. A computer device, comprising:
a processor, a memory, a bus, an input-output interface, and a wireless network interface;
the processor is connected with the memory, the input/output interface and the wireless network interface through buses;
the memory stores a program;
the software testing method of any one of claims 1 to 7 is implemented when the processor executes the program stored in the memory.
10. A computer readable storage medium having stored therein instructions which, when executed on a computer, cause the computer to perform the software testing method of any of claims 1 to 7.
CN202310312296.XA 2023-03-27 2023-03-27 Software testing method, system, computer equipment and storage medium Pending CN116150033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310312296.XA CN116150033A (en) 2023-03-27 2023-03-27 Software testing method, system, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310312296.XA CN116150033A (en) 2023-03-27 2023-03-27 Software testing method, system, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116150033A true CN116150033A (en) 2023-05-23

Family

ID=86339136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310312296.XA Pending CN116150033A (en) 2023-03-27 2023-03-27 Software testing method, system, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116150033A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116756043A (en) * 2023-08-10 2023-09-15 东方空间技术(山东)有限公司 Software testing method, device and equipment of target equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116756043A (en) * 2023-08-10 2023-09-15 东方空间技术(山东)有限公司 Software testing method, device and equipment of target equipment and storage medium
CN116756043B (en) * 2023-08-10 2023-11-03 东方空间技术(山东)有限公司 Software testing method, device and equipment of target equipment and storage medium

Similar Documents

Publication Publication Date Title
EP3769223B1 (en) Unified test automation system
US8074204B2 (en) Test automation for business applications
US10824521B2 (en) Generating predictive diagnostics via package update manager
US7653893B2 (en) Methods and apparatus for implementing checkin policies in source code control systems
US20050172284A1 (en) Method and system for automated generation of customized factory installable software
US20050055688A1 (en) Integrated rapid install system for generic software images
US20050066015A1 (en) Method and system for automated validation, scripting, dissemination and installation of software
US10936468B1 (en) System and method of automatic software release termination based on customized reporting static code analysis
US20150100831A1 (en) Method and system for selecting and executing test scripts
CN110659202A (en) Client automatic testing method and device
US20140289697A1 (en) Systems and Methods for Software Development
CN113014445B (en) Operation and maintenance method, device and platform for server and electronic equipment
CN116150033A (en) Software testing method, system, computer equipment and storage medium
CN111597104A (en) Multi-protocol adaptive interface regression testing method, system, equipment and medium
CN111813382A (en) Intangible asset management system and method
CN115658496A (en) Extensible Web automatic test method, system, equipment and storage medium
CN112596784B (en) Iterative version deployment method and device
CN110727575A (en) Information processing method, system, device and storage medium
EP1653348A1 (en) Method for tracking transport requests and computer system with trackable transport requests
CN113986263A (en) Code automation test method, device, electronic equipment and storage medium
Zampetti et al. Problems and solutions in applying continuous integration and delivery to 20 open-source cyber-physical systems
CN113094251A (en) Embedded system testing method and device, computer equipment and storage medium
CN111767218A (en) Automatic testing method, equipment and storage medium for continuous integration
US11733979B2 (en) System for automatically generating customer specific data center application program interfaces
US11509520B1 (en) System for providing autonomous remediation within a data center

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