Information push test method and device, storage medium and equipment

By generating a test task list and configuration interface, the target general test cases are automatically generated, and the problem of lack of unified standards in information push testing is solved, and the standardization and automation of test cases is realized, and the test accuracy and efficiency are improved.

CN120256286APending Publication Date: 2025-07-04TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410006886.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-02
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In the prior art, the information push testing process lacks unified standards, and relying on manual experience makes it difficult to form effective process management for test cases, and it is easy to miss important links, resulting in inefficiency in testing and missed testing.

Method used

Provides an information push test method, which automatically generates target general test cases by generating a test task list, displaying the configuration interface, and selecting target configuration options, and realizes the standardization and automation of test cases.

Benefits of technology

It improves the accuracy of information push tests, ensures the standardization and standardization of the test process, reduces missed tests, and improves testing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120256286A_ABST
    Figure CN120256286A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an information push test method and device, a storage medium and equipment, which can be applied to various scenes such as cloud technology, artificial intelligence, intelligent traffic, auxiliary driving and the like. A test task list is generated and displayed in response to a test task creation operation for a target application program, and the test task list at least comprises a test case creation task; in response to a first selection operation for the test case creation task, displaying a configuration interface for information pushing, the configuration interface comprising a plurality of configuration options; and in response to a second selection operation of selecting a plurality of target configuration options from the plurality of configuration options, displaying a target general test case obtained by combining the plurality of target configuration options on the configuration interface, and generating a corresponding test result based on the target general test case. According to the embodiment of the invention, the test accuracy of information push can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of software testing, and particularly relates to a test method, device, storage medium, and equipment for information push. Background Art

[0002] Currently, in order to improve the public's information acquisition ability, more and more applications promote more new information content through information push during the object's use process. Before a new application is connected to the information push system for information push, it is necessary to conduct tests on information push, and the test efficiency affects the promotion ability of the new information content.

[0003] In the related art, for each link of the information push test of a new application, it is necessary to rely on manual operation for separate management, and rely on manual experience to generate various test cases for the test content. Finally, based on the written test cases, the information push process is tested on the new application.

[0004] However, the manual method needs to rely on the experience of personnel to execute, resulting in difficulty in forming a unified standard for testing and inability to form effective process management. Therefore, when facing the information push test of different new applications, the existing test process is prone to missing important links, resulting in test cases being difficult to meet the test requirements, often causing missed tests, and ultimately reducing the test efficiency of information push. Summary of the Invention

[0005] The embodiments of this application provide a test method, device, storage medium, and equipment for information push, which can improve the test accuracy of information push.

[0006] To solve the above technical problems, the embodiments of this application provide the following technical solutions:

[0007] The first aspect of the embodiments of this application provides a test method for information push, including:

[0008] In response to a test task creation operation for a target application, generate and display a test task list, where the test task list at least includes a test case creation task;

[0009] In response to a first selection operation for the test case creation task, display a configuration interface for information push, where the configuration interface includes multiple configuration options;

[0010] In response to a second selection operation of selecting multiple target configuration options from the multiple configuration options, display a target general test case obtained by combining the multiple target configuration options on the configuration interface, and generate a corresponding test result based on the target general test case.

[0011] The second aspect of the embodiments of the present application provides a test device for information push, including:

[0012] A task list creation unit, configured to generate and display a test task list in response to a test task creation operation for a target application, where the test task list at least includes a test case creation task;

[0013] A task selection unit, configured to display a configuration interface for information push in response to a first selection operation for the test case creation task, where the configuration interface includes a plurality of configuration options;

[0014] A test unit, configured to display a target general test case obtained by combining a plurality of the target configuration options on the configuration interface and generate a corresponding test result based on the target general test case in response to a second selection operation of selecting a plurality of target configuration options from the plurality of configuration options.

[0015] In some embodiments, the above test unit is configured to:

[0016] Obtain first information push content matching the target application, and obtain the application attributes of the target application and the push attributes of the first information push content;

[0017] Determine a plurality of target configuration options from the plurality of configuration options according to the application attributes and the push attributes;

[0018] Display a target general test case obtained by combining a plurality of the target configuration options on the configuration interface and generate a corresponding test result based on the target general test case.

[0019] In some embodiments, the above test unit is further configured to:

[0020] Determine a first configuration option from the plurality of configuration options according to the application attributes and the push attributes;

[0021] Select the second configuration option in response to a second selection operation of selecting the second configuration option from the plurality of configuration options;

[0022] Use the first configuration option and the second configuration option as the target configuration options.

[0023] In some embodiments, the test task list further includes a test requirement definition task, and the test device for information push further includes a test definition unit, and this test definition unit is configured to:

[0024] Display a test requirement definition interface in response to a third selection operation for the test requirement definition task;

[0025] In response to the test requirements input on the test requirements definition interface, display a test list of the target application on the test requirements definition interface, and determine a third configuration option from the multiple configuration options according to the test list;

[0026] In some embodiments, the above test unit is further configured to:

[0027] In response to a second selection operation of selecting a second configuration option from the multiple configuration options, select the second configuration option;

[0028] Use the second configuration option and the third configuration option as target configuration options, display a target general test case obtained by combining the multiple target configuration options on the configuration interface, and generate a corresponding test result based on the target general test case.

[0029] In some embodiments, there are multiple types of the configuration options, and the above test unit is further configured to:

[0030] In response to a second selection operation of selecting multiple target configuration options from the multiple configuration options, select multiple target configuration options of different types, at least one type of the target configuration options corresponds to multiple general test cases in a test case library, and at least one of the general test cases corresponds to multiple types of the target configuration options;

[0031] Match in the test case library according to the combination of multiple target configuration options of different types, and obtain and display a target general test case on the configuration interface.

[0032] In some embodiments, the test task list further includes a general test case creation task, and the test device for information push further includes a general test case creation unit, and the general test case creation unit is configured to:

[0033] In response to a third selection operation for the general test case creation task, display a general test case creation interface;

[0034] In response to a general test case creation operation on the general test case creation interface, display multiple general test cases on the general test case creation interface;

[0035] In response to a label input operation for each of the general test cases, display labels of each of the general test cases on the general test case creation interface;

[0036] In response to a first confirmation operation of confirming as the configuration option from the multiple labels, obtain the configuration option.

[0037] In some embodiments, the test task list further includes a general test case iteration task, and the test device for information push further includes a general test case iteration unit, and this general test case iteration unit is configured to:

[0038] In response to a fourth selection operation for the general test case iteration task, display a test case library interface, where the test case library interface includes a plurality of the general test cases established in advance;

[0039] In response to an iteration operation for any one of the general test cases, obtain the iterated general test case.

[0040] In some embodiments, the test task list further includes a pre - dependency check task, and the above - mentioned test unit is further configured to:

[0041] In response to a fifth selection operation for the pre - dependency check task, display the configuration information and data information of the second information push content, where the second information push content is matched from a preset information push content library according to the target general test case after obtaining the target general test case;

[0042] In response to a second confirmation operation for the configuration information and the data information, generate a corresponding test result based on the target general test case and the confirmed second information push content.

[0043] In some embodiments, the test device for information push further includes an information push content configuration unit, and this information push content configuration unit is configured to:

[0044] When the information push content library does not satisfy the matching relationship with the current target general test case, display an information push content configuration interface;

[0045] In response to an information push content configuration operation on the information push content configuration interface, obtain and display the second information push content.

[0046] In some embodiments, the test task list further includes a program test task, and the above - mentioned test unit is further configured to:

[0047] In response to a sixth selection operation for the program test task, display a program test interface, where the program test interface includes at least the target general test case and the second information push content;

[0048] In response to a test start operation on the program test interface, test the target application program based on the target general test case and the confirmed second information push content, and display the test result of the target application program.

[0049] In some embodiments, after the test start operation on the program test interface, the test unit is further configured to:

[0050] display intermediate test data on the program test interface, where the intermediate test data is generated during the testing of the target application based on the target general test case and the second information push content;

[0051] when there is error data in the intermediate test data, summarize the error data to obtain and display error information on the program test interface.

[0052] A third aspect of the embodiments of the present application provides a computer-readable storage medium storing multiple instructions, which are suitable for being loaded by a processor to execute the steps in the test method for information push in the first aspect of the embodiments.

[0053] A fourth aspect of the embodiments of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps in the test method for information push in the first aspect of the embodiments are implemented.

[0054] A fifth aspect of the embodiments of the present application provides a computer program product or a computer program. The computer program product or the computer program includes computer instructions stored in a storage medium. The processor of the computer device reads the computer instructions from the storage medium, and the processor executes the computer instructions to implement the steps in the test method for information push in the first aspect of the embodiments.

[0055] In an embodiment of the present application, in response to an operation for creating a test task for a target application, a test task list is generated and displayed, and the test task list includes at least a test case creation task; in response to a first selection operation for the test case creation task, a configuration interface for information push is displayed, and the configuration interface includes multiple configuration options; in response to a second selection operation of selecting multiple target configuration options from the multiple configuration options, a target general test case obtained by combining the multiple target configuration options is displayed on the configuration interface, and a corresponding test result is generated based on the target general test case. In this way, when facing the information push test of a new application, a test task list can be created and displayed according to the operation for creating a test task for the target application, and all processes related to the test can be reflected in the test task list, making the process online, so as to form a unified and effective process management. When it is necessary to write test cases, only a first selection operation for the test case creation task is required to display the configuration interface for information push. The configuration interface includes multiple configuration options, which can correspond to different general test cases. Therefore, after a second selection operation of selecting multiple target configuration options from the multiple configuration options, the target general test case can be obtained by combining the selected multiple target configuration options and displayed. Thus, even when facing the tests of different new applications, the test cases required for the test can be uniformly generated through a visual interface, and the use case generation is standardized and automated, better meeting the test requirements and preventing missed tests. Finally, a corresponding test result can be generated based on the target general test case, thereby improving the test accuracy of information push.

[0056] Other features and advantages of the present disclosure will be described in the following specification, and part of them will become obvious from the specification or be understood by implementing the present disclosure. The objectives and other advantages of the present disclosure can be achieved and obtained through the structures specifically pointed out in the specification, claims, and drawings. Description of the Drawings

[0057] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative efforts.

[0058] Figure 1 It is a schematic diagram of the scenario of the test method implementation environment for information push provided by the embodiment of the present application;

[0059] Figure 2 It is a schematic flowchart of the test method for information push provided by the embodiment of the present application;

[0060] Figure 3It is a schematic diagram of the execution process of the test task creation operation provided by an embodiment of the present application;

[0061] Figure 4 It is a schematic diagram of the display of the test task list provided by an embodiment of the present application;

[0062] Figure 5 It is a schematic diagram of the configuration interface provided by an embodiment of the present application;

