Test method based on MOCK technology
A test method and technology, applied in the computer field, can solve the problems of delayed handover test events, low development efficiency, etc., and achieve the effect of shortening online events, high human efficiency, and realizing process efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] A test method based on MOCK technology, the method comprises the following steps,
[0032] S1, the back-end developer submits the back-end interface document, specifying the input and output parameters;
[0033] S2, configure this interface in the Mock server, mainly configure the URL address of the Mock, the reference template, and the association between the real address and the Mock address;
[0034] In S3, front-end developers and front-end and back-end testers can find the association between the URL of the mock and the real address by connecting to the mock proxy server, and obtain the method of simulating the participation, and carry out their respective work, so that the project schedule can be advanced.
Embodiment 2
[0036] A test method based on MOCK technology, the method comprises the following steps,
[0037] S3.1, the front-end developers find the association between the URL of the mock and the real address by connecting to the mock proxy server, and obtain the method of mocking out parameters, so that the front-end development can be carried out without any actual interface provided by the back-end.
[0038] S3.2, the back-end interface tester finds the association between the URL of the mock and the real address by connecting to the mock proxy server, and obtains the method of simulating the parameters, which can be performed without any actual interface provided by the back-end Interface test script development
[0039] S3.3, the front-end testers and front-end developers cooperate to find the association between the URL of the mock and the real address by connecting to the mock proxy server, and obtain the method of simulating the parameters for front-end testing.
[0040] The re...
Embodiment 4
[0042] A storage medium capable of storing the carrier of the above MOCK technology-based testing method, the carrier may be embodied in the form of program modules, program installation packages, program packaging packages, and the like. The storage medium may be a readable signal medium or a computer-readable storage medium or any combination of the above two, and the computer-readable medium includes but is not limited to optical signals, electrical signals, magnetic signals, photoelectric signals, infrared signals or semiconductor system And its device and device, the combination of any one of the above methods. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), opti...
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