Method and device for testing software
A technology of software and test cases, which is applied in the field of Internet communication, can solve the problems of prolonging the testing time of testing software and reducing the testing efficiency of testing software, so as to achieve the effect of improving testing efficiency and shortening testing time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] see figure 1 , the embodiment of the present invention provides a method for testing software, including:
[0022] Step 101: Generate a test case corresponding to each interface according to the test case template and the interface information of each interface included in the software;
[0023] Step 102: Run the generated test cases in parallel through multiple test virtual machines to obtain the running results of each test case;
[0024] Step 103: Determine whether there is a security hole in the software according to the running result of each test case.
[0025] Preferably, according to the interface information of each interface included in the test case template and software, generate the test case corresponding to each interface, including:
[0026] Send the test case template and the interface information of each interface included in the software to the main virtual machine, so that the main virtual machine generates a test case corresponding to each interfa...
Embodiment 2
[0036] see figure 2 , the embodiment of the present invention provides a method for testing software. The method installs multiple virtual machines on one terminal, and uses the multiple virtual machines to perform concurrent testing on the software, so as to save testing time and improve testing efficiency, including :
[0037] Step 201: Install at least three virtual machines, determine one of the virtual machines as the master virtual machine, and determine the other virtual machines as test virtual machines;
[0038] For example, three virtual machines 0, 1 and 2 are installed, virtual machine 0 is determined as the primary virtual machine, and virtual machines 1 and 2 are determined as test virtual machines.
[0039] Among them, the number of test virtual machines depends on the performance of the terminal. The more the number of test virtual machines within the allowable range of the terminal performance, the better the concurrent test effect and the higher the test ef...
Embodiment 3
[0055] see image 3 , an embodiment of the present invention provides a device for testing software, including:
[0056] Generating module 301, is used for, according to the interface information of each interface that test case template and software comprise, generate the test case corresponding to each interface;
[0057] The running module 302 is used to run the test cases generated by multiple test virtual machines in parallel to obtain the running results of each test case;
[0058] A determining module 303 is configured to determine whether there is a security hole in the software according to the running result of each test case.
[0059] Install at least three virtual machines on the terminal, determine one of the virtual machines as the master virtual machine, and determine the other virtual machines as test virtual machines.
[0060] Among them, the number of test virtual machines depends on the performance of the terminal. The more the number of test virtual machi...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