[0063] Figure 6 It is a schematic diagram of adjusting the target general test case in the configuration interface provided by an embodiment of the present application;

[0064] Figure 7 It is a schematic diagram of the pre - dependency check interface provided by an embodiment of the present application;

[0065] Figure 8 It is a schematic diagram of displaying intermediate test data in the program test interface provided by an embodiment of the present application;

[0066] Figure 9 It is a schematic diagram of the display situation of the test result provided by an embodiment of the present application;

[0067] Figure 10 It is a schematic diagram of the display situation of the error information provided by an embodiment of the present application;

[0068] Figure 11 It is a schematic diagram of the test system for information push provided by an embodiment of the present application;

[0069] Figure 12 It is a schematic diagram of the complete process of completing a test by the test method for information push provided by an embodiment of the present application;

[0070] Figure 13 It is a schematic diagram of the query interface of the test system for information push provided by an embodiment of the present application;

[0071] Figure 14 It is a schematic diagram of the overall platform interaction process provided by an embodiment of the present application;

[0072] Figure 15 It is a schematic diagram of the structure of the test device for information push provided by an embodiment of the present application;

[0073] Figure 16 It is a schematic diagram of the structure of the terminal provided by an embodiment of the present application. Detailed implementation manners

[0074] To enable those skilled in the art to better understand the solution of this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.

[0075] It can be understood that in the specific implementation of this application, it involves retrieving general test cases and test-related data. When the above embodiments of this application are applied to specific products or technologies, object permission or consent needs to be obtained, and the collection, use, and processing of relevant data need to comply with relevant laws, regulations, and standards.

[0076] In addition, when the embodiments of this application need to retrieve general test cases and test-related data, a separate permission or separate consent for the general test cases and test-related data will be obtained through methods such as pop-up windows or jumping to a confirmation page. After clearly obtaining the separate permission or separate consent for the general test cases and test-related data, the necessary general test cases and test-related data for the normal operation of the embodiments of this application will be obtained.

[0077] It should be noted that in some processes described in the specification, claims, and the above-mentioned drawings, there are multiple steps that appear in a specific order. However, it should be clearly understood that these steps may not be executed in the order in which they appear in this document or may be executed in parallel. The step numbers are only used to distinguish different steps, and the numbers themselves do not represent any execution order. In addition, descriptions such as "first", "second", "third", "fourth", "fifth", "sixth", or "target" in this document are used to distinguish similar objects and do not necessarily describe a specific order or sequence.

[0078] In the embodiments of this application, the term "module" or "unit" refers to a computer program with a predetermined function or a part of a computer program, which works together with other related parts to achieve a predetermined goal, and can be fully or partially implemented by using software, hardware (such as processing circuits or memories), or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be a part of the overall module or unit that includes the function of that module or unit.

[0079] Before further elaborating on the embodiments of the present disclosure, the nouns and terms involved in the embodiments of the present disclosure are explained. The nouns and terms involved in the embodiments of the present disclosure are applicable to the following explanations:

[0080] An application refers to a software program that performs specific tasks on a computer or other electronic device. It is a collection of a series of instructions and data, which can achieve various functions and services after being programmed and developed. Applications can be divided into two categories: desktop applications and mobile applications. Desktop applications are applications that run on desktop platforms such as desktop computers and laptops, and are usually displayed in the form of windows; mobile applications are applications that run on mobile devices such as smartphones and tablets.

[0081] A test case refers to a description of the test tasks for a specific software product, which reflects the test plan, methods, techniques, and strategies. Its content can include test objectives, test environment, input data, test steps, expected results, test scripts, etc., and finally form a document. Simply put, a test case is a set of test inputs, execution conditions, and expected results prepared for a specific goal, used to verify whether a specific software requirement is met.

[0082] Currently, in order to improve the information acquisition ability of the public, more and more applications promote more new information content through information push during the object usage process. Before a new application is connected to the information push system for information push, it needs to be tested for information push, and the efficiency of the test affects the promotion ability of the new information content.

[0083] In the related technologies, in the face of each link of the information push test of a new application, there is no unified method in the process, and it basically relies on the old system or online documents for process management. R & D personnel and products operate according to historical experience. If the experience is insufficient or the employees are newly recruited, the test will have nowhere to start, resulting in easy omission of links in the test. At the same time, each test task has its own follow-up means according to the project characteristics, which is very difficult to manage. The daily communication conclusions and data precipitation are scattered in the chat records of each work group or personal documents, and are very easy to be omitted. Secondly, in the test stage, the test cases are also written according to the experience of the testers, often causing the risk of missed testing. The historical test experience is very difficult to precipitate and reuse.

[0084] Therefore, the manual method needs to rely on the experience of personnel to execute, resulting in difficulty in forming a unified standard for testing and inability to form an effective process management. Therefore, when facing the information push test of different new applications, the existing test process is prone to omitting important links, which in turn leads to the test cases being difficult to meet the test requirements, often causing missed testing, and ultimately resulting in a reduction in the test efficiency of information push.

[0085] The embodiments of the present application propose a test method, device, storage medium, and device for information push to solve the above problems, which can improve the test accuracy of information push.

[0086] Please refer to Figure 1 , Figure 1 which is a schematic diagram of the scenario of the test method implementation environment for information push provided by an embodiment of this application, including: a terminal 101 and a server 102, where the terminal 101 and the server 102 are connected through a communication network.

[0087] Exemplarily, the terminal 101 can be set with a display device (display screen) and an input device (touch display screen, keyboard or mouse), and is deployed with a test system for information push (hereinafter referred to as the system for short). This system is a software system and can interact with testers or other staff through the front-end display device.

[0088] Exemplarily, on the test system for information push, the terminal 101 can respond to an operation for creating a test task for a target application, generate and display a test task list, and the test task list at least includes a test case creation task; in response to a first selection operation for the test case creation task, display a configuration interface for information push, and the configuration interface includes multiple configuration options; in response to a second selection operation for selecting multiple target configuration options from the multiple configuration options, display a target general test case obtained by combining the multiple target configuration options on the configuration interface, and generate a corresponding test result based on the target general test case.

[0089] The server 102 is responsible for processing data. After the target object inputs an operation for creating a test task for a target application on the terminal 101, the server 102 can respond and generate a test task list, and send it to the terminal 101 for display; after the target object inputs a first selection operation for the test case creation task on the terminal 101, the server 102 can retrieve the configuration interface and send an instruction to display the configuration interface for information push on the terminal 101; after the target object inputs a second selection operation for selecting multiple target configuration options from the multiple configuration options on the terminal 101, the server 102 can respond and generate a target general test case, and send it to the terminal 101 for display, so that the terminal 101 can display the target general test case obtained by combining the multiple target configuration options on the configuration interface; finally, after testing based on the target general test case, the server 102 can generate a corresponding test result and send it to the terminal 101 for display.

[0090] The terminal 101 can be a mobile phone, a computer, a smart voice interaction device, a smart home appliance, a vehicle-mounted terminal, an aircraft, etc., but is not limited thereto. The terminal 101 and the server 102 can be directly or indirectly connected through wired or wireless communication methods, and this application embodiment does not make any restrictions here.

[0091] The server 102 can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Additionally, the server 102 can also be a node server in a blockchain network.

[0092] It should be noted that Figure 1 The scenario schematic diagram of the implementation environment of the information push test method shown is merely an example. The information push test system and scenario described in the embodiments of the present application are for more clearly explaining the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art know that with the evolution of the information push test system and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.

[0093] The embodiments of the present application can be applied to various scenarios, including but not limited to scenarios such as cloud technology, artificial intelligence, intelligent transportation, assisted driving, and intelligent healthcare.

[0094] Please refer to Figure 2 , Figure 2 which is a flowchart of the information push test method provided by the embodiments of the present application. This information push test method can be applied in the terminal in the above embodiments, or jointly executed by the terminal and the server. The information push test method includes steps 201 to 203:

[0095] In step 201, in response to a test task creation operation for a target application, a test task list is generated and displayed;

[0096] Among them, the test task list at least includes a test case creation task.

[0097] The target application refers to the specific application for which information push testing is performed. The specific target application can be any application that requires information push testing, so that the embodiments of the present application can be applicable to various different types of applications to ensure the accuracy and effectiveness of information push.

[0098] Furthermore, the target application is an application newly connected to the information push system, and the information push system is a system that provides information push content. For the target application, it is currently necessary to connect to the information push system, so it is necessary to test its information push process. When the test passes, the information push content can be continuously obtained from the information push system for display. It can be understood that when the target application is a new program that connects to the information push system, this process can be called new traffic access.

[0099] When the tester needs to test the information push of the newly connected target application, he can perform the test task creation operation for the target application. For example, on the display interface of the terminal, click the New Task button to generate and display the test task list. Alternatively, after clicking the New Task button, you can select a new traffic access task from multiple tasks and fill in the task-related information, such as name, terminal and link, etc., to complete the creation operation of a test task list.

[0100] See also Figure 3 , Figure 3 It is a schematic diagram of the test task creation operation execution process provided by the embodiment of the present application. In the information push test system, you can click the Create Task button to display the corresponding task creation interface, where you can select the task type to be created, including general test case selection, application iteration, dynamic test list, acceptance, new traffic access, string measurement and performance research and development tasks, each task has a corresponding purpose, here except for the new traffic access, other tasks can belong to the subtask of the new traffic access, where by clicking on the new traffic access, you can complete the creation of the test task list, and further you can enter the task link, task name and end, the link is to open up the R&D process, obtain the key information of the demand, and at the same time associate test cases, error information (bugs), test reports and other test information to the demand sheet, the end indicates which system the target application comes from, and no specific restrictions are made here.

[0101] The test task list contains multiple task information related to the test. By clicking on any task, you can enter the corresponding task interface. Therefore, by generating and displaying the test task list, the tester can clearly understand the test content and tasks to be performed. The tester can perform the test-related processes according to the task sequence in the list to ensure that each task is executed. The test task list includes at least the test case creation task, which is the task of specifically generating the test cases required for the test.

[0102] See also Figure 4 , Figure 4It is a schematic diagram of the display test task list provided by the embodiments of the present application. In the figure, a schematic diagram of an implementation scenario of the test task list is shown, which includes checklist discussion, dynamic checklist, traffic test phase, acceptance test phase, release phase, and relevant materials. The checklist discussion is also the test case discussion, which contains the test case creation task and is used to determine the test cases. The dynamic checklist means that the test cases are not released in the terminal version, but are released through the front end to quickly go live with a new information push content style. Therefore, the dynamic checklist is different from the checklist discussion. The dynamic checklist can be understood as a specific expansion in the checklist and can be used to facilitate the understanding of the test requirements. The traffic test phase and the acceptance test phase are some phases formulated according to the test requirements. Test tasks can be carried out in each phase. In the release phase, the target application that passes the test can be officially connected to the information push system. The relevant materials can provide some attachments for the testers to retain, which is convenient for different personnel in the test process to view.

