A code debugging and testing method and device, and storage medium
A test method and a technology of a test device, which are applied in the field of code debugging test methods and devices, and storage media, can solve problems such as blind spots and difficult test ranges, and achieve the effects of improving the sense of hierarchy, reducing development time, and ensuring correctness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] see figure 1 , figure 1 The code debugging and testing method provided in this embodiment includes:
[0041] Step 101 , encapsulate the functional interface module whose coupling meets the preset condition into a test interface.
[0042] In this step, for some function codes with high coupling, it is necessary to encapsulate a code function interface module into a test interface in units of functions, and the module and convenience provide testing use to ensure that the tested function code does not need to be changed.
[0043] Step 102: Design a general driver layer for different test interfaces.
[0044] For different test function interfaces, a general driver layer is designed to achieve the purpose of flexible scheduling and use of test interfaces of various functions and interface modules.
[0045] Step 103: Build a test case and at least one function usage scenario.
[0046] By building various functional usage scenarios, it can adapt to various test execution...
Embodiment 2
[0079] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or completed by instructions that control relevant hardware, and the instructions can be stored in a computer-readable storage medium, and loaded and executed by the processor.
[0080] To this end, embodiments of the present invention provide a storage medium in which multiple instructions are stored, and the instructions can be loaded by a processor to execute steps in the code debugging and testing method provided by the embodiments of the present invention. For example, the instruction can perform the following steps:
[0081] Encapsulate the functional interface module whose coupling meets the preset conditions into a test interface;
[0082] Design a general driver layer for different test interfaces;
[0083] Build test cases and at least one functional usage scenario;
[0084] The test case is used t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com