Black box testing method and device based on Java virtual machine, terminal and storage medium
A technology of java virtual machine and black box testing, which is applied in software testing/debugging, error detection/correction, instrumentation, etc. It can solve the problems of low test efficiency, failure to provide, and low application software test coverage, so as to improve code coverage rate and improve test efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 1 The implementation flow of the black-box testing method based on the Java virtual machine provided by Embodiment 1 of the present invention is shown. For the convenience of description, only the parts related to the embodiment of the present invention are shown, and the details are as follows:
[0029] In step S101 , when a test request of a target application from a JVM user is received, a current test case of the target application is input into the JVM, so as to perform a black-box test on the target application according to the current test case.
[0030] The embodiment of the present invention is applicable to the computing terminal that JVM (Java Virtual Machine, Java virtual machine) is installed, for example, desktop computer, notebook computer, panel computer etc., can carry out black box to the code of application software by test case on this JVM test. In the embodiment of the present invention, the target application is an application program to be...
Embodiment 2
[0040] figure 2 The implementation process of the black-box testing method based on the Java virtual machine provided by the second embodiment of the present invention is shown. For the convenience of explanation, only the parts related to the embodiment of the present invention are shown, and the details are as follows:
[0041] In step S201 , when a test request of a target application from a JVM user is received, a current test case of the target application is input into the JVM, so as to perform a black-box test on the target application according to the current test case.
[0042] The embodiment of the present invention is applicable to the computing terminal that JVM (Java Virtual Machine, Java virtual machine) is installed, for example, desktop computer, notebook computer, panel computer etc., can carry out black box to the code of application software by test case on this JVM test. In the embodiment of the present invention, the target application is an application ...
Embodiment 3
[0065] Figure 4 The structure of the black-box testing device based on the Java virtual machine provided by the third embodiment of the present invention is shown. For the convenience of description, only the parts related to the embodiment of the present invention are shown, including:
[0066] The test case input unit 41 is used to input the current test case of the target application into the JVM when receiving the test request of the target application by the user of the JVM, so as to carry out black-box testing to the target application according to the current test case;
[0067] The monitoring acquisition unit 42 is used to monitor the code running track of the target application when the target application is running according to the current test case, so as to obtain the executed code of the target application, and obtain the current code of the current test case for the target application according to the executed code coverage;
[0068] A report exporting unit 43,...
PUM

Abstract
Description
Claims
Application Information

- 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