[0103] It can be understood that by creating and displaying the test task list, it is possible to provide task guidance for new traffic access. In this way, no matter who conducts the test, they can complete the test in accordance with the content of the guidance in a standardized manner, without missing any tests, making the test standardized, standardized, and automated, and improving the accuracy of the test.

[0104] Furthermore, when creating multiple tasks in the test task list, different task executors and execution times can be configured respectively, enabling the system to form a unified and effective process management.

[0105] It can be understood that in the embodiments of the present application, the tasks in the test task list can be formulated according to the test needs. The embodiments of the present application only take the content in the above embodiments as examples and do not represent limitations on the embodiments of the present application. Furthermore, the test case creation task can also be displayed separately on the test task list.

[0106] In this way, when facing the information push test of a new application, a test task list can be created and displayed according to the test task creation operation for the target application. All the processes related to the test can be reflected in the test task list, making the process online, thereby forming a unified and effective process management. Such a process management method can improve the organization and traceability of the test, making the test process more standardized and efficient.

[0107] Above, the specific process of step 201 is introduced. Below, step 202 after step 201 is introduced:

[0108] In step 202, in response to the first selection operation for the test case creation task, a configuration interface for information push is displayed;

[0109] Among them, there are multiple configuration options on the configuration interface.

[0110] When testers need to generate test cases required for testing, they can perform a first selection operation by creating a task for the test case, such as clicking the test case creation task on the test task queue interface to complete the selection of this task. Then the system can display the configuration interface for information push, and multiple configuration options are displayed on this configuration interface.

[0111] Among them, the configuration interface is for automating the generation of test cases required for testing. By displaying multiple configuration options on this interface, each configuration option represents the requirements of the test. For example, the configuration options can include information push request options, form style options, jump or reporting options, compliance or other options, etc. The information push request option can select the requests or reporting inspection requirements needed for the test. The form style option can select the forms required for information push content such as the interface (UI), click method, incentive style, splash screen style, etc. on the target application. The jump or reporting option is used to configure the jump or reporting requirements that the information push content needs to perform on the target application. Compliance or other further configures the normative requirements of the information push content on the target application.

[0112] In this way, by displaying the configuration interface and multiple configuration options on the configuration interface, the options required for testing can be presented. Subsequently, through the selection of testers, the requirements of the test can be clearly understood to effectively form the test cases required for testing.

[0113] Next, the process of specifically generating configuration options will be described in detail:

[0114] In some embodiments, the test task list further includes a general test case creation task. When creating a general test case, corresponding tags can be configured, and the configuration options are obtained based on the tags of the general test case, including:

[0115] (1) In response to a third selection operation for the general test case creation task, display the general test case creation interface;

[0116] (2) In response to the general test case creation operation on the general test case creation interface, display multiple general test cases on the general test case creation interface;

[0117] (3) In response to the tag input operation for each general test case, display the tags of each general test case on the general test case creation interface;

[0118] (4) In response to a first confirmation operation to confirm the configuration options from multiple tags, obtain the configuration options.

[0119] It can be understood that the configuration options in the embodiments of the present application can represent the requirements of the test, and each configuration option can correspond to at least one general test case. The configuration option can be understood as a label on the general test case. By selecting a certain configuration option, it is possible to know which general test cases are required. Therefore, when pre-creating general test cases, it is necessary to label the general test cases and use this label as the configuration option required for subsequent testing, so as to bind the configuration option to the general test case.

[0120] Therefore, during the process of creating configuration options, a third selection operation in response to the creation task of general test cases can be performed first. For example, a tester can select the option of the general test case creation task on the interface of the system to complete the third selection operation. Subsequently, the system can display the general test case creation interface. On the general test case creation interface, the tester can input the creation operations of general test cases, such as editing the content, code, attributes, etc. of the general test case, so as to create multiple general test cases and display them on the current general test case creation interface.

[0121] Subsequently, the tester can perform a label input operation for each general test case to label different general test cases with label information. For example, if a general test case is labeled with "UI display", it means that this general test case is for testing the UI display of the information push content, and this label matches this general test case. Therefore, a first confirmation operation for confirming the configuration option from multiple labels can be responded to. For example, click the confirmation button next to the label or the unified confirmation button on the interface, and use these labels as the configuration options. In this way, when forming test cases subsequently, once the configuration option of "UI display" is clicked, the corresponding general test case can be called.

[0122] Furthermore, the established general test cases can be stored in the test case library of the system for convenient subsequent invocation. The test case library is a database established by the system for storing general test cases established in history, and no specific restrictions are made here.

[0123] It can be understood that a general test case can have multiple labels, that is, the same general test case can be found through different configuration options. Conversely, multiple different general test cases can also have the same label, that is, through a configuration option, multiple general test cases that meet the test requirements can be found.

[0124] Therefore, in the embodiments of the present application, by visualizing the creation process of general test cases and the generation process of configuration options, testers can create general test cases and generate configuration options on the interface, and configure the requirements interface in a simple way, that is, it is convenient to display the configuration interface subsequently. It can be understood that the subsequent system does not require a complex process. For the test requirements that testers need to perform, they only need to select configuration options to retrieve corresponding general test cases for testing, which greatly simplifies the process of creating test cases, avoids missing tests, and has low professional requirements for testers, greatly improving the test efficiency and the accuracy of testing.

[0125] In some embodiments, the test task list further includes a general test case iteration task, and iterative operations can be performed on the established general test cases, including:

[0126] (1) In response to a fourth selection operation for the general test case iteration task, display a test case library interface, which includes a plurality of pre-established general test cases;

[0127] (2) In response to an iterative operation on any one general test case, obtain an iterated general test case.

[0128] Since testing is constantly changing and test requirements are also constantly changing, in order to meet the test requirements, the established general test cases also need to be continuously improved. Then, iterative operations need to be performed on the general test cases. Based on this, the test task list further includes a general test case iteration task, and iterative operations on the general test cases can be completed by executing the general test case iteration task.

[0129] When iterative updates need to be made to the general test cases, testers can select the general test case iteration task on the test task list to complete the fourth selection operation for the general test case iteration task, and the system will display the test case library interface. For example, by clicking Figure 3 the general test case iteration option under the task type in, the fourth selection operation for the general test case iteration task can be completed. The test case library interface contains multiple general test cases in the test case library, and these general test cases are all pre-created.

[0130] When iterative updates need to be made to a certain general test case, only an iterative operation on any one general test case needs to be performed on the test case library interface. For example, click the edit button of a certain general test case and readjust the content, code, attributes, etc. of the general test case to complete the iterative operation. After the modification is completed, click the confirmation button to obtain an iterated general test case.

[0131] Above, the specific process of step 202 was introduced. Next, step 203 after step 202 will be introduced:

[0132] In step 203, in response to a second selection operation of selecting multiple target configuration options from multiple configuration options, a target general test case obtained by combining the multiple target configuration options is displayed on the configuration interface, and a corresponding test result is generated based on the target general test case.

[0133] After the tester views the configuration interface, a second selection operation of selecting multiple target configuration options from multiple configuration options can be performed, so as to select the required test requirements. For example, check boxes are set around each configuration option on the configuration interface. When the tester clicks the button next to the configuration option, the selection of the configuration option can be completed. Therefore, when the tester completes the selection of multiple configuration options, the second selection operation is completed, and these selected configuration options are called target configuration options.

[0134] After obtaining the target configuration options, all the test requirements of the current tester are known. Since each configuration option corresponds to a related general test case, the general test cases under each target configuration option can be found. Since there are multiple target configuration options, some of the general test cases corresponding to the target configuration options are the same. Therefore, it is necessary to match from multiple general test cases according to the combination of multiple target configuration options, and finally obtain the matching target general test case. Through the target general test case, all the test requirements of the target configuration options checked by the current tester can be completely expressed.

[0135] It can be understood that in the prior art, the new traffic access system needs to go through complex processes, including iterative development of test cases, traffic access development, upgrade verification, etc. Each stage is specifically divided into links such as requirement review, scheduling, technical review, use case review, development joint debugging, testing, and release. There are a large amount of data such as communication confirmation information, documents, test cases, and test conclusions in each stage. Therefore, the test cases are not unified, and it is complex and difficult to generate test cases. In the embodiments of the present application, the target general test cases are all obtained by matching the pre-established general test cases from the test case library. Compared with the process of the new traffic access system in the prior art, the embodiments of the present application provide a set of general methods for the new traffic access system, which can standardize and online the process of generating use cases and generate them automatically.

[0136] In this way, even when facing tests for different new applications, test cases required for the tests can be uniformly generated through a visual interface, realizing standardization and automation of test case generation, better meeting test requirements, avoiding missed tests, and finally generating corresponding test results based on the target general test cases, thereby improving the test accuracy of information push.

[0137] Next, the detailed steps further included in step 203 will be described in detail:

[0138] In some embodiments, the target configuration options can be automatically determined according to the target application to be tested currently and the information push content to be pushed, including:

[0139] (1) Obtain the first information push content that matches the target application, and obtain the application attributes of the target application and the push attributes of the first information push content;

[0140] (2) Determine multiple target configuration options from multiple configuration options according to the application attributes and the push attributes;

[0141] (3) Display the target general test cases obtained by combining multiple target configuration options on the configuration interface, and generate corresponding test results based on the target general test cases.

[0142] The meaning that the first information push content matches the target application has multiple aspects. Firstly, the first information push content is an information push content customized by the tester for the target application, so the first information push content matches the target application. For example, for a certain application, the staff of the requester can request to promote the first information push content on this application, so as to use the first information push content as the information push content that matches the target application. Secondly, the first information push content is matched from the information push content library according to the target application and has a high degree of fit with the current target application. For example, for a target application with the attribute of a game, the attribute of the first information push content matched by it is also a game, or the target application is a product under a certain company, and the first information push content matched by it is also related to the products of this company.

[0143] Based on this, since it is already known the first information push content to be promoted, the tests can automatically select the required test content. Therefore, the embodiments of the present application can obtain the application attributes of the target application and the push attributes of the first information push content. The application attributes can indicate the type of the target application, such as game software, short video software, or sports software, etc. The push attributes are similar to the application attributes and indicate that the first information push content belongs to content related to games, short videos, or sports.

