CN112817848A - Test information display method and device, electronic equipment and storage medium - Google Patents

Test information display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112817848A
CN112817848A CN202110118207.9A CN202110118207A CN112817848A CN 112817848 A CN112817848 A CN 112817848A CN 202110118207 A CN202110118207 A CN 202110118207A CN 112817848 A CN112817848 A CN 112817848A
Authority
CN
China
Prior art keywords
test
branch
information
target
annotation image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110118207.9A
Other languages
Chinese (zh)
Other versions
CN112817848B (en
Inventor
邵国强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110118207.9A priority Critical patent/CN112817848B/en
Publication of CN112817848A publication Critical patent/CN112817848A/en
Application granted granted Critical
Publication of CN112817848B publication Critical patent/CN112817848B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a test information display method, a test information display device, an electronic device and a storage medium, wherein the method comprises the following steps: the test server receives a test information acquisition request sent by the client, wherein the test information acquisition request carries a target branch identifier. And the test server determines target address information corresponding to the target branch identification according to the identification address mapping information. And the test server sends the target address information to the client so that the client acquires a target test annotation image from a target content distribution node corresponding to the target address information and displays the target test annotation image. The method can display the test annotation image when the user starts the test branch, avoid the situation that the updated information of the test branch is not completely mastered during the test, improve the timeliness and comprehensiveness of the test information display, improve the test efficiency and accuracy and simplify the operation of the tester.

Description

Test information display method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of automated testing technologies, and in particular, to a method and an apparatus for displaying test information, an electronic device, and a storage medium.
Background
In agile development, a software project is divided into a plurality of branches at the initial stage of construction, developers develop the branches respectively, and testers test the branches respectively.
In the related art, after a problem is found in a test, a developer modifies a development branch with the problem to obtain a new test branch, and the developer labels the new test branch, for example, information such as a test notice and a modification range. When testing a new test branch, a tester needs to download the latest installation package on the packaging platform and then go to the branch management system to obtain corresponding information. The method and the device lead the testers to easily overlook the label information provided by research and development, lead to test errors or omissions, and lead to the problem of inconvenient operation because the testers need to open the branch management system when needing to check the label information each time.
Disclosure of Invention
The present disclosure provides a test information display method, device, electronic device, and storage medium, to at least solve the problem that test information acquired in the related art is not comprehensive enough and is likely to cause a test error. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a method for displaying test information is provided, the method including:
receiving a test information acquisition request sent by a client, wherein the test information acquisition request carries a target branch identifier of a target test branch;
acquiring target address information corresponding to the target branch identification according to prestored identification address mapping information, wherein the identification address mapping information represents the corresponding relation between the branch identification and the address information of the test annotation image corresponding to the branch identification, the test annotation image represents the updating information of the test branch corresponding to the branch identification, and the address information represents the address of a content distribution node storing the test annotation image;
and sending the target address information to the client, so that the client acquires a target test annotation image corresponding to the target branch identifier from a content distribution node corresponding to the target address information, and displays the target test annotation image.
As an optional embodiment, before receiving the test information acquisition request sent by the client, the method further includes:
determining a newly added test branch;
acquiring test branch updating information of the newly added test branch;
and filling a preset image template according to the test branch updating information to obtain a test annotation image.
As an optional embodiment, the determining the newly added test branch includes:
monitoring test branch merging operation in a branch management system;
and under the condition that the test branch merging operation in the branch management system is triggered, determining the test branch corresponding to the test branch merging operation as a new test branch.
As an optional embodiment, the filling a preset image template according to the test branch update information to obtain a test annotation image includes:
acquiring text content coordinates and text format information on a preset image template, wherein the text content coordinates represent the display position of the test branch updating information on the image template, and the text format information represents the display style of the test branch updating information on the image template;
and adding the test branch updating information to the position corresponding to the text content coordinate according to the text format information to obtain the test annotation image.
As an optional embodiment, after obtaining the test annotation image, the method further includes:
uploading the test annotation image to a content distribution node;
acquiring address information of the test annotation image at the content distribution node;
determining identification address mapping information between the address information and the branch identification based on the address information and the branch identification of the newly-added test branch;
and storing the identification address mapping information.
As an optional embodiment, the uploading the test annotation image to a content distribution node includes:
and uploading the test annotation image to a content distribution center server, so that the content distribution center server sends the test annotation image to any content distribution node.
As an optional embodiment, after the storing the identification address mapping information, the method further includes:
adding the branch identification of the newly added test branch into the configuration information of the newly added test branch;
and sending the configuration information and the newly added test branch to a packaging platform so that the packaging platform packages the configuration information and the newly added test branch to obtain an installation package corresponding to the newly added test branch, and sending the installation package to the client in response to an installation package acquisition request sent by the client.
As an optional embodiment, after obtaining the target address information corresponding to the target branch identifier according to the pre-stored identifier address mapping information, the method further includes:
acquiring a target test annotation image corresponding to the target branch identification from a content distribution node corresponding to the target address information;
and sending the target test annotation image to the client so that the client displays the target test annotation image.
According to a second aspect of the embodiments of the present disclosure, there is provided a test information display method, including:
sending a test information acquisition request carrying a target branch identifier to a test server, wherein the test information acquisition request is used for enabling the test server to acquire target address information corresponding to the target branch identifier according to prestored identifier address mapping information, the identifier address mapping information represents the corresponding relation between the branch identifier and the address information of a test annotation image corresponding to the branch identifier, the test annotation image represents the updating information of the test branch corresponding to the branch identifier, and the address information represents the address of a content distribution node storing the test annotation image;
receiving the target address information;
acquiring a target test annotation image corresponding to the target branch identification from a content distribution node corresponding to the target address information;
and displaying the target test annotation image.
As an optional embodiment, before the sending the test information obtaining request carrying the target branch identifier to the test server, the method further includes:
sending an installation package acquisition request to a packaging platform;
receiving an installation package corresponding to the target test branch sent by the packaging platform;
obtaining a target test branch and configuration information of the target test branch based on the installation package;
and obtaining the target branch identification of the target test branch according to the configuration information of the target test branch.
As an optional embodiment, after obtaining the target branch identifier of the target test branch, the method further includes:
responding to a starting instruction of the target test branch, and generating an online interface request carrying the target branch identification;
generating a simulation test object of the online interface request;
and taking the simulation test object as the test information acquisition request.
As an optional embodiment, the test information obtaining request is used to enable the test server to obtain, according to pre-stored identifier address mapping information, target address information corresponding to the target branch identifier, and then obtain, from a content distribution node corresponding to the target address information, a target test annotation image corresponding to the target branch identifier;
the method further comprises the following steps:
and receiving and displaying the target test annotation image.
According to a third aspect of the embodiments of the present disclosure, there is provided a test information presentation apparatus, the apparatus including:
the request receiving module is configured to execute a test information obtaining request sent by a receiving client, wherein the test information obtaining request carries a target branch identifier of a target test branch;
a target address obtaining module configured to perform obtaining, according to pre-stored identification address mapping information, target address information corresponding to the target branch identification, where the identification address mapping information represents a correspondence between a branch identification and address information of a test label image corresponding to the branch identification, the test label image represents update information of a test branch corresponding to the branch identification, and the address information represents an address of a content distribution node storing the test label image;
and the target address sending module is configured to execute sending the target address information to the client, so that the client obtains a target test annotation image corresponding to the target branch identifier from a content distribution node corresponding to the target address information and displays the target test annotation image.
As an optional embodiment, the apparatus further comprises:
a newly added test branch determining module configured to perform determining a newly added test branch;
the updating information acquisition module is configured to execute the test branch updating information for acquiring the newly added test branch;
and the test annotation image acquisition module is configured to execute filling of a preset image template according to the test branch updating information to obtain a test annotation image.
As an optional embodiment, the newly added test branch determining module includes:
a monitoring unit configured to perform a test branch merging operation in a monitoring branch management system;
and the newly-added test branch determining unit is configured to execute the test branch corresponding to the test branch merging operation as the newly-added test branch under the condition that the test branch merging operation in the branch management system is triggered.
As an optional embodiment, the test annotation image acquisition module comprises:
the template information acquisition unit is configured to execute acquisition of text content coordinates and text format information on a preset image template, wherein the text content coordinates represent the display position of the test branch updating information on the image template, and the text format information represents the display style of the test branch updating information on the image template;
and the text content filling unit is configured to add the test branch updating information to a position corresponding to the text content coordinate according to the text format information to obtain the test annotation image.
As an optional embodiment, the apparatus further comprises:
the test annotation image sending module is configured to upload the test annotation image to a content distribution node;
the address information acquisition module is configured to execute the acquisition of the address information of the test annotation image at the content distribution node;
the mapping information acquisition module is configured to execute identification address mapping information between the address information and the branch identification based on the address information and the branch identification of the newly-added test branch;
a storage module configured to perform storing the identification address mapping information.
As an optional embodiment, the test annotation image sending module includes:
a test annotation image sending unit configured to perform uploading of the test annotation image to a content distribution center server, so that the content distribution center server sends the test annotation image to any one of the content distribution nodes.
As an optional embodiment, the apparatus further comprises:
a branch identifier adding module configured to add the branch identifier of the newly added test branch to the configuration information of the newly added test branch;
and the packaging information sending module is configured to execute sending of the configuration information and the newly added test branch to a packaging platform, so that the packaging platform packages the configuration information and the newly added test branch to obtain an installation package corresponding to the newly added test branch, and sends the installation package to the client in response to an installation package obtaining request sent by the client.
As an optional embodiment, the apparatus further comprises:
a target image obtaining module configured to perform obtaining a target test annotation image corresponding to the target branch identifier from a content distribution node corresponding to the target address information;
a target image sending module configured to execute sending the target test annotation image to the client, so that the client presents the target test annotation image.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a test information display apparatus, the apparatus including:
a request sending module configured to execute sending of a test information obtaining request carrying a target branch identifier to a test server, where the test information obtaining request is used to enable the test server to obtain target address information corresponding to the target branch identifier according to pre-stored identifier address mapping information, where the identifier address mapping information represents a correspondence between the branch identifier and address information of a test annotation image corresponding to the branch identifier, the test annotation image represents update information of a test branch corresponding to the branch identifier, and the address information represents an address of a content distribution node storing the test annotation image;
a target address receiving module configured to perform receiving the target address information;
a test annotation image acquisition module configured to execute acquiring a target test annotation image corresponding to the target branch identifier from a content distribution node corresponding to the target address information;
and the test annotation image display module is configured to display the target test annotation image.
As an optional embodiment, the apparatus further comprises:
the installation package acquisition request sending module is configured to execute sending of an installation package acquisition request to the packaging platform;
the installation package receiving module is configured to execute installation packages corresponding to the target test branches sent by the receiving and packaging platform;
the installation module is configured to execute the configuration information of the target test branch and the target test branch based on the installation package;
and the identification acquisition module is configured to execute the configuration information according to the target test branch to obtain the target branch identification of the target test branch.
As an optional embodiment, the apparatus further comprises:
an online interface request generating module configured to execute a start instruction in response to the target test branch and generate an online interface request carrying the target branch identifier;
an online interface request conversion module configured to execute a simulation test object that generates the online interface request; and taking the simulation test object as the test information acquisition request.
As an optional embodiment, the test information obtaining request is used to enable the test server to obtain, according to pre-stored identifier address mapping information, target address information corresponding to the target branch identifier, and then obtain, from a content distribution node corresponding to the target address information, a target test annotation image corresponding to the target branch identifier;
the device further comprises:
and the target image receiving module is configured to receive and display the target test annotation image.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic apparatus, the apparatus comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the test information presentation method as described above.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions of the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the test information presentation method as described above.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer program product comprising computer instructions which, when executed by a processor, implement the test information presentation method as described above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the test server receives a test information acquisition request sent by the client, wherein the test information acquisition request carries a target branch identifier. And the test server determines target address information corresponding to the target branch identification according to the identification address mapping information. And the test server sends the target address information to the client so that the client acquires a target test annotation image from a target content distribution node corresponding to the target address information and displays the target test annotation image. The method can display the test annotation image when the user starts the test branch, avoid the situation that the updated information of the test branch is not completely mastered during the test, improve the timeliness and comprehensiveness of the test information display, improve the test efficiency and accuracy and simplify the operation of the tester.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a schematic view of an application scenario of a test information presentation method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating an interaction method of a test information presentation method according to an example embodiment.
Fig. 3 is a flowchart illustrating an interaction method for uploading a new branch name by a server and obtaining a target branch name by a client according to an exemplary embodiment of the method for presenting test information.
Fig. 4 is a flowchart illustrating a method for acquiring a test annotation image at a server side in a test information displaying method according to an exemplary embodiment.
Fig. 5 is a schematic diagram illustrating a test annotation image in a test information presentation method according to an exemplary embodiment.
Fig. 6 is a flowchart illustrating a method for obtaining id address mapping information in a test information presentation method according to an exemplary embodiment.
Fig. 7 is a flowchart illustrating a method for a client to generate a test information obtaining request in a test information presentation method according to an exemplary embodiment.
Fig. 8 is a flowchart illustrating a test server acquiring a target test annotation image in a test information presentation method according to an exemplary embodiment.
Fig. 9 is a flowchart illustrating a method of a server side in a test information presentation method according to an exemplary embodiment.
Fig. 10 is a flowchart illustrating a method of a client side in a test information presentation method according to an example embodiment.
Fig. 11 is a schematic diagram illustrating a test information presentation method in a process of agile development testing of application software according to an exemplary embodiment.
Fig. 12 is a block diagram illustrating a server side apparatus in a test information presentation apparatus according to an exemplary embodiment.
FIG. 13 is a block diagram illustrating a client-side apparatus in a test information presentation apparatus according to an example embodiment.
FIG. 14 is a block diagram illustrating a client-side electronic device in accordance with an exemplary embodiment.
FIG. 15 is a block diagram illustrating a server-side electronic device in accordance with an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Before describing the present embodiment in detail, for ease of understanding, the commonly used key terms are first introduced and explained:
python, designed by Guido van Rossum of the institute of mathematics and computer science, Netherlands in the early 1990's, was used as a substitute for the language called ABC. Python is a cross-platform computer programming language. Is a high-level scripting language that combines interpretive, compiled, interactive, and object-oriented capabilities. Python provides an efficient high-level data structure and also enables simple and efficient object-oriented programming.
Agile development, which takes the requirement evolution of users as a core and adopts an iterative and progressive method to develop software. In agile development, a software project is cut into a plurality of sub-projects at the initial stage of construction, all the sub-projects are mutually connected and independently run, and the results of all the sub-projects are tested and have the characteristics of visibility, integration and operational use.
Fig. 1 is a schematic view of an application scenario of a test information presentation method according to an exemplary embodiment, as shown in fig. 1, the application scenario includes a test server 110 and a client 120, the test server 110 stores address information and identifier address mapping information corresponding to a test annotation image in advance, and the client 110 sends a test information acquisition request to the test server, where the test information acquisition request carries a target branch identifier. The test server 110 determines target address information corresponding to the target branch identifier according to the identifier address mapping information. The test server 110 sends the target address information to the client 120, and the client 120 obtains the target test annotation image from the target content distribution node corresponding to the target address information. The client 120 presents the target test annotation image.
In the embodiment of the present disclosure, the test server 110 may include a server operating independently, or a distributed server, or a server cluster composed of a plurality of servers. The test server 110 may include a network communication unit, a processor, and memory, among others. Specifically, the test server 110 may be configured to receive the test information obtaining request, determine target address information corresponding to the target branch identifier according to the identifier address mapping information, and send the target address information to the client 120.
In the embodiment of the present disclosure, the client 120 includes a physical device of a smart phone, a desktop computer, a tablet computer, a notebook computer, a digital assistant, a smart wearable device, and the like, and may also include software running in the physical device, such as an application program and the like. The operating system running on the entity device in the embodiment of the present application may include, but is not limited to, an android system, an IOS system, linux, Unix, windows, and the like. The client 120 includes a User Interface (UI) layer, and the client 120 provides display of a target test annotation image to the outside through the UI layer, and sends a test information acquisition request to the test server 110 based on an Application Programming Interface (API).
Fig. 2 is a flowchart illustrating a test information presentation method according to an exemplary embodiment, where the method is an interaction method between a client and a server, as shown in fig. 2, and includes the following steps.
S210, the client sends a test information acquisition request carrying a target branch identifier to a test server;
as an optional embodiment, referring to fig. 3, before the client sends the test information obtaining request carrying the target branch identifier to the test server, the method further includes:
s310, adding a branch identifier to configuration information of the newly added test branch by the test server;
s320, the test server sends configuration information and a newly added test branch to a packaging platform;
s330, the packaging platform packages the configuration information and the newly added test branches to obtain installation packages corresponding to the newly added test branches;
s340, the client sends an installation package obtaining request of the target test branch to a packaging platform;
and S350, the packaging platform responds to the installation package obtaining request and sends the installation package of the target test branch to the client.
S360, the client obtains a target test branch and configuration information of the target test branch based on the installation package;
and S370, the client obtains the target branch identification of the target test branch according to the configuration information of the target test branch.
As an alternative embodiment, the branch identifier may be a branch name of the test branch, and the test server adds the branch name to the configuration information of the newly added test branch, and sends the configuration information and the newly added test branch to the packaging platform. And the packaging platform packages the configuration information and the newly added test branches to obtain an installation package corresponding to the newly added test branches.
When the client needs to obtain the test branch, the client can access the packaging platform, select a target test branch required by the client on the packaging platform, send an installation package obtaining request of the target test branch to the packaging platform, and receive an installation package which is sent by the packaging platform and is connected with the target test branch. The client side installs the target test branch based on the installation package, and can obtain the target test branch and the configuration information of the target test branch. The client can obtain the target branch name of the target test branch from the configuration information of the target test branch.
The client side obtains the target branch identification from the installation package of the target test branch, and in the subsequent step of test information display, the client side can send a test information obtaining request carrying the target branch identification to the test server, so that the server returns the target address information corresponding to the target branch identification.
S220, the test server acquires target address information corresponding to the target branch identifier according to prestored identifier address mapping information;
as an optional embodiment, the identifier address mapping information represents a correspondence between a branch identifier and address information of a test label image corresponding to the branch identifier, the test label image represents update information of a test branch corresponding to the branch identifier, the address information represents an address of a content distribution node storing the test label image, the test server receives a test information acquisition request carrying a target branch identifier sent by the client, and the test server determines target address information corresponding to the target branch identifier according to the correspondence between the branch identifier and the address information in the identifier address mapping information. For example, if the storage address of the test annotation image corresponding to the branch identifier a is the address information a, the identifier address mapping information stored by the client is the corresponding relationship between the branch identifier a and the address information a. Under the condition that the client sends the target branch identifier a to the test server, the test server can determine the target address information corresponding to the branch identifier a as the address information a according to the identifier address mapping information.
Through the corresponding relation between the branch identification and the address information, the client can send the branch identification to the test server, and the test server can send the corresponding address information to the client, so that the step of the client for obtaining the address information is simplified.
S230, the test server sends target address information to the client;
s240, the client side obtains a target test labeling image corresponding to the target branch identification from the content distribution node corresponding to the target address information;
as an optional embodiment, the client sends a test annotation image acquisition request to the content distribution node corresponding to the target address information, where the test annotation image acquisition request may carry a target branch name, and the content distribution node sends, in response to the test annotation image acquisition request, a target test annotation image corresponding to the target branch name to the client. The target test labeling image is the test information of the target test branch, including the target branch identification, the modification content of the target test branch, the test attention and the like. The target branch identification may be a target branch name.
The client side obtains the target test annotation image from the content distribution node, so that the occupation of resources of the test server is avoided, and the storage space of the test server can be saved.
And S250, displaying the target test annotation image by the client.
As an alternative embodiment, referring to fig. 4, before a client sends a test information obtaining request carrying a target branch identifier to a test server, the test server may obtain address information, a branch identifier, and identifier address mapping information, where the method includes:
s410, determining a newly added test branch;
s420, acquiring test branch updating information of the newly added test branch;
and S430, filling the preset image template according to the test branch updating information to obtain a test annotation image.
As an alternative embodiment, the test server determines the newly added test branch and obtains the test branch update information of the newly added test branch. The test branch update information includes a branch identifier, modification content of the newly added test branch, test notice, and the like, and the branch identifier may be a branch name. The test server obtains a preset image template, and fills the test branch updating information into the image template to obtain a test annotation image. Referring to fig. 5, fig. 5 is a schematic diagram of a test annotation image. For example, the test server obtains the test branch update information B of the newly added test branch B, and obtains the branch identification B1 in the test branch update information B. And the test server updates the information B according to the test branch to obtain a test annotation image B2.
The test server determines the newly added test branch and acquires the test annotation image, so that the client can directly load and display the test annotation image when starting the test branch, the condition that test information is not completely mastered is avoided, the timeliness and comprehensiveness of test information display can be improved, the test efficiency and accuracy are improved, and the operation of a tester is simplified.
As an alternative embodiment, the determining the newly added test branch includes:
monitoring test branch merging operation in a branch management system;
and under the condition that the test branch merging operation in the branch management system is triggered, taking the test branch corresponding to the test branch merging operation as a new test branch.
As an alternative embodiment, the test server monitors the test branch merging operation in the branch management system, the branch management system may be a Gitlab, the Gitlab is an open source project for the warehouse management system, the Git is used as a code management tool, and is a network service built on the basis of the Git, the Git is an open source distributed version control system, and the client may modify the test branch at the Gitlab and merge the test branch into the main test branch. When the test server monitors that the client in the branch management system triggers the test branch merging operation, the test server may use the test branch corresponding to the branch merging operation as a new test branch to obtain test branch update information of the new test branch. For example, the client modifies test branch X and merges test branch X with main test branch Y. When the test server monitors the operation of combining the test branch X and the main test branch Y, the test server takes the test branch X as a new test branch to obtain the update information of the test branch in the test branch X.
The test server determines whether a newly added test branch exists or not by monitoring the test branch merging operation in the branch management system, so that the newly added test branch can be detected in time, and the accuracy of determining the newly added test branch is improved.
As an optional embodiment, the filling the preset image template according to the test branch update information to obtain the test annotation image includes:
acquiring text content coordinates and text format information on a preset image template, wherein the text content coordinates represent the display position of the test branch updating information on the image template, and the text format information represents the display style of the test branch updating information on the image template;
and adding the test branch updating information to the position corresponding to the text content coordinate according to the text format information to obtain a test annotation image.
As an alternative embodiment, the test server obtains a preset image template, where the image template may be a default 9: blank picture of 16 scale. The test server determines text content coordinates and text format information on the image template based on a preset image processing tool, processes the image template, and adds test branch updating information to a position corresponding to the text content coordinates according to the text format information to obtain a test annotation image. The text format information may include different display styles such as colors, fonts, and the like.
As an alternative embodiment, the Image processing tool may be a Python Image Library (PIL). When the test server utilizes the PIL to process the image, the function text is called, and the function text can be used for adding annotation text in the picture. The code when the function text is called may be "draw. And the test server calls the function text, and adds the test branch updating information to a position corresponding to the text content coordinate in the image template according to the text format information to obtain a test annotation image.
As an alternative embodiment, when the test server performs Image processing by using the PIL, the PIL is introduced through the "Image PIL", and an Image class and an Image draw class are introduced from the PIL through the "from PIL Image" and the "from PIL Image draw", wherein the Image class is used for opening the Image template, and the Image draw class is used for drawing the Image template. And the test server initializes the Image class and loads the Image template. The test server initializes the ImageDraw class and starts to draw the image template. The code for initializing the Image class may be "im ═ Image. The code of the server for storing the test annotation image can be "im.save (new _ filename)", and the test annotation image is stored as a new file.
The test server utilizes the image processing tool to directly add the updated information of the test branch to the image template, thereby simplifying the step of generating the test annotation image and reducing the complexity of generating the test annotation image.
As an optional embodiment, after obtaining the test annotation image, the method further includes:
s610, uploading the test annotation image to a content distribution node;
s620, acquiring address information of the test annotation image in the content distribution node;
s630, determining identification address mapping information between the address information and the branch identification based on the address information and the branch identification of the newly added test branch;
and S640, storing the identification address mapping information.
As an optional embodiment, the test server sends the test annotation image to a target Content Delivery node in a Content Delivery Network (CDN), and the target Content Delivery node stores the test annotation image. The test server acquires address information of the target content distribution node. And the test server determines the corresponding relation between the address information and the branch identification according to the branch identification in the address information and the test branch updating information to obtain identification address mapping information. For example: and the test server sends the test annotation image B2 to the target content distribution node C for storage, so as to obtain the address information C1 of the target content distribution node C. The test server can determine that the branch identification B1 and the address information C1 have a corresponding relationship, and generate identification address mapping information.
The test server stores the identification address mapping information and uploads the test annotation image to the content distribution node, so that the storage space of the test server can be saved.
As an alternative embodiment, the sending the test annotation image to the target content distribution node comprises:
and sending the test annotation image to the content distribution center server, so that the content distribution center server sends the test annotation image to any content distribution node.
As an alternative embodiment, the content distribution network includes a content distribution center server and a plurality of content distribution nodes, the test server may send the test annotation image to the content distribution center server, and the content distribution center server may send the test annotation image to any content distribution node for storage. The content distribution center server may transmit address information of the content distribution node to the test server. The test server can determine the corresponding relation between the address information and the branch identification, generate identification address mapping information, and send target address information corresponding to the target branch identification to the client when receiving a test information acquisition request sent by the client. The client can access the target content distribution node according to the target address information and obtain the test annotation image from the content distribution node.
The test server sends the test annotation image to the content distribution network for storage, so that the storage space of the test server can be saved.
As an alternative embodiment, please refer to fig. 7, after obtaining the target branch identifier of the target test branch, the method further includes:
s710, responding to a starting instruction of a target test branch, and generating an online interface request carrying a target branch identifier;
s720, generating a simulation test object requested by the online interface;
and S730, taking the simulation test object as a test information acquisition request.
As an optional embodiment, the client generates an online interface request carrying the target branch identifier in response to a start instruction of the target test branch. The client side can have application software of the test branch, and the target test branch can be started by starting the application software. After the client starts the target test branch, an online interface request carrying the target branch identifier can be generated. The online Interface request is information transmitted based on an Application Programming Interface (api) between the client and the online server, and the client communicates with the online server when executing the target test branch, so that the generated request is the online Interface request, but address information corresponding to the target branch identifier does not exist in the online server. Therefore, the line interface request needs to be converted to obtain the test information acquisition request.
The client can use the simulation test object as a test information acquisition request by generating the simulation test object requested by the online interface, so that the test information acquisition request can be transmitted through the test interface corresponding to the test server. The client can also switch the application program interface, and the application program interface corresponding to the online server in the client is switched to the test interface corresponding to the test server, so that the test information acquisition request is transmitted through the test interface corresponding to the test server.
The client converts the online interface request to obtain the simulation test object, so that information transmission between the client and the test server is facilitated, the client is prevented from sending the test information acquisition request to the online server, and the accuracy of sending the test information acquisition request is improved.
As an optional embodiment, the method further comprises:
s810, the client sends a test information acquisition request carrying a target branch identifier to a test server;
s820, the test server acquires target address information corresponding to the target branch identifier according to pre-stored identifier address mapping information;
s830, the test server obtains a target test annotation image corresponding to the target branch identification from the content distribution node corresponding to the target address information;
and S840, the test server sends the target test annotation image.
And S850, receiving and displaying the target test annotation image by the client.
As an optional embodiment, after sending the test information acquisition request to the test server, the client may directly obtain the target test annotation image from the test server. The test information acquisition request includes a target branch identifier, and the test server may determine target address information corresponding to the target branch identifier according to the identifier address mapping information. The test server can access the content distribution node according to the target address information, obtain the target test annotation image from the content distribution node corresponding to the target address information, and then send the target test annotation image to the client.
After the client receives the target test annotation image, the client can simultaneously display the target test annotation image in a screen flashing image mode when the target test branch is started.
When the client side directly obtains the target test annotation image, the client side does not need to access the content distribution node, so that the operation of the client side can be reduced, the simplicity of obtaining the target test annotation image is improved, and the user experience is improved.
Fig. 9 is a flowchart illustrating a test information presentation method according to an exemplary embodiment, where the method is applied to a server side, as shown in fig. 9, and includes the following steps.
S910, receiving a test information acquisition request sent by a client, wherein the test information acquisition request carries a target branch identification of a target test branch;
s920, acquiring target address information corresponding to the target branch identifier according to pre-stored identifier address mapping information;
s930, sending the target address information to the client, so that the client acquires a target test annotation image corresponding to the target branch identifier from the content distribution node corresponding to the target address information, and displaying the target test annotation image.
As an optional embodiment, when it is monitored that the test branch merging operation in the branch management system is triggered, the test server may use the test branch corresponding to the test branch merging operation as a new test branch to obtain test branch update information of the new test branch. The test server can add the test branch updating information to a preset image template to obtain a test annotation image. The test server can send the test annotation image to the target content distribution node for storage, and acquire the address information of the target content distribution node. The test branch update information may include branch identification, modification content of the newly added test branch, test attention, and the like. The test server may determine a correspondence between the branch identification and the address information to obtain identification address mapping information. The test server may store identification address mapping information.
And the test server adds the branch identification into the configuration information, and sends the configuration information and the newly added test branch to a packaging platform for packaging to obtain an installation package of the newly added test branch. The packaging platform can respond to an installation package obtaining request sent by the client and send the installation package to the client.
When the test information is displayed, the test server can receive a test information acquisition request which is sent by the client and carries a target branch identification, and can determine target address information corresponding to the target branch identification according to identification address mapping information, the identification address mapping information represents the corresponding relation between the branch identification and the address information of the test annotation image corresponding to the branch identification, the test annotation image represents the update information of the test branch corresponding to the branch identification, and the address information represents the address of a content distribution node storing the test annotation image. The test server can send the target address information to the client, so that the client acquires the target test annotation image from the target content distribution node corresponding to the target address information.
The test server may also determine target address information corresponding to the target branch identifier according to the identifier address mapping information when receiving a test information acquisition request carrying the target branch identifier sent by the client, and acquire a target test annotation image according to a content distribution node to which the target address information corresponds. And the test server sends the target test annotation image to the client.
Fig. 10 is a flowchart illustrating a test information presentation method according to an exemplary embodiment, which is applied to the client side as shown in fig. 10 and includes the following steps.
S1010, sending a test information acquisition request carrying a target branch identifier to a test server, wherein the test information acquisition request is used for enabling the test server to acquire target address information corresponding to the target branch identifier according to prestored identifier address mapping information;
s1020, receiving target address information;
s1030, acquiring a target test annotation image corresponding to the target branch identifier from the content distribution node corresponding to the target address information;
and S1040, displaying the target test annotation image.
As an optional embodiment, after obtaining the installation package from the packaging platform, the client may install the target test branch based on the installation package to obtain the target test branch and the configuration information, and the client may obtain the target branch identifier of the target test branch from the configuration information. The client may respond to the start instruction of the target test branch, and generate an online interface request carrying the target branch identifier when the application software of the target test branch is started. The client can generate a simulation test object requested by the online interface, and the simulation test object is used as a test information acquisition request, so that the test information acquisition request can be transmitted through a test interface corresponding to the test server in the client.
The client may send the test information acquisition request to the test server, and receive target address information corresponding to the target branch identifier sent by the test server. The client can send a test annotation image acquisition request to a target content distribution node corresponding to the target address information, and the test annotation image acquisition request can carry a target branch identifier. And the target content distribution node sends the target test annotation image corresponding to the target branch identification to the client, and the client can display the target test annotation image. When the test server can obtain the target test annotation image according to the target address information, the client can also directly obtain the target test annotation image from the test server. The client can directly load the target test annotation image when the target test branch is started, and display the target test annotation image in a screen flashing mode.
As an alternative embodiment, please refer to fig. 11, which is a schematic diagram illustrating test information during agile development testing of application software shown in fig. 11. The developer modifies the test branch M and may add some information such as test notices, and then merges the test branch M into the main test branch O and submits it to the tester. When the test server monitors that the operation of merging the test branch M into the main test branch O is triggered in the branch management system, the test server determines that the test branch M is a new test branch, and obtains the test branch update information of the test branch M, including the branch identification M, the modification content of the test branch M, the test notice and the like. The test server adds the test branch update information to the preset image template to generate a test annotation image M1. The test server sends the test annotation image M1 to the target content distribution node N for storage, and receives the address information N of the target content distribution node N. The test server determines the corresponding relation between the address information n and the branch mark m and stores the corresponding relation as mark address mapping information. And the test server adds the branch identifier M into the configuration information, and sends the configuration information and the test branch M to a packaging platform for packaging to obtain an installation package of the test branch M.
And after obtaining the installation package of the test branch M from the packaging platform, the test client installs the test branch M and obtains the branch identifier M of the test branch M from the configuration information. And after the test client opens the test branch m, generating an online interface request with a branch identifier m, generating a test simulation object corresponding to the online interface request, and sending the test simulation object serving as a test information acquisition request to the test server. And the test server sends the address information n corresponding to the branch identifier m to the test client according to the identifier address mapping information. And the test client acquires the test annotation image M1 from the target content distribution node N corresponding to the address information N. The test client displays the test annotation image M1, and obtains information such as the modification content and the test notice of the test branch M.
The embodiment of the disclosure provides a test information display method, which includes: the test server prestores address information and identification address mapping information corresponding to the test annotation image, and receives a test information acquisition request sent by the client, wherein the test information acquisition request carries a target branch identification. And the test server determines target address information corresponding to the target branch identification according to the identification address mapping information. And the test server sends the target address information to the client so that the client acquires a target test annotation image from a target content distribution node corresponding to the target address information and displays the target test annotation image. The method can display the test annotation image when the user starts the test branch, avoids the situation that the updated information of the test branch is not completely mastered during testing, improves the timeliness and the comprehensiveness of test information display, improves the test efficiency and the accuracy, and simplifies the operation of testers.
FIG. 12 is a block diagram illustrating a test information presentation device according to an example embodiment. Referring to fig. 12, the apparatus is applied to a server side, and includes:
a request receiving module 1210 configured to execute a test information obtaining request sent by a receiving client, where the test information obtaining request carries a target branch identifier of a target test branch;
a target address obtaining module 1220, configured to execute obtaining, according to pre-stored identification address mapping information, target address information corresponding to a target branch identifier, the identification address mapping information representing a correspondence between a branch identifier and address information of a test label image corresponding to the branch identifier, the test label image representing update information of a test branch corresponding to the branch identifier, the address information representing an address of a content distribution node storing the test label image;
and the target address sending module 1230 is configured to execute sending the target address information to the client, so that the client obtains the target test annotation image corresponding to the target branch identifier from the content distribution node corresponding to the target address information, and displays the target test annotation image.
As an optional embodiment, the apparatus further comprises:
a newly added test branch determining module configured to perform determining a newly added test branch;
the updating information acquisition module is configured to execute the test branch updating information for acquiring the newly added test branch;
and the test annotation image acquisition module is configured to execute the step of filling the preset image template according to the test branch updating information to obtain a test annotation image.
As an alternative embodiment, the newly added test branch determining module includes:
a monitoring unit configured to perform a test branch merging operation in a monitoring branch management system;
and the newly-added test branch determining unit is configured to execute the test branch corresponding to the test branch merging operation as the newly-added test branch under the condition that the test branch merging operation in the branch management system is triggered.
As an alternative embodiment, the test annotation image acquisition module comprises:
the template information acquisition unit is configured to execute acquisition of text content coordinates and text format information on a preset image template, wherein the text content coordinates represent the display position of the test branch updating information on the image template, and the text format information represents the display style of the test branch updating information on the image template;
and the text content filling unit is configured to add the test branch updating information to the position corresponding to the text content coordinate according to the text format information to obtain a test annotation image.
As an optional embodiment, the apparatus further comprises:
the test annotation image sending module is configured to upload the test annotation image to the content distribution node;
the address information acquisition module is configured to execute the acquisition of the address information of the test annotation image in the content distribution node;
the mapping information acquisition module is configured to execute branch identification based on the address information and the newly added test branch and determine identification address mapping information between the address information and the branch identification;
a storage module configured to perform storing the identification address mapping information.
As an alternative embodiment, the test annotation image sending module comprises:
and the test annotation image sending unit is configured to upload the test annotation image to the content distribution center server so that the content distribution center server sends the test annotation image to any content distribution node.
As an optional embodiment, the apparatus further comprises:
a branch identifier adding module configured to add the branch identifier of the newly added test branch to the configuration information of the newly added test branch;
and the packaging information sending module is configured to execute sending of the configuration information and the newly added test branch to the packaging platform, so that the packaging platform packages the configuration information and the newly added test branch to obtain an installation package corresponding to the newly added test branch, and sends the installation package to the client in response to an installation package obtaining request sent by the client.
As an optional embodiment, the apparatus further comprises:
the target image acquisition module is configured to execute the acquisition of a target test annotation image corresponding to the target branch identification from a content distribution node corresponding to the target address information;
and the target image sending module is configured to execute sending the target test annotation image to the client so that the client displays the target test annotation image.
FIG. 13 is a block diagram illustrating a test information presentation device according to an example embodiment. Referring to fig. 13, the apparatus is applied to a client side, and includes:
a request sending module 1310 configured to execute sending of a test information obtaining request carrying a target branch identifier to a test server, where the test information obtaining request is used to enable the test server to obtain target address information corresponding to the target branch identifier according to pre-stored identifier address mapping information, where the identifier address mapping information represents a correspondence between the branch identifier and address information of a test label image corresponding to the branch identifier, the test label image represents update information of a test branch corresponding to the branch identifier, and the address information represents an address of a content distribution node storing the test label image;
a target address receiving module 1320 configured to perform receiving target address information;
a test annotation image obtaining module 1330 configured to perform obtaining a target test annotation image corresponding to the target branch identifier from the content distribution node corresponding to the target address information;
the test annotation image presentation module 1340 is configured to perform presentation of the target test annotation image.
As an optional embodiment, the apparatus further comprises:
the installation package acquisition request sending module is configured to execute sending of an installation package acquisition request to the packaging platform;
the installation package receiving module is configured to execute installation packages corresponding to the target test branches sent by the receiving and packaging platform;
the installation module is configured to execute the configuration information of the target test branch and the target test branch based on the installation package;
and the identification acquisition module is configured to execute the configuration information according to the target test branch to obtain the target branch identification of the target test branch.
As an optional embodiment, the apparatus further comprises:
the online interface request generating module is configured to execute a starting instruction responding to the target test branch and generate an online interface request carrying a target branch identifier;
an online interface request conversion module configured to execute a simulation test object that generates an online interface request; and taking the simulation test object as a test information acquisition request.
As an optional embodiment, the test information obtaining request is used to enable the test server to obtain, according to the pre-stored identifier address mapping information, target address information corresponding to the target branch identifier, and then obtain, from the content distribution node corresponding to the target address information, a target test annotation image corresponding to the target branch identifier;
the device also includes:
and the target image receiving module is configured to receive and display the target test annotation image.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 14 is a block diagram illustrating an electronic device for a client side according to an exemplary embodiment, the electronic device may be a terminal, and an internal structure thereof may be as shown in fig. 14. The electronic device comprises a processor, a memory, a network interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a test information presentation method. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the electronic equipment, an external keyboard, a touch pad or a mouse and the like.
Fig. 15 is a block diagram illustrating an electronic device for a server side, which may be a server, according to an exemplary embodiment, and an internal structure thereof may be as shown in fig. 15. The electronic device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a test information presentation method.
It will be understood by those skilled in the art that the configurations shown in fig. 14 and 15 are block diagrams of only some of the configurations relevant to the present disclosure, and do not constitute a limitation on the electronic devices to which the present disclosure may be applied, and a particular electronic device may include more or less components than those shown in the figures, or combine certain components, or have a different arrangement of components.
In an exemplary embodiment, there is also provided an electronic device including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the test information presentation method as in the embodiments of the present disclosure.
In an exemplary embodiment, a computer-readable storage medium is also provided, and when executed by a processor of an electronic device, the instructions in the computer-readable storage medium enable the electronic device to perform a test information presentation method in the embodiments of the present disclosure.
In an exemplary embodiment, a computer program product containing instructions is also provided, which when run on a computer, causes the computer to perform the test information presentation method in the embodiments of the present disclosure.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A test information display method is characterized by comprising the following steps:
receiving a test information acquisition request sent by a client, wherein the test information acquisition request carries a target branch identifier of a target test branch;
acquiring target address information corresponding to the target branch identification according to prestored identification address mapping information, wherein the identification address mapping information represents the corresponding relation between the branch identification and the address information of the test annotation image corresponding to the branch identification, the test annotation image represents the updating information of the test branch corresponding to the branch identification, and the address information represents the address of a content distribution node storing the test annotation image;
and sending the target address information to the client, so that the client acquires a target test annotation image corresponding to the target branch identifier from a content distribution node corresponding to the target address information, and displays the target test annotation image.
2. The method according to claim 1, wherein before receiving the test information acquisition request sent by the client, the method further comprises:
determining a newly added test branch;
acquiring test branch updating information of the newly added test branch;
and filling a preset image template according to the test branch updating information to obtain a test annotation image.
3. The method of claim 2, wherein the determining the newly added test branch comprises:
monitoring test branch merging operation in a branch management system;
and under the condition that the test branch merging operation in the branch management system is triggered, determining the test branch corresponding to the test branch merging operation as a new test branch.
4. The method for displaying test information according to claim 2, wherein the filling a preset image template according to the test branch update information to obtain a test annotation image comprises:
acquiring text content coordinates and text format information on a preset image template, wherein the text content coordinates represent the display position of the test branch updating information on the image template, and the text format information represents the display style of the test branch updating information on the image template;
and adding the test branch updating information to the position corresponding to the text content coordinate according to the text format information to obtain the test annotation image.
5. The method for displaying test information according to claim 2, further comprising, after obtaining the test annotation image:
uploading the test annotation image to a content distribution node;
acquiring address information of the test annotation image at the content distribution node;
determining identification address mapping information between the address information and the branch identification based on the address information and the branch identification of the newly-added test branch;
and storing the identification address mapping information.
6. A test information display method is characterized by comprising the following steps:
sending a test information acquisition request carrying a target branch identifier to a test server, wherein the test information acquisition request is used for enabling the test server to acquire target address information corresponding to the target branch identifier according to prestored identifier address mapping information, the identifier address mapping information represents the corresponding relation between the branch identifier and the address information of a test annotation image corresponding to the branch identifier, the test annotation image represents the updating information of the test branch corresponding to the branch identifier, and the address information represents the address of a content distribution node storing the test annotation image;
receiving the target address information;
acquiring a target test annotation image corresponding to the target branch identification from a content distribution node corresponding to the target address information;
and displaying the target test annotation image.
7. A test information presentation apparatus, the apparatus comprising:
the request receiving module is configured to execute a test information obtaining request sent by a receiving client, wherein the test information obtaining request carries a target branch identifier of a target test branch;
a target address obtaining module configured to perform obtaining, according to pre-stored identification address mapping information, target address information corresponding to the target branch identification, where the identification address mapping information represents a correspondence between a branch identification and address information of a test label image corresponding to the branch identification, the test label image represents update information of a test branch corresponding to the branch identification, and the address information represents an address of a content distribution node storing the test label image;
and the target address sending module is configured to execute sending the target address information to the client, so that the client obtains a target test annotation image corresponding to the target branch identifier from a content distribution node corresponding to the target address information and displays the target test annotation image.
8. A test information presentation apparatus, the apparatus comprising:
a request sending module configured to execute sending of a test information obtaining request carrying a target branch identifier to a test server, where the test information obtaining request is used to enable the test server to obtain target address information corresponding to the target branch identifier according to pre-stored identifier address mapping information, where the identifier address mapping information represents a correspondence between the branch identifier and address information of a test annotation image corresponding to the branch identifier, the test annotation image represents update information of a test branch corresponding to the branch identifier, and the address information represents an address of a content distribution node storing the test annotation image;
a target address receiving module configured to perform receiving the target address information;
a test annotation image acquisition module configured to execute acquiring a target test annotation image corresponding to the target branch identifier from a content distribution node corresponding to the target address information;
and the test annotation image display module is configured to display the target test annotation image.
9. An electronic device, characterized in that the device comprises:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the test information presentation method of claims 1 to 6.
10. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the test information presentation method of claims 1 to 6.
CN202110118207.9A 2021-01-28 2021-01-28 Test information display method and device, electronic equipment and storage medium Active CN112817848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110118207.9A CN112817848B (en) 2021-01-28 2021-01-28 Test information display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110118207.9A CN112817848B (en) 2021-01-28 2021-01-28 Test information display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112817848A true CN112817848A (en) 2021-05-18
CN112817848B CN112817848B (en) 2024-03-12

Family

ID=75860127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110118207.9A Active CN112817848B (en) 2021-01-28 2021-01-28 Test information display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112817848B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160378647A1 (en) * 2014-07-30 2016-12-29 Hitachi, Ltd. Development supporting system
CN110633101A (en) * 2019-09-25 2019-12-31 杭州港盛软件科技有限公司 Program code management method, device and equipment and readable storage medium
CN110704309A (en) * 2019-09-12 2020-01-17 上海麦克风文化传媒有限公司 Automatic code quality inspection method and system
CN111198818A (en) * 2019-12-30 2020-05-26 北京中网易企秀科技有限公司 Information acquisition method and device
CN111639019A (en) * 2020-04-24 2020-09-08 北京五八信息技术有限公司 Code testing method and device and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160378647A1 (en) * 2014-07-30 2016-12-29 Hitachi, Ltd. Development supporting system
CN110704309A (en) * 2019-09-12 2020-01-17 上海麦克风文化传媒有限公司 Automatic code quality inspection method and system
CN110633101A (en) * 2019-09-25 2019-12-31 杭州港盛软件科技有限公司 Program code management method, device and equipment and readable storage medium
CN111198818A (en) * 2019-12-30 2020-05-26 北京中网易企秀科技有限公司 Information acquisition method and device
CN111639019A (en) * 2020-04-24 2020-09-08 北京五八信息技术有限公司 Code testing method and device and readable storage medium

Also Published As

Publication number Publication date
CN112817848B (en) 2024-03-12

Similar Documents

Publication Publication Date Title
CN108153520B (en) Software development method and device
CN111596965B (en) Project engineering initialization method, device, computer equipment and storage medium
CN109542543B (en) Application page processing method and device, storage medium and computer equipment
CN108804159B (en) Javascript module loading method and preprocessing method and device thereof, and computer equipment
CN110020280B (en) Application page display method and device, storage medium and computer equipment
CN113704110B (en) Automatic testing method and device for user interface
CN114465937A (en) Network card testing method, device, server, medium, and computer program product
CN109460546A (en) List generation method, device and electronic equipment
CN112035114A (en) Page rollback method, device, equipment and medium
CN113467780A (en) Data acquisition method and device, electronic equipment and storage medium
CN110888794B (en) Interface testing method and device
CN111857803A (en) Page updating method, device, server and storage medium
CN113626225B (en) Program calling method, terminal device and medium
CN112035113A (en) Navigation bar loading method, device, equipment and medium of H5 page
CN112817848B (en) Test information display method and device, electronic equipment and storage medium
CN110865943A (en) Interface testing method and device, computer equipment and storage medium
CN115237459A (en) Software development kit generation method, device, equipment, storage medium and product
CN114429145A (en) Entry translation method and device, electronic equipment and computer readable storage medium
CN114862470A (en) Advertisement resource adaptation method and device, computer equipment and storage medium
CN111538606B (en) Method, device and equipment for testing simulation Dubbo interface
CN115525305A (en) Data processing method, application starting method, device, computer equipment and storage medium
CN114254232A (en) Cloud product page generation method and device, computer equipment and storage medium
CN113704120A (en) Data transmission method, device, equipment and storage medium
CN114721929A (en) Test method, test device, storage medium and equipment
CN114675912A (en) Theme skin switching method and device, computer equipment and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant