To-be-tested front-end page determination method and device, storage medium and electronic equipment
A front-end page and determination method technology, which is applied in software testing/debugging, electrical components, software engineering design, etc., can solve problems such as abnormal page display, manual operation omissions or errors, and inability to cover the front-end page, so as to improve the front-end page range effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] figure 1 It is a flow diagram of a method for determining the front-end page to be tested provided by Embodiment 1 of the present disclosure. The embodiment of the present disclosure is applicable to accurately determining the situation where the branch code affects each front-end page when any branch code is modified. The method can Executed by the device for determining the front-end page to be tested, the device can be implemented in the form of software and / or hardware, optionally, implemented by electronic equipment, and the electronic equipment can be a mobile terminal, PC or server.
[0036] Such as figure 1 , the method of this embodiment includes:
[0037] S110. Acquire the trunk code and the updated branch code.
[0038] S120. For the main code and branch codes, based on the dependencies between files and the file correspondence rules of the front-end page, determine the first mapping relationship between the main code and the front-end page and the branch c...
Embodiment 2
[0065] Figure 4 It is a schematic flowchart of a method for determining a front-end page to be tested provided in Embodiment 2 of the present disclosure. This embodiment is optimized on the basis of the foregoing embodiments, such as Figure 4 As shown, the method includes:
[0066] S210. Acquire the trunk code and the updated branch code.
[0067] S220. For the main code and branch codes, based on the dependencies between files and the file correspondence rules of the front-end page, determine the first mapping relationship between the main code and the front-end page corresponding to the branch codes The second mapping relationship between the file and the front-end page.
[0068]S230. Identify a change file of the branch code relative to the trunk code.
[0069] S240. Determine a front-end page to be tested corresponding to the changed file based on the first mapping relationship and the second mapping relationship.
[0070] S250. Generate a front-end page forecast ra...
Embodiment 3
[0083] Image 6 It is a schematic structural diagram of a device for determining a front-end page to be tested provided in Embodiment 3 of the present disclosure. Such as Image 6 As shown, the device includes: a code acquisition module 310 , a first mapping relationship determination module 320 , a changed file determination module 330 and a front-end page determination module 340 to be tested.
[0084] Wherein, the code acquiring module 310 is used to acquire the trunk code and updated branch codes;
[0085] The first mapping relationship determination module 320 is configured to determine the first mapping relationship between the file corresponding to the main code and the front-end page based on the dependency relationship between the files and the file correspondence rules of the front-end page for the main code and the branch code. The mapping relationship and the second mapping relationship between the file corresponding to the branch code and the front-end page;
...
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