[0144] Subsequently, multiple target configuration options can be automatically determined from multiple configuration options according to the application attributes and push attributes. The multiple automatically determined target configuration options meet the test requirements of the first information push content on the target application. After passing the test in this way, the subsequent first information push content can be normally promoted on the target application. For example, when the application attribute of the target application indicates that the application is a short video software and the first information push content is an information push content customized for promotion, then based on these two characteristics, that is, based on the application attribute and the push attribute, configuration options such as UI display, click reporting, and click jump can be automatically selected as the target configuration options.

[0145] It can be understood that the target application can preset the first necessary configuration options. The first necessary configuration options are some requirements that must be tested, and these requirements correspond to different configuration options. That is, the requirements corresponding to these configuration options must be tested when the target application runs. The first information push content is also bound with the second necessary configuration options. The second necessary configuration options are also some requirements that must be tested, and these requirements also correspond to some configuration options. Therefore, after obtaining the application attribute and the push attribute, a set of configuration options that meet the requirements of both can be found, and the configuration options in this set are the target configuration selections. In addition, processing can also be carried out by introducing a neural network model. The application attribute, the push attribute, and the corresponding configuration options are input into the model to automatically generate the probability that the configuration option meets these two attributes. When the probability value is greater than the preset threshold, the configuration option that meets the requirements can be defined as the target configuration option.

[0146] In this way, after automatically determining the target configuration options according to the target application to be tested currently and the information push content to be pushed, the target general test cases obtained by combining multiple target configuration options can be displayed on the configuration interface, and the corresponding test results can be generated based on the target general test cases. Therefore, testers do not need to manually write test cases, but can automatically generate test cases in a visual way, thereby improving the test efficiency and the accuracy of the test.

[0147] In some embodiments, the target configuration options can also be comprehensively determined based on the options of the object on the basis of being automatically determined according to the target application to be tested currently and the information push content to be pushed, including:

[0148] (1) Determine the first configuration option from multiple configuration options according to the application attribute and the push attribute;

[0149] (2) In response to a second selection operation of selecting the second configuration option from multiple configuration options, select the second configuration option;

[0150] (3) Take the first configuration option and the second configuration option as the target configuration option.

[0151] Further, the configuration option automatically determined from multiple configuration options according to the application attribute and the push attribute can be first defined as the first configuration option, and subsequently, the final target configuration option can be comprehensively obtained according to other configuration options. Based on this, in the embodiments of the present application, the second configuration option will be determined according to the custom selection of the tester. The tester can perform a second selection operation of selecting the second configuration option from multiple configuration options on the system, and the selected one is the second configuration option.

[0152] In summary, in the embodiments of the present application, after obtaining the first information push content matching the target application program, obtaining the application attribute of the target application program, and the push attribute of the first information push content, multiple first configuration options are automatically determined from multiple configuration options according to the application attribute and the push attribute. The automatically determined multiple first configuration options meet the test requirements of the first information push content on the target application program. After passing the test in this way, the subsequent first information push content can be normally promoted on the target application program. In addition to these automatically selected first configuration options, the tester can also add a second configuration option to meet the custom requirements of the test, thereby meeting the purpose of diversified display of the information push content. For example, when the application attribute of the target application program indicates that the application program is a short video software, and the first information push content is a customized information push content to be promoted, then based on these two characteristics, that is, based on the application attribute and the push attribute, configuration options such as UI display, click reporting, and click jumping can be automatically selected as the first configuration options. Based on the custom selection of the tester, a second configuration option such as audio interaction can also be selected, and finally, these two types of options are combined as the final target configuration option.

[0153] In this way, through the input of the tester, a second configuration option can be introduced in addition to the automatically generated first configuration option, realizing the introduction of more changes and special cases to verify the performance of the target application program under various different conditions during the test process, increasing the flexibility of the test, and at the same time providing more opportunities for expansion and optimization for the test team. And this method combines the professional knowledge and experience of the tester with automated technology, can give full play to the advantages of artificial intelligence and humans, realize more comprehensive, accurate and efficient testing of information push content, improve the coverage rate and effectiveness of the test, and thus ensure the quality and effectiveness of the test.

[0154] In some embodiments, the test task list further includes a test requirement definition task, and some recommended configuration options can also be automatically formed according to the requirements of multiple parties for the test, including:

[0155] (1) In response to a third selection operation for defining a task according to a test requirement, display a test requirement definition interface;

[0156] (2) In response to the test requirement input on the test requirement definition interface, display a test list of the target application on the test requirement definition interface, and determine a third configuration option from multiple configuration options according to the test list.

[0157] Therefore, ultimately, the target configuration option required can also be comprehensively obtained based on the configuration options formed according to the test requirements of different personnel and the configuration options checked by the current tester himself / herself, and testing can be carried out based on this. Specifically, it includes:

[0158] (1) In response to a second selection operation for selecting a second configuration option from multiple configuration options, select the second configuration option;

[0159] (2) Use the second configuration option and the third configuration option as the target configuration option, display the target general test cases obtained by combining multiple target configuration options on the configuration interface, and generate corresponding test results based on the target general test cases.

[0160] Furthermore, the system provided in the embodiments of the present application is an online-deployed system. Therefore, it can be docked with different staff members, and multiple staff members can participate in the process of generating test cases, providing different possibilities for testing. This includes inputting some test requirements. The test task list includes a test requirement definition task for meeting the input of test requirements of different staff members. When different staff members need to require and define tests, they can perform a third selection operation for the test requirement definition task, such as clicking on the test requirement definition task on the test task list interface, thereby displaying the test requirement definition interface, and then specific test requirements can be input on this interface.

[0161] When the staff member inputs a test requirement on the test requirement definition interface, the system can automatically generate a test list corresponding to the test requirement. The test list can reflect factors such as the display logic, click behavior, materials, compatibility, and performance of the information push content. The test list is parsed according to the test requirement and is corresponding to the configuration options. For example, each item in the test list corresponds to at least one configuration selection. Therefore, after obtaining the test list, the third configuration option can be determined from multiple configuration options according to the test list.

[0162] Exemplarily, there are multiple ways to input test requirements and generate a test list. For example, natural language processing technology can be used to analyze and understand the test requirements input by the staff. Through techniques such as text analysis and semantic understanding, the system can identify keywords, extract themes and intentions, and generate corresponding test lists accordingly. A series of keywords and phrases related to test requirements can also be predefined in advance. When the staff provides test requirements, the system can match the keywords in the input text and generate a test list based on the matching results. A rule engine can also be used to define a series of rules that describe various possible situations of test requirements and corresponding test tasks. When the staff inputs test requirements, the system can match the corresponding rules according to the rule engine and generate corresponding test lists. In addition, machine learning algorithms can be used to train a model to learn to extract key information from the staff's test requirements and generate a test list.

[0163] Furthermore, the configuration options obtained according to the test requirements input by different staff can be first defined as the third configuration options, and subsequently, the final target configuration options can be comprehensively obtained according to other configuration options. Based on this, in the embodiments of this application, the second configuration option will be determined according to the custom selection of the tester. The tester can perform a second selection operation of selecting the second configuration option from multiple configuration options on the system, and the selected one is the second configuration option.

[0164] In summary, in the embodiments of this application, a test list can be obtained according to the input test requirements, the third configuration option can be determined from multiple configuration options according to the test list, and the automatically determined third configuration option meets the test requirements of different staff, which can make the test more comprehensive and scientific. In addition to these automatically selected third configuration options, the tester can also add a second configuration option to meet the custom requirements of the test, so as to meet the purposes such as diversified display of information push content. For example, when the staff inputs "it is necessary to perform icon display on the pushed content, know the response situation during the promotion process after the display, and be able to jump to the download interface after clicking", a test list can be automatically generated based on this test requirement, including icon display, response situation, and jump to download. Based on the content of the test list, configuration options such as UI display, click reporting, and click jump are selected as the third configuration options respectively. Based on the custom selection of the tester, a second configuration option such as audio interaction can also be selected. Finally, these two types of options are combined as the final target configuration options.

[0165] In this way, staff members from multiple parties can provide their respective needs and requirements, define the requirements and standards during the testing process, ensure the comprehensiveness and accuracy of the testing tasks, and help conduct customized testing according to the characteristics and requirements of the specific information push system. According to the defined testing requirements, the system can automatically select suitable configuration options, which can reduce human intervention, improve the automation level of testing, and ensure that the selected configuration options meet the requirements. Finally, the target general test cases obtained by combining multiple target configuration options can be displayed on the configuration interface, and corresponding test results can be generated based on the target general test cases. Test cases are automatically generated in a visual way, thereby improving the testing efficiency and the accuracy of testing.

[0166] In some embodiments, there are multiple types of configuration options. Therefore, the target general test cases need to be jointly matched by combining multiple types of target configuration options, specifically including:

[0167] (1) In response to a second selection operation of selecting multiple target configuration options from multiple configuration options, multiple target configuration options of different types are selected;

[0168] Among them, at least one type of target configuration option corresponds to multiple general test cases in the test case library, and at least one general test case corresponds to multiple types of target configuration options;

[0169] (2) Match in the test case library according to the combination of multiple target configuration options of different types, and obtain and display the target general test cases on the configuration interface.

[0170] Among them, there are multiple types of configuration options. Different types of configuration selections can include information push request options (request options), form style options, jump or reporting options, compliance or other options, etc. These can be called the first level in the configuration options. Each configuration option at the first level can include multiple sub-class configuration options (sub-classes). For example, the information push request option can include sub-classes of request / response packet verification, and this sub-class includes various request or reporting verification requirements for testing. The form style option can include multiple sub-classes such as UI, click method, special style, incentive style, splash screen style, etc. Each sub-class includes the form required for the specific information push content on the target application. The jump or reporting option can include multiple sub-classes such as first-level link conversion, second-level link conversion, link conversion priority, reporting, etc. Each sub-class has multiple jump or reporting requirements for configuring the information push content on the target application. Compliance or other can include multiple sub-classes such as extended operations, interfaces, compliance, etc. Each sub-class can include multiple normative requirements and other requirements on the target application. The above is only an example and does not represent a specific limitation on the configuration options.

[0171] Therefore, the tester can perform a second selection operation of selecting multiple target configuration options from multiple configuration options, such as clicking on the checkboxes next to different types of configuration options, so as to select multiple target configuration options of different types. From the above embodiments, it can be seen that a general test case can have multiple tags, that is, the same general test case can be found through different configuration options. Conversely, multiple different general test cases can also have the same tag, that is, through one configuration option, multiple general test cases that meet the test requirements can be found. Therefore, among the selected target configuration options of different types, there is at least one type of target configuration option corresponding to multiple general test cases in the test case library, and at least one general test case corresponds to multiple types of target configuration options.

[0172] Therefore, since there are multiple different types of target configuration options, each type of target configuration option may have multiple general test cases, and the general test cases corresponding to the target configuration options between different types may be the same. Therefore, multiple different types of target configuration options need to be combined and matched in the test case library to finally obtain the matching target general test case. Through the target general test case, all the test requirements of the different types of target configuration options checked by the current tester can be fully expressed.

[0173] Please refer to Figure 5 , Figure 5 which is a schematic diagram of the configuration interface provided by the embodiments of the present application. The figure includes multiple configuration options, and the configuration options have different types, such as request type, form style option, jump or report option, compliance or other options, etc. There are multiple subcategories under each major category, and there are multiple sub-subcategory configuration options under each subcategory of configuration options. Each sub-subcategory configuration option is a specific requirement. The figure uses numbers to distinguish different configuration options, which will not be elaborated here. When the tester checks the corresponding subcategory or sub-subcategory on the interface shown in the figure, the corresponding configuration option can be selected to complete the second selection operation. Subsequently, based on these selected different types of configuration options, the corresponding target general test cases can be retrieved from the preset test case library, and the combined target general test cases will be displayed on the configuration interface. Further, a test case generation button is provided in the figure. When the tester selects the required configuration options and clicks this button, the relevant content of the target test case, such as the test case name, the associated terminal, the generation method, and the coverage characteristics, etc., can be displayed in the corresponding area.

[0174] Furthermore, when the automatically generated target general test case does not meet the test requirements, the tester can also modify it, so as to flexibly adjust the test case to meet different test requirements.

[0175] Please refer to Figure 6 , Figure 6It is a schematic diagram of adjusting target general test cases in the configuration interface provided by an embodiment of the present application. Multiple target general test cases obtained after current matching are displayed above in the figure. For example, there are 50 items, including Test Case 1, Test Case 2, and Test Case 3 (others not shown). Testers can delete the unnecessary test cases among them, and the deleted target general test cases can be displayed in the lower interface for testers to confirm. In addition, each test case also shows the affiliated end, generation method, and coverage characteristics. For example, the affiliated end can be for testing System 1, or for testing System 2, or a dual-end that can be both. The generation method of the automatically generated target general test cases is automatic. There are various coverage characteristics, such as Characteristic 1, Characteristic 2, and Characteristic 3. These different characteristics can be characteristics for describing the functions of target test cases, such as negative feedback reporting characteristics, negative feedback pop-up window characteristics, exposure reporting characteristics, exposure determination characteristics, etc.

[0176] In addition, if the currently automatically generated target general test cases do not meet the test requirements, or the version of the target general test cases is relatively low and needs to be modified, operations such as modification and addition can be performed on the displayed target general test cases on the configuration interface, and no specific restrictions are imposed here.

[0177] In some embodiments, the test task list further includes a pre-dependency check task. Before testing, a pre-dependency check also needs to be performed, specifically including:

[0178] (1) In response to a fifth selection operation for the pre-dependency check task, display the configuration information and data information of the second information push content;

[0179] Among them, the second information push content is matched from a preset information push content library according to the target general test cases after obtaining the target general test cases;

[0180] (2) In response to a second confirmation operation for the configuration information and data information, generate corresponding test results based on the target general test cases and the confirmed second information push content.

[0181] After automatically generating the test cases required for testing and before generating the test results, a pre-dependency check needs to be performed. The system can automatically pop up the interface of the pre-dependency check task, or in response to a fifth selection operation by the tester for the pre-dependency check task on the test task list interface, the interface of the pre-dependency check task can also be displayed. During the pre-dependency check process, the configuration information and data information of the second information push content will be displayed on the interface.

[0182] Among them, the second information push content is matched from a preset information push content library according to the target general test case. Specifically, since the target general test case can describe the specific requirements and expected results of the information push test, by matching the corresponding second information push content, it can be verified whether the information push process meets the requirements. Therefore, in the embodiments of the present application, by matching the conditions and rules in the target general test case, it can be tested whether the display logic of the information push process is correct and verified whether the display method of the information push meets the expectations. By automatically matching the corresponding second information push content according to the target general test case, testing can be effectively carried out to ensure the quality and functional normality of the test. At the same time, automatic matching can also improve the efficiency and accuracy of the test, reducing the possibility of manual intervention and errors.

[0183] The configuration information is the information of the second information push content recommendation position. The recommendation position refers to the specific position reserved on the application program or website for displaying the information push content. Therefore, when conducting information push tests, it is necessary to check the configuration information of the recommendation position. The specific configuration information may include the recommendation position configuration, protection configuration, and form configuration of the configuration system, as well as the configuration item inspection results. Among them, the recommendation position configuration refers to the settings of different recommendation positions in the information push system, including the position, display style, display timing, etc. of the recommendation position; the protection configuration refers to the protection settings of the recommendation position in the information push system to prevent the display of some information pushes that do not meet the conditions; the form configuration refers to the settings of the information push form in the information push system, including the display method, display materials, animation effects, etc. of the information push; the configuration item inspection result is the result of inspecting the recommendation position configuration items, mainly including information such as the product type and product ID.

[0184] The data information is the content data returned by the information push system according to the second information push content. In the embodiments of the present application, the information push system accessed by the new application program is responsible for providing information push content to the application program. Therefore, for the specific information content returned by the information push system, the data information may include the situation of the display request and the display reply. Among them, the display request means that when an object triggers a recommendation position on a certain page, the information recommendation system will send a request to the background server. The request contains data such as the configuration information of the information position and the behavioral characteristics. The information push system can select appropriate information push content from the information recommendation content library based on these data and generate data for display; the display return means that the information push data generated by the information push system according to the display request is returned to the front-end page for display; the information push data may include the display materials of the information push, the information push link, the main information of the information push, etc.

[0185] In this way, by checking the configuration information and data information, the accuracy and integrity of the test environment and test data can be ensured. Subsequently, in response to the second confirmation operation for the configuration information and data information, the corresponding test results can be generated based on the target general test cases and the content pushed according to the confirmed second information.

[0186] Please refer to Figure 7 , Figure 7 FIG. is a schematic diagram of the pre - dependency check interface provided by an embodiment of the present application. Among them, during the pre - dependency check task process, the configuration information and data information of multiple second information push contents can be checked. Here, only one is taken as an example. In the shown example, the target of the second information push content is to promote Mini Program A, and its serial number is 1. Then its configuration information includes checking the recommendation position configuration, protection configuration, and form configuration in the target application program system recommended to, and also includes the check result of configuration items, and checks and displays the passing situation. After the check result of the configuration item passes, the tick status will also be displayed. For example, the corresponding commodity type is checked to be [12, 34, 56], and the corresponding program id is 12345. This process can be automatically performed by the system or manually performed by the tester. In addition, the data information can display the corresponding display request and display reply, and at the same time, a "perform check" button can be clicked below to automatically perform the check.

[0187] In some embodiments, when there is no information push content matching the target general test case, the required information push content can also be generated based on the configuration of the tester, specifically including:

[0188] (1) When the information push content library does not satisfy the matching relationship with the current target general test case, display the information push content configuration interface;

[0189] (2) In response to the information push content configuration operation on the information push content configuration interface, obtain and display the second information push content.

[0190] When the information push content library does not satisfy the matching relationship with the current target general test case, this means that in the current target general test case, there is no content directly matching these information push contents. Therefore, in this case, it is necessary to configure the information push content to be pushed. So the tester will see a specific interface, that is, the information push content configuration interface, for subsequent configuration operations.

[0191] After the testers view the information push content configuration interface, they will be able to perform configuration operations according to their own needs and test objectives. Through these configuration operations, the testers can define, edit, or select suitable information push content to meet the current test requirements. After the configuration is completed, the system will generate the second information push content according to the configuration of the testers and display it. In this way, the information push content that does not match the target general test case can be configured and generated to ensure the comprehensiveness and accuracy of the test.

[0192] In some embodiments, the test task list further includes program test tasks. Therefore, after establishing the target general test cases and matching the information push content to be promoted in the above embodiments, testing needs to be performed in subsequent program test tasks, specifically including:

[0193] (1) In response to a sixth selection operation for the program test task, display a program test interface;

[0194] Among them, the program test interface includes at least the target general test cases and the second information push content;

[0195] (2) In response to a test start operation on the program test interface, test the target application program based on the target general test cases and the confirmed second information push content, and display the test results of the target application program.

[0196] It can be understood that in the embodiments of the present application, through the test case creation task, the target general test cases required for testing can be created. However, based on the division of the test process, different testers will perform professional operations. Therefore, after the use cases are created, the created target general test cases will be stored for subsequent use in the test phase.

[0197] Furthermore, the test phases can be divided according to actual needs. For example, in the Figure 4 shown test task list, it includes a traffic test phase and an acceptance test phase, both of which are test phases formulated according to actual needs. Among them, after clicking on the traffic test phase, the target application program can be initially tested. Therefore, after clicking on the Figure 4 traffic test phase, it is also equivalent to completing the sixth selection operation for the program test task, and the system can display the program test interface; or, after clicking on the acceptance test phase, the target application program can be further tested during the acceptance process. Therefore, it is also equivalent to completing the sixth selection operation for the program test task, and the system can display the program test interface. It can be understood that the system can also set the test phases required according to actual needs.

[0198] When the tester selects to execute the test task, the system will display a specific interface, namely the program test interface, which at least includes the previously configured target general test cases and the confirmed second information push content. In addition, when the system selects the first information push content that matches the test requirements, the first information push content can also be displayed on the program test interface, and no specific restrictions are imposed here.

[0199] Next, on the program test interface, the tester can perform a test start operation, that is, start executing the program test task, and then, according to the previously configured target general test cases and the confirmed second information push content, perform corresponding tests on the target application program. Through the test execution, the system will obtain the test results of the target application program and display them for the tester to analyze and evaluate.

[0200] Therefore, these two steps refer to the process of performing the program test task in the information push test. In this way, through the test start operation, the target application program is tested to obtain test results for further analysis and evaluation, which can ensure that the functions and performance of the target application program meet the requirements.

[0201] In some embodiments, after responding to the test start operation on the program test interface, data generated during the test process can also be displayed on the interface, specifically including:

[0202] (1) Display intermediate test data on the program test interface;

[0203] Among them, the intermediate test data is generated during the test of the target application program based on the target general test cases and the second information push content;

[0204] (2) When there is error data in the intermediate test data, summarize the error data to obtain and display error information in the program test interface.

[0205] During the execution of the program test task, the target application program is tested according to the configured target general test cases and the second information push content, and a series of intermediate test data is generated. These intermediate test data may include input and output results, running status, log records, etc. during the test process. To facilitate the tester to analyze and evaluate the test process, the system will display these intermediate test data on the program test interface. By displaying the intermediate test data, the tester can further understand the running situation and test results of the target application program.

[0206] During the testing process, if the target application generates error data (bugs), the system will aggregate and process these error data. The error data may include test cases not passing, function abnormalities, performance issues, etc. The system will count and classify the error data to obtain a summary of the error information. Then, these error information will be displayed on the program testing interface so that testers can clearly understand the types, quantities, and specific situations of the errors. By displaying the error information, testers can better locate and solve problems, ensuring the quality and stability of the target application.

[0207] Next, an explanation will be given on how to display intermediate test data, test results, and error information:

[0208] Please refer to Figure 8 , Figure 8 which is a schematic diagram showing the display of intermediate test data on the program testing interface provided by an embodiment of the present application. In the figure, the test tasks in the acceptance testing phase are shown. When the test is started, relevant test data can be displayed on the interface. As shown in the figure, there are the serial number of the test, the name of the test case of the general test case used, the test case classification, the pre-operations in the test, and the operation steps, and the expected results required for the test and the recommended content of the information to be tested are also shown. Among them, next to each piece of test data, there are corresponding buttons that can be used to edit, copy, or delete the test data, and the historical records of the test can be viewed.

[0209] The test results can be displayed in the program testing interface. Please refer to Figure 9 , Figure 9 which is a schematic diagram showing the display of test results provided by an embodiment of the present application. In a test result shown in this embodiment, various test-related information is shown, such as the passing situation of the test result; the name of this test task, that is, the requirement name, such as Program A - Splash Screen Recommended Content Test Verification; the type of the test task, such as an acceptance test task; the test person in charge; the test progress, such as 100% has been executed, indicating that the test is completed, and the execution quantity of the target test case is shown, such as the comparison between the executed test cases and the total test cases; the bug resolution rate, such as 100%, indicating that all the bugs generated during the test have been resolved. In addition, the test conclusion and suggestions can also be shown. These are edited by testers based on the test results and the test situation during the test process. As shown in the figure, there are two suggestions, namely "When logging in to the account, the splash screen request does not carry the login appid" and "Occasionally, the splash screen flashes and then directly ends, and the situation where the splash screen is not displayed", and the situation of whether the test suggestions have been executed and repaired is shown. In addition to this, other content can also be displayed in the test results. The test results can also be downloaded and exported under permitted circumstances, which will not be specifically limited here.

[0210] Please refer to Figure 10 ,Figure 10 It is a schematic diagram of the error message display situation provided by the embodiment of the present application. In the embodiment of the present application, the number of bugs generated can be counted during the test process, and the change trend of known problems or defects (i.e., bugs) found by users in the external network environment can be counted. These external network legacy bugs are usually problems that cannot be fully solved or timely discovered during software development and testing, and are drawn into a bar chart. In addition, it can also be drawn into a line chart or a pie chart, etc., which is not specifically limited here.

[0211] In summary, through the above steps 201 to 203, the embodiment of the present application generates and displays a test task list by responding to the test task creation operation for the target application program. The test task list at least includes a test case creation task; in response to the first selection operation for the test case creation task, a configuration interface for information push is displayed, and the configuration interface includes multiple configuration options; in response to the second selection operation of selecting multiple target configuration options from the multiple configuration options, the target general test cases obtained by combining the multiple target configuration options are displayed on the configuration interface, and corresponding test results are generated based on the target general test cases. In this way, when facing the information push test of a new application program, a test task list can be created and displayed according to the test task creation operation for the target application program, and all processes related to the test can be reflected in the test task list, making the process online, so as to form a unified and effective process management. When writing test cases, only the first selection operation for the test case creation task is required to display the configuration interface for information push. The configuration interface includes multiple configuration options, which can correspond to different general test cases. Therefore, after the second selection operation of selecting multiple target configuration options from the multiple configuration options, the target general test cases can be obtained by combining the selected multiple target configuration options and displayed. Thus, even when facing the tests of different new application programs, the test cases required for the test can be uniformly generated through a visual interface, and the use case generation is standardized and automated, better meeting the test requirements and not causing missed tests. Finally, corresponding test results can be generated based on the target general test cases, thereby improving the test accuracy of information push.

[0212] Combined with the method described in the above embodiments, the following will give further detailed examples.

[0213] To better illustrate the embodiment of the present application, please refer to Figure 11 as shown Figure 11It is a schematic diagram of the information push test system provided by an embodiment of the present application. The information push test system is mainly deployed with a management system, which is responsible for creating front-end tasks, managing milestones, tasks, task details, etc. These are all related to the business type. Among them, milestones and iterative tasks are related to tasks in the test task list such as application iteration or general test case iteration, and can display iterative nodes and historical information. Tasks are related to tasks in the test task list such as traffic testing, acceptance testing, and string testing. Through the management system, human resource perspective can be realized to understand the executors of each task.

[0214] Task details are responsible for automatic test case generation, automatic precondition dependency check, automatic test result filling, and task execution record function. Among them, through the deployment of the information push test system, automatic test case generation, automatic test result filling, automatic precondition dependency check, and task execution record can be realized, and these can be achieved through the test case library.

[0215] Task details can be described through the following process. Please refer to Figure 12 as shown Figure 12 It is a schematic diagram of the complete process of completing a test by the information push test method provided by an embodiment of the present application. The process specifically includes:

[0216] Step 1: Obtain information such as environment, traffic (new application), scenario, recommendation position, information recommendation system, and test case library. Subsequently, test cases can be generated based on this information;

[0217] Step 2: Generate test cases. If they are obtained by joint matching from the test case library, they are target general test cases;

[0218] Step 3: Check if it is fully covered. Here, it is checked whether the automatically established test cases can meet the test requirements;

[0219] Step 4: Supplement. When the condition of Step 3 is not met, that is, when it is not fully covered, the test cases need to be supplemented and improved;

[0220] Step 5: Start testing and conduct testing in the subsequent test process;

[0221] Step 6: Perform precondition dependency check. Before obtaining the test results, it is necessary to perform precondition dependency check on configuration information, data information, etc.;

[0222] Step 7: Check if the check is successful. It is necessary to determine whether the precondition dependency check passes;

[0223] Step 8: Pause testing. When the condition of Step 7 is not met, that is, when the precondition dependency check fails, it is necessary to return and start testing again;

[0224] Step 9: Whether it is a general test case. Here, it is necessary to check whether there is still new creation in the finally established test case.

[0225] Step 10: Generate test results. If all test cases are retrieved from the test case library, the test results can be directly obtained after the test ends.

[0226] Step 11: Query. Subsequently, the obtained test results are stored. Once the historical records need to be queried, the previous test records can be retrieved through the Eagle Eye system.

[0227] Step 12: New feature test. If the test case contains new cases, new feature tests need to be carried out.

[0228] Step 13: Automatically pull query data. Here, the historical test data can be obtained, combined with the characteristics of the current new cases for statistics.

[0229] Step 14: Fill in the test results. Since new cases are adopted, the test effects of the new cases can be filled in at this time to update the test case library.

[0230] In addition, a dependency system is also deployed. In the dependency system, there are a use case management system, a query system, an information push system, etc., which provide dependencies for the deployment of the test system for information push. Among them, the use case management system is used to manage the test case library. The query system can also be called the Eagle Eye system, which can facilitate the query work of the system. The information push system provides multiple information push contents. Through the deployment of the management system and the dependency system, full-scale automation of tasks can be achieved.

[0231] Exemplarily, please refer to Figure 13 as shown in Figure 13 is a schematic diagram of the query interface of the test system for information push provided by the embodiment of the present application. When it is necessary to query the historical records or the tasks in the current test process, the task information to be queried can be input on the interface, and the currently created tasks or historical records will be displayed on the interface. Taking the currently executed task as an example, the figure shows the task name, task type, affiliated end, status, version number, whether test cases have been generated, execution object, creation object, and creation time of the current task, etc. For example, Task 1 represents the name of a series of test tasks, which belongs to System 1, and currently this task has not been scheduled. The corresponding task version number is 8.01, and test cases have not been created yet. The execution object to be serially tested is Object B. This Task 1 was created by Object A at 20230101; similarly, Task 2 represents the name of an acceptance task, which belongs to System 2, and currently this task has been scheduled. The corresponding task version number is 8.10, and test cases have been created. Subsequent tests can be directly carried out. The execution object to be accepted is Object C. This Task 1 was created by Object A at 20230101.

[0232] Therefore, the test system for information push established in this embodiment can complete interactive operations on the online platform, automatically generate test cases and conduct tests. All processes related to testing can be reflected in the test task list, making the processes online and thus forming a unified and effective process management.

[0233] The overall interaction process of the platform can be illustrated as follows. Please refer to Figure 14 as shown Figure 14 which is a schematic diagram of the overall interaction process of the platform provided by the embodiment of the present application.

[0234] Among them, testers can perform task management. During the management process, operations such as adding, deleting, modifying, and querying tasks in the test task list can be carried out. The task management process is associated with various executors, including those responsible for application pool management, who can iterate the application, and those responsible for milestone management, that is, the executors at each stage of the task. It can also manage configuration management personnel, that is, testers, who can perform operations such as adding, deleting, modifying, and querying configuration options. In task management, a test case creation task can be selected to automatically create test cases. At this time, it is necessary to obtain the general test cases in the test case library. The test case library can also be created and managed by relevant personnel, and operations such as adding, deleting, modifying, and querying the general test cases in the test case library can be carried out. The testing process can be divided into multiple execution stages, such as the traffic testing stage, the acceptance testing stage, and the string testing stage, etc., and can also include other stages. However, during the operation of these stages, relevant data will be recorded for manpower management to obtain the executors and modifiers at each stage, etc. In addition, during the testing process, automatic association can be carried out using the retrieved general test cases. When the general test cases include call-type test cases, the test case execution results and test case execution parameters can be fed back based on the call-type test cases, so that test results can be generated subsequently. The display-type test cases can facilitate the display of relevant information during the testing process. Different test cases can be adjusted and scheduled and modified into the test case library, which is not specifically limited here.

[0235] Through the above embodiments, a manpower pivot table related to testing can be established, as shown in Table 1. Table 1 is the manpower pivot table, indicating the operation situations of different personnel for each task.

[0236] Table 1, Manpower Pivot Table

[0237]

[0238]

[0239] In addition, a task example table related to testing can also be established, as shown in Table 2. Table 2 is the task example table, indicating the specific information of each task.

[0240] Table 2, Task Example Table

[0241]

[0242]

[0243] In addition, an automatically generated test case table can be established, as shown in Table 3. Table 3 is a test case table, which represents the specific information of a certain test case. Table 3, Test Case Table

[0244]

[0245]

[0246] Finally, a test result table can be established, as shown in Table 4. Table 4 is a test result table, which represents the specific information of the test result.

[0247] Table 4, Test Result Table

[0248]

[0249] To facilitate better implementation of the test method for information push provided in the embodiments of the present application, the embodiments of the present application also provide a device based on the above-mentioned test method for information push. The meanings of the nouns are the same as those in the above-mentioned test method for information push, and the specific implementation details can be referred to the description in the method embodiments.

[0250] Please refer to Figure 15 , Figure 15 , which is a schematic structural diagram of the test device for information push provided in the embodiments of the present application. The test device for information push can be applied in the terminal in the above embodiments, or jointly executed by the terminal and the server. The test device for information push may include a task list creation unit 1501, a task selection unit 1502, a test unit 1503, etc.

[0251] The task list creation unit 1501 is configured to generate and display a test task list in response to a test task creation operation for a target application program. The test task list includes at least a test case creation task;

[0252] The task selection unit 1502 is configured to display a configuration interface for information push in response to a first selection operation for a test case creation task. The configuration interface includes a plurality of configuration options;

[0253] The test unit 1503 is configured to display a target general test case obtained by combining a plurality of target configuration options on the configuration interface in response to a second selection operation of selecting a plurality of target configuration options from the plurality of configuration options, and generate a corresponding test result based on the target general test case.

[0254] In some embodiments, the above-mentioned test unit 1503 is used for:

[0255] Obtain the first information push content matching the target application, and obtain the application attributes of the target application and the push attributes of the first information push content;

[0256] Determine multiple target configuration options from multiple configuration options according to the application attributes and the push attributes;

[0257] Display the target general test cases obtained by combining multiple target configuration options on the configuration interface, and generate corresponding test results based on the target general test cases.

[0258] In some embodiments, the above-mentioned test unit 1503 is further used for:

[0259] Determine a first configuration option from multiple configuration options according to the application attributes and the push attributes;

[0260] In response to a second selection operation of selecting a second configuration option from multiple configuration options, select the second configuration option;

[0261] Use the first configuration option and the second configuration option as the target configuration options.

[0262] In some embodiments, the test task list further includes a test requirement definition task, and the information push test device further includes a test definition unit (not labeled), and this test definition unit is used for:

[0263] In response to a third selection operation for the test requirement definition task, display a test requirement definition interface;

[0264] In response to the test requirements input on the test requirement definition interface, display a test list of the target application on the test requirement definition interface, and determine a third configuration option from multiple configuration options according to the test list;

[0265] In some embodiments, the above-mentioned test unit 1503 is further used for:

[0266] In response to a second selection operation of selecting a second configuration option from multiple configuration options, select the second configuration option;

[0267] Use the second configuration option and the third configuration option as the target configuration options, display the target general test cases obtained by combining multiple target configuration options on the configuration interface, and generate corresponding test results based on the target general test cases.

[0268] In some embodiments, there are multiple types of configuration options, and the above-mentioned test unit 1503 is further used for:

[0269] In response to a second selection operation of selecting multiple target configuration options from multiple configuration options, multiple different types of target configuration options are selected. At least one type of target configuration option corresponds to multiple general test cases in the test case library, and at least one general test case corresponds to multiple types of target configuration options;

[0270] Match according to multiple different types of target configuration options jointly in the test case library, and obtain and display the target general test cases on the configuration interface.

[0271] In some embodiments, the test task list further includes a general test case creation task, and the test device for information push further includes a general test case creation unit (not identified). The general test case creation unit is used for:

[0272] In response to a third selection operation for the general test case creation task, display the general test case creation interface;

[0273] In response to the general test case creation operation on the general test case creation interface, display multiple general test cases on the general test case creation interface;

[0274] In response to the label input operation for each general test case, display the label of each general test case on the general test case creation interface;

[0275] In response to the first confirmation operation of confirming as a configuration option from multiple labels, obtain the configuration option.

[0276] In some embodiments, the test task list further includes a general test case iteration task, and the test device for information push further includes a general test case iteration unit (not identified). The general test case iteration unit is used for:

[0277] In response to a fourth selection operation for the general test case iteration task, display the test case library interface, and the test case library interface includes multiple pre-established general test cases;

[0278] In response to the iteration operation for any one general test case, obtain the iterated general test case.

[0279] In some embodiments, the test task list further includes a pre-dependency check task, and the above test unit 1503 is further used for:

[0280] In response to a fifth selection operation for the pre-dependency check task, display the configuration information and data information of the second information push content. The second information push content is matched from the preset information push content library according to the target general test case;

[0281] In response to a second confirmation operation for configuration information and data information, corresponding test results are generated based on the target general test case and the content pushed after the confirmation of the second information.

[0282] In some embodiments, the test device for information push further includes an information push content configuration unit (not labeled), and the information push content configuration unit is used for:

[0283] When the information push content library does not satisfy the matching relationship with the current target general test case, display the information push content configuration interface;

[0284] In response to the information push content configuration operation on the information push content configuration interface, obtain and display the second information push content.

[0285] In some embodiments, the test task list further includes a program test task, and the above test unit 1503 is further used for:

[0286] In response to a sixth selection operation for the program test task, display the program test interface, and the program test interface includes at least the target general test case and the second information push content;

[0287] In response to the test start operation on the program test interface, test the target application program based on the target general test case and the confirmed second information push content, and display the test results of the target application program.

[0288] In some embodiments, after responding to the test start operation on the program test interface, the above test unit 1503 is further used for:

[0289] Display intermediate test data on the program test interface, and the intermediate test data is generated during the test of the target application program based on the target general test case and the second information push content;

[0290] When there is error data in the intermediate test data, summarize the error data, and obtain and display error information in the program test interface.

[0291] For the specific implementation of each of the above units, reference can be made to the previous embodiments, which will not be elaborated here.

[0292] As can be seen from the above, the task list creation unit 1501 of the embodiment of the present application generates and displays a test task list by responding to a test task creation operation for a target application. The test task list includes at least a test case creation task. The task selection unit 1502 responds to a first selection operation for the test case creation task and displays a configuration interface for information push. The configuration interface includes multiple configuration options. The test unit 1503 responds to a second selection operation of selecting multiple target configuration options from the multiple configuration options, displays a target general test case obtained by combining the multiple target configuration options on the configuration interface, and generates a corresponding test result based on the target general test case. In this way, when facing the information push test of a new application, a test task list can be created and displayed according to the test task creation operation for the target application. All processes related to the test can be reflected in the test task list, making the process online, thus forming a unified and effective process management. When writing test cases, only a first selection operation for the test case creation task is required to display the configuration interface for information push. The configuration interface includes multiple configuration options, which can correspond to different general test cases. Therefore, after a second selection operation of selecting multiple target configuration options from the multiple configuration options, a target general test case can be obtained and displayed by combining the selected multiple target configuration options. Thus, even when facing the tests of different new applications, test cases required for the test can be uniformly generated through a visual interface, realizing standardization and automation of use case generation, better meeting the test requirements, and avoiding missed tests. Finally, a corresponding test result can be generated based on the target general test case, thereby improving the test accuracy of information push.

[0293] The embodiment of the present application further provides a computer device, which can be a terminal, such as Figure 16 shown, which shows a schematic structural diagram of the terminal involved in the embodiment of the present application. Specifically:

[0294] The computer device may include a radio frequency (RF) circuit 1601, a memory 1602 including one or more computer-readable storage media, an input unit 1603, a display unit 1604, a sensor 1605, an audio circuit 1606, a wireless fidelity (WiFi) module 1607, a processor 1608 including one or more processing cores, and a power supply 1609 and other components. Those skilled in the art can understand that Figure 16 the terminal structure shown in

[0295] The RF circuit 1601 can be used for receiving and transmitting information or signals during a call. Specifically, after receiving the downlink information from the base station, it is handed over to one or more processors 1608 for processing. Additionally, data related to the uplink is sent to the base station. Generally, the RF circuit 1601 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, etc. Moreover, the RF circuit 1601 can also communicate with the network and other devices via wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to the Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

[0296] The memory 1602 can be used to store software programs and modules. The processor 1608 executes various functional applications and information retrievals by running the software programs and modules stored in the memory 1602. The memory 1602 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, applications required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the usage of the terminal (such as audio data, a phone book, etc.). In addition, the memory 1602 can include a high-speed random access memory and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices. Correspondingly, the memory 1602 can also include a memory controller to provide access to the memory 1602 for the processor 1608 and the input unit 1603.

[0297] The input unit 1603 can be used to receive input numerical or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to object settings and function controls. Specifically, in a specific embodiment, the input unit 1603 can include a touch-sensitive surface and other input devices. The touch-sensitive surface, also known as a touch display screen or a touchpad, can collect touch operations of an object on or near it (such as operations of the object using any suitable object or accessory such as a finger or a stylus on or near the touch-sensitive surface), and drive corresponding connection devices according to a preset program. Optionally, the touch-sensitive surface can include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the touch orientation of the object, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 1608, and can receive and execute commands sent by the processor 1608. In addition, various types such as resistive, capacitive, infrared, and surface acoustic wave can be used to implement the touch-sensitive surface. In addition to the touch-sensitive surface, the input unit 1603 can also include other input devices. Specifically, the other input devices can include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.

[0298] The display unit 1604 can be used to display information input by an object or information provided to the object, as well as various graphical object interfaces of the terminal. These graphical object interfaces can be composed of graphics, text, icons, videos, and any combination thereof. The display unit 1604 can include a display panel. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch-sensitive surface can cover the display panel. When the touch-sensitive surface detects a touch operation on or near it, it is transmitted to the processor 1608 to determine the type of touch event. Subsequently, the processor 1608 provides corresponding visual output on the display panel according to the type of touch event. Although in Figure 16 it, the touch-sensitive surface and the display panel are implemented as two independent components to realize input and input functions, but in some embodiments, the touch-sensitive surface and the display panel can be integrated to realize input and output functions.

[0299] The terminal may further include at least one sensor 1605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. Among them, the ambient light sensor can adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor can turn off the display panel and / or the backlight when the terminal is moved to the ear. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of the acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used in applications for identifying the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors that the terminal may also be configured with, they will not be elaborated here.

[0300] The audio circuit 1606, the speaker, and the microphone can provide an audio interface between the object and the terminal. The audio circuit 1606 can transmit the electrical signal converted from the received audio data to the speaker, and the speaker converts it into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 1606 and then converted into audio data. After the audio data is output to the processor 1608 for processing, it is sent to another terminal, for example, via the RF circuit 1601, or the audio data is output to the memory 1602 for further processing. The audio circuit 1606 may also include an earphone jack to provide communication between the peripheral earphone and the terminal.

[0301] WiFi belongs to short - range wireless transmission technology. The terminal can help the object send and receive emails, browse the web, and access streaming media through the WiFi module 1607. It provides the object with wireless broadband Internet access. Although Figure 16 the WiFi module 1607 is shown, it can be understood that it does not belong to the essential components of the terminal and can be omitted entirely within the scope of not changing the essence of the invention according to needs.

[0302] The processor 1608 is the control center of the terminal. It uses various interfaces and lines to connect all parts of the entire mobile phone. By running or executing the software programs and / or modules stored in the memory 1602, and by calling the data stored in the memory 1602, it executes various functions of the terminal and processes data, thereby monitoring the mobile phone as a whole. Optionally, the processor 1608 may include one or more processing cores; preferably, the processor 1608 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, the object interface, and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above - mentioned modem processor may not be integrated into the processor 1608 either.

[0303] The terminal further includes a power source 1609 (such as a battery) for supplying power to each component. Preferably, the power source can be logically connected to the processor 1608 through a power management system, so as to manage functions such as charging, discharging, and power consumption management through the power management system. The power source 1609 may further include any components such as one or more DC or AC power sources, a recharge system, a power failure detection circuit, a power converter or inverter, and a power status indicator.

[0304] Although not shown, the terminal may further include a camera, a Bluetooth module, etc., which will not be elaborated here. Specifically, in this embodiment, the processor 1608 in the terminal will load the executable files corresponding to the processes of one or more application programs into the memory 1602 according to the following instructions, and the processor 1608 will run the application programs stored in the memory 1602 to implement various functions:

[0305] In response to an operation of creating a test task for a target application program, generate and display a test task list, where the test task list at least includes a test case creation task;

[0306] In response to a first selection operation for the test case creation task, display a configuration interface for information push, where the configuration interface includes multiple configuration options;

[0307] In response to a second selection operation of selecting multiple target configuration options from the multiple configuration options, display a target general test case obtained by combining the multiple target configuration options on the configuration interface, and generate a corresponding test result based on the target general test case.

[0308] In the above embodiments, the descriptions of the respective embodiments have their own focuses. For the parts not elaborated in a certain embodiment, reference may be made to the detailed description of the information push test method above, which will not be elaborated here.

[0309] As can be seen from the above, the computer device according to the embodiments of the present application can generate and display a test task list by responding to a test task creation operation for a target application. The test task list includes at least a test case creation task; in response to a first selection operation for the test case creation task, a configuration interface for information push is displayed, and the configuration interface includes multiple configuration options; in response to a second selection operation of selecting multiple target configuration options from the multiple configuration options, a target general test case obtained by combining the multiple target configuration options is displayed on the configuration interface, and a corresponding test result is generated based on the target general test case. In this way, when facing the information push test of a new application, a test task list can be created and displayed according to the test task creation operation for the target application, and all processes related to the test can be reflected in the test task list, making the process online, so as to form a unified and effective process management. When it is necessary to write a test case, only a first selection operation for the test case creation task is required to display the configuration interface for information push. The configuration interface includes multiple configuration options, which can correspond to different general test cases. Therefore, after a second selection operation of selecting multiple target configuration options from the multiple configuration options, the target general test case can be obtained by combining the selected multiple target configuration options and displayed. Thus, even when facing the tests of different new applications, the test cases required for the test can be uniformly generated through a visual interface, and the use case generation is standardized and automated, better meeting the test requirements and avoiding missed tests. Finally, a corresponding test result can be generated based on the target general test case, thereby improving the test accuracy of information push.

[0310] Those of ordinary skill in the art can understand that all or part of the steps in the above various methods can be completed by instructions, or by instructions controlling related hardware. The instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0311] Therefore, the embodiments of the present application provide a computer-readable storage medium, which stores multiple instructions that can be loaded by a processor to execute the steps in any one of the information push test methods provided by the embodiments of the present application. For example, the instructions can execute the following steps:

[0312] In response to a test task creation operation for a target application, generate and display a test task list, the test task list includes at least a test case creation task;

[0313] In response to a first selection operation for the test case creation task, display a configuration interface for information push, and the configuration interface includes multiple configuration options;

[0314] In response to a second selection operation of selecting a plurality of target configuration options from a plurality of configuration options, a target general test case obtained by combining the plurality of target configuration options is displayed on the configuration interface, and a corresponding test result is generated based on the target general test case.

[0315] According to one aspect of the present application, there is provided a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the various alternative implementation manners provided in the foregoing embodiments.

[0316] For the specific implementation of each of the above operations, reference may be made to the foregoing embodiments, which will not be elaborated herein.

[0317] Among them, the computer-readable storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc.

[0318] Since the instructions stored in the computer-readable storage medium can execute the steps in any of the information push test methods provided in the embodiments of the present application, the beneficial effects achievable by any of the information push test methods provided in the embodiments of the present application can be achieved. For details, refer to the foregoing embodiments, which will not be elaborated herein.

[0319] The above has introduced in detail a test method, apparatus, storage medium, and device for information push provided in the embodiments of the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.

Claims

1. A test method for information push, characterized in that, Including: In response to a test task creation operation for a target application, generating and displaying a test task list, where the test task list at least includes a test case creation task; In response to a first selection operation for the test case creation task, displaying a configuration interface for information push, where the configuration interface includes multiple configuration options; In response to a second selection operation of selecting multiple target configuration options from the multiple configuration options, displaying a target general test case obtained by combining the multiple target configuration options on the configuration interface, and generating a corresponding test result based on the target general test case.

2. The test method for information push according to claim 1, characterized in that, The step of, in response to a second selection operation of selecting multiple target configuration options from the multiple configuration options, displaying a target general test case obtained by combining the multiple target configuration options on the configuration interface, and generating a corresponding test result based on the target general test case, includes: Obtaining first information push content that matches the target application, and obtaining the application attributes of the target application and the push attributes of the first information push content; Determining multiple target configuration options from the multiple configuration options according to the application attributes and the push attributes; Displaying a target general test case obtained by combining the multiple target configuration options on the configuration interface, and generating a corresponding test result based on the target general test case.

3. The test method for information push according to claim 2, characterized in that The step of determining multiple target configuration options from the multiple configuration options according to the application attributes and the push attributes includes: Determining a first configuration option from the multiple configuration options according to the application attributes and the push attributes; In response to a second selection operation of selecting a second configuration option from the multiple configuration options, selecting the second configuration option; Taking the first configuration option and the second configuration option as target configuration options.

4. The test method for information push according to claim 1, characterized in that The test task list further includes a test requirement definition task, and the test method for information push further includes: In response to a third selection operation for the test requirement definition task, displaying a test requirement definition interface; In response to the test requirements input on the test requirement definition interface, displaying a test list of the target application on the test requirement definition interface, and determining a third configuration option from the multiple configuration options according to the test list; The step of, in response to a second selection operation of selecting multiple target configuration options from the multiple configuration options, displaying a target general test case obtained by combining the multiple target configuration options on the configuration interface, and generating a corresponding test result based on the target general test case, includes: In response to a second selection operation of selecting a second configuration option from the multiple configuration options, selecting the second configuration option; Taking the second configuration option and the third configuration option as target configuration options, displaying a target general test case obtained by combining the multiple target configuration options on the configuration interface, and generating a corresponding test result based on the target general test case.

5. The test method for information push according to claim 1, characterized in that, The configuration options have multiple types. Responding to a second selection operation of selecting multiple target configuration options from the multiple configuration options, displaying, on the configuration interface, a target general test case obtained by combining the multiple target configuration options includes: Responding to a second selection operation of selecting multiple target configuration options from the multiple configuration options, selecting the multiple target configuration options of different types, at least one type of the target configuration options corresponding to multiple general test cases in a test case library, and at least one of the general test cases corresponding to multiple types of the target configuration options; Matching according to the combination of the multiple target configuration options of different types in the test case library, and obtaining and displaying the target general test case on the configuration interface.

6. The test method for information push according to claim 1, wherein The test task list further includes a general test case creation task. The test method of information push further includes: Responding to a third selection operation for the general test case creation task, displaying a general test case creation interface; Responding to a general test case creation operation on the general test case creation interface, displaying multiple general test cases on the general test case creation interface; Responding to a label input operation for each of the general test cases, displaying the label of each of the general test cases on the general test case creation interface; Responding to a first confirmation operation of confirming, from multiple labels, as the configuration option, obtaining the configuration option.

7. The test method for information push according to claim 6, wherein The test task list further includes a general test case iteration task. The test method of information push further includes: Responding to a fourth selection operation for the general test case iteration task, displaying a test case library interface, where the test case library interface includes multiple pre-established general test cases; Responding to an iteration operation for any one of the general test cases, obtaining the iterated general test case.

8. The test method for information push according to claim 1, characterized in that, The test task list further includes a pre-dependency check task. Generating a corresponding test result based on the target general test case includes: Responding to a fifth selection operation for the pre-dependency check task, displaying configuration information and data information of a second information push content, where the second information push content is matched from a preset information push content library according to the target general test case; Responding to a second confirmation operation for the configuration information and the data information, generating a corresponding test result based on the target general test case and the confirmed second information push content.

9. The test method for information push according to claim 8, wherein The test method of information push further includes: When the information push content library does not satisfy a matching relationship with the current target general test case, displaying an information push content configuration interface; Responding to an information push content configuration operation on the information push content configuration interface, obtaining and displaying the second information push content.

10. The test method for information push according to claim 8, wherein The test task list further includes a program test task. Generating a corresponding test result based on the target general test case and the confirmed second information push content includes: In response to a sixth selection operation for the program testing task, a program testing interface is displayed, and the program testing interface includes at least the target general test case and the second information push content; In response to a test start operation on the program testing interface, the target application program is tested based on the target general test case and the confirmed second information push content, and the test result of the target application program is displayed.

11. The test method for information push according to claim 10, characterized in that, After the response to the test start operation on the program testing interface, the test method of information push further includes: Intermediate test data is displayed on the program testing interface, and the intermediate test data is generated during the testing of the target application program based on the target general test case and the second information push content; When there is error data in the intermediate test data, the error data is summarized, and error information is obtained and displayed on the program testing interface.

12. A test device for information push, characterized in that, Including: A task list creation unit, configured to generate and display a test task list in response to a test task creation operation for a target application program, and the test task list includes at least a test case creation task; A task selection unit, configured to display a configuration interface for information push in response to a first selection operation for the test case creation task, and the configuration interface includes a plurality of configuration options; A test unit, configured to display a target general test case obtained by combining a plurality of the target configuration options on the configuration interface in response to a second selection operation of selecting a plurality of target configuration options from the plurality of configuration options, and generate a corresponding test result based on the target general test case.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the test method of information push according to any one of claims 1 to 11.

14. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, the steps in the test method of information push according to any one of claims 1 to 11 are implemented.

15. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, the steps in the test method of information push according to any one of claims 1 to 11 are implemented.