CN115543811A - Test data display method and device, computer equipment and readable storage medium - Google Patents

Test data display method and device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN115543811A
CN115543811A CN202211242816.6A CN202211242816A CN115543811A CN 115543811 A CN115543811 A CN 115543811A CN 202211242816 A CN202211242816 A CN 202211242816A CN 115543811 A CN115543811 A CN 115543811A
Authority
CN
China
Prior art keywords
test
program
result data
displaying
item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211242816.6A
Other languages
Chinese (zh)
Inventor
刘亚梅
汪辰
胡永峰
吴学亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202211242816.6A priority Critical patent/CN115543811A/en
Publication of CN115543811A publication Critical patent/CN115543811A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a test data display method and device, computer equipment and a readable storage medium, and relates to the field of software testing. The test data display method comprises the following steps: the computer equipment displays the test related data of the program to be tested so that the staff can know the program to be tested and the test items to be tested by the program; receiving project start information of a test project triggered by a user executing operation; and acquiring test result data of the program from the test platform corresponding to each test item, and displaying the test result data in a preset page. Therefore, after the worker tests on different test platforms, the test result data output by the different test platforms are collected and displayed, the condition that the user needs to check and determine the test result data on each test platform after completing the test on each test platform is avoided, and the working efficiency is improved.

Description

Test data display method and device, computer equipment and readable storage medium
Technical Field
The invention relates to the field of software testing, in particular to a method and a device for displaying test data, computer equipment and a readable storage medium.
Background
In the field of financial technology, version replacement of software is frequent, and a new version of software is inevitably tested during the version replacement.
In the testing process, a test engineer often needs to switch back and forth between a plurality of tools and platforms, for example, a coverage condition of a code line is obtained on a coverage test platform, a pass rate of a smoking case is obtained on the smoking test platform, a defect rate is calculated by using a defect analysis tool, and the like, and an error condition needs to be reported in real time.
Therefore, when a test engineer performs complicated test work, a great deal of time and energy are consumed to avoid omission of test items, so that the work efficiency is low.
Disclosure of Invention
In view of the above, the present invention provides a method and an apparatus for displaying test data, a computer device and a readable storage medium, which are used to improve the current situation of low work efficiency of a test engineer.
In a first aspect, an embodiment of the present invention provides a method for displaying test data, which is applied to a computer device, and includes:
displaying test related data of a program to be tested, wherein the test related data represents at least one test item required by the program;
receiving item starting information of the test item triggered by a user, wherein the item starting information indicates that the program starts to test in a test platform corresponding to the test item;
and acquiring test result data corresponding to the program from each test platform, and displaying the test result data in a preset page.
Optionally, in a feasible manner provided in the embodiment of the present invention, acquiring test result data corresponding to the program from each test platform, and displaying the test result data in a preset page includes:
acquiring test result data corresponding to the program from each test platform;
determining the category of each error report message in the test result data based on a preset error report category module, wherein the error report category module is realized based on an automatic processing classification promotion library;
taking the error reporting information with the category as the preset category as the error reporting information to be processed;
and displaying the to-be-processed error reporting information in the test result data in a preset page.
Optionally, in a feasible manner provided by the embodiment of the present invention, the displaying the to-be-processed error information in the test result data in a preset page includes:
determining the severity level of each piece of error reporting information to be processed according to the category of each piece of error reporting information to be processed based on the preset corresponding relation between the category and the severity level;
and controlling each piece of to-be-processed error reporting information in the test result data to be displayed in sequence according to the sequence of the severity grade from heavy to light.
Optionally, in a feasible manner provided by the embodiment of the present invention, the test related data further includes developer information and tester information corresponding to the program;
the method further comprises the following steps:
and carrying out associated display on the developer information, the tester information and the test result data corresponding to the program in a preset page.
Optionally, in a feasible manner provided by the embodiment of the present invention, the method further includes:
and acquiring test result data corresponding to the program from each test platform at preset time intervals, and updating and displaying the test result data in the preset page.
Optionally, in a possible manner provided by the embodiment of the present invention, the at least one test item includes at least one or more combinations of a defect test item, a coverage test item, and a smoking test item.
Optionally, in a feasible manner provided by the embodiment of the present invention, the test related data further includes a jump link of a test platform corresponding to the test item.
In a second aspect, an embodiment of the present invention provides a device for displaying test data, which is applied to a computer device, and includes:
the system comprises a display module, a test module and a control module, wherein the display module is used for displaying test related data of a program to be tested, and the test related data represents at least one test item required by the program;
the receiving module is used for receiving item starting information of the test item triggered by a user, wherein the item starting information indicates that the program starts to test in a test platform corresponding to the test item;
and the display module is used for acquiring the test result data corresponding to the program from each test platform and displaying the test result data in a preset page.
In a third aspect, an embodiment of the present invention provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the computer program, when running on the processor, executes the method for presenting test data as disclosed in any one of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed on a processor, performs the method for presenting test data disclosed in any one of the first aspects.
In the test data display method provided by the embodiment of the invention, the computer equipment displays the test related data of the program to be tested so as to enable a worker/user to know the program to be tested and display the test items to be tested by the program; when item starting information of a test item triggered by the execution of an operation by a user is received, determining that the test item required to be performed by a program is started; and acquiring the test condition of each test item of the program, namely test result data, from the test platform/software/tool corresponding to each test item, and displaying the test result data in a preset page.
Based on this, in the embodiment of the invention, after the worker tests on different test platforms, the test result data output by different test platforms are collected, and the different test result data are displayed, so that the condition that the user still needs to look up the test result data on each test platform after completing the test on each test platform is avoided, and the working efficiency of the worker is improved; moreover, because the test result data output by different test platforms are displayed in the same page, the staff can determine the relation among various test result data, and further can accurately judge the serious conditions of various errors, thereby being capable of reasonably and effectively carrying out test reporting.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required in the embodiments will be briefly described below, and it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention. Like components are numbered similarly in the various figures.
Fig. 1 is a schematic flowchart illustrating a first test data displaying method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a second method for displaying test data according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a third method for displaying test data according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus for testing data according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present invention, are intended to indicate only specific features, numerals, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the presence of or adding to one or more other features, numerals, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another, and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
Example 1
Referring to fig. 1, a schematic flow chart illustrating a first method for displaying test data according to an embodiment of the present invention is shown, where the method for displaying test data according to the embodiment of the present invention is applied to a computer device, and includes:
s110, displaying test related data of a program to be tested, wherein the test related data represents at least one test item required by the program.
That is, when the worker needs to perform the test task, the terminal of the worker displays the specific content of the test task, that is, the program to be tested corresponding to the test task and the test related data of the program to be tested are displayed.
It will be understood that the computer device will display the programs to be tested in other forms according to their names or identifiers, rather than directly displaying the program codes of the programs to be tested.
Further, the test-related data includes test items, and the test items include, but are not limited to, defect test items, coverage test items, and smoking test items, and therefore, in one possible implementation provided by the embodiments of the present invention, the at least one test item includes at least one or more combinations of defect test items, coverage test items, and smoking test items.
It should also be understood that the types of the test items are what can be set according to actual situations, and the embodiments of the present invention do not limit this.
Furthermore, if the worker is only required to perform the smoke test on the program in the test task assigned to the worker, the computer device may display only the name of the program and the text "smoke test is required". If the worker is required to perform the smoking test and the coverage rate test on the program, the computer equipment can display the name of the program, the character of 'smoking test required' and the character of 'coverage rate test required' and the like.
It can also be understood that the manner in which the computer device displays the test-related data is the content that can be set according to the actual situation, and the manner in which what kind of test needs to be performed, that is, what kind of test text is displayed, is only one feasible manner, and in another feasible manner provided by the embodiment of the present invention, the test-related data is preset in one page of the computer device and includes the text of the "smoking test", "coverage test", and "defect test", but each text is defaulted to be a hidden state; when the staff need to carry out one or more of the three tests, the computer equipment displays and highlights the characters corresponding to the tests.
Furthermore, it is also conceivable that the computer device in the embodiment of the present invention will display various types of content in the form of a page (Web), and in what manner the page is built/set up as content that can be set up according to the setting.
For example, in a feasible manner, software is pre-installed in the computer device, the software includes a built-in browser, and then the computer device collects and processes various types of test data according to the software, so that the processed data is displayed in the built-in browser in the software.
In another possible embodiment, the computer device is communicatively connected to a server, and the server is configured to collect and process various types of test data, and then the computer device reads and displays various types of data, such as test-related data, in the server based on the browser and a predetermined website.
And S120, receiving item starting information of the test item triggered by the user, wherein the item starting information indicates that the program starts to test in a test platform corresponding to the test item.
That is, the computer device determines whether the worker starts to perform the corresponding test item on the program to be tested according to the operation performed by the worker. When the operation executed by the staff is the preset operation and further triggers the project start information, the computer equipment knows that the test project is started or will be started, and therefore the test data corresponding to the test project is collected.
It is understood that the triggering manner of the project start information is a content that can be set according to the actual situation, for example, in a feasible manner, when the computer device displays the test related data of the program to be tested due to the operation of the staff, that is, when the computer device executes S110 due to the operation of the user, the operation of the user will synchronously trigger the project start information, and the computer device knows that the test project has/will start.
In another possible mode, a virtual button is preset in the test-related data display interface/page of the program to be tested, and when the user knows the test items to be performed by the program to be tested and clicks the virtual button, the item start information is triggered.
S130, obtaining test result data corresponding to the program from each test platform, and displaying the test result data in a preset page.
That is, after the computer device knows that the user has started the test work, the computer device will obtain the test result from the software/platform/tool that the user performed the test work. Exemplarily, the coverage rate testing tool in the prior art outputs the testing result including the code coverage rate of the program to be tested.
It can be understood that, when the computer device obtains the test result data output by the test platform/tool/software corresponding to the test item, the test result data is displayed in a preset page, so that the test results of different platforms are displayed in the same page/interface.
It can also be understood that, because the testing work of the software is to utilize various testing tools, whether there is a difference between the actual output and the expected output of the software is detected, and if there is a difference, the testing tool generates corresponding error reporting information. Therefore, the test result data displayed by the computer equipment comprises error reporting information.
It is clear that in the current software design, the existence of errors/bugs (bugs) is unavoidable, and although the generation of errors can be avoided based on experience, due to the continuous development of requirements, technologies and hardware, the software that can be normally used in the past will have various errors that are difficult to estimate when running, in other words, perfect programs/software/codes are difficult to realize at present.
Thus, even if there is an error in the software, the error can be ignored and not processed as long as the severity of the error is low. Exemplarily, if the code coverage of a module in the software/program is lower than 100%, an error is reported, and in an error report message, the code coverage is higher than 90%, although the code of the module is not completely covered, since the code coverage cannot guarantee that no error exists even if reaching 100%, the severity level of the error report message will be set to "low", that is, it indicates that the existence of the error does not affect the software/program operation.
Furthermore, it should be understood that the generation of the error information is determined by the software testing platform/tool, and the embodiment of the present invention is not limited thereto.
In the test data display method provided by the embodiment of the invention, the computer equipment displays the test related data of the program to be tested so as to enable a worker/user to know the program to be tested and display the test items to be tested by the program; when receiving item starting information of a test item triggered by a user executing operation, determining that the test item required to be performed by a program starts; and acquiring the test condition of each test item of the program, namely test result data, from the test platform/software/tool corresponding to each test item, and displaying the test result data in a preset page.
Based on this, in the embodiment of the invention, after the worker tests on different test platforms, the test result data output by the different test platforms are collected, and the different test result data are displayed, so that the condition that the user still needs to look up the test result data on each test platform after completing the test on each test platform is avoided, and the working efficiency of the worker is improved; moreover, because the test result data output by different test platforms are displayed in the same page, the staff can determine the relation among various test result data, and further can accurately judge the serious conditions of various errors, thereby being capable of reasonably and effectively carrying out test reporting.
Optionally, to further improve the working efficiency of the worker, in a feasible manner provided by the embodiment of the present invention, specifically referring to fig. 2, a flow diagram of a method for displaying second test data provided by the embodiment of the present invention is shown, that is, in this feasible manner, the S130 includes:
s131, obtaining test result data corresponding to the program from each test platform;
s132, determining the category of each error report information in the test result data based on a preset error report category module, wherein the error report category module is realized based on an automatic processing classification promotion library;
s133, taking the error reporting information with the preset category as the error reporting information to be processed;
and S134, displaying the to-be-processed error reporting information in the test result data in a preset page.
That is, before the computer device in the embodiment of the present invention displays the test result, the computer device further screens the data/error information output by each test platform, so as to avoid that a worker needs to refer to all error information at the same time.
Exemplarily, if the preset type is I/O (Input/Output), the error message is set as the error message to be processed when the error message is an I/O error. Furthermore, when the computer device processes the error information, the computer device only displays the error information of the I/O type, or displays the error information of the I/O type in priority to the error information of other types, so that the staff only processes the error information to be processed, or preferentially processes the error information to be processed, thereby improving the working efficiency of the staff.
It can be understood that the preset category is a content that can be set according to an actual situation, and the embodiment of the present invention does not limit this.
It can be further understood that the error category module in the embodiment of the present invention is implemented based on an automatic processing classification promotion library (castboost), and specifically how to implement category identification of error information by using the automatic processing classification promotion library is also implemented according to an actual situation, which is not limited in the embodiment of the present invention.
Optionally, in order to further improve the working efficiency of the worker, in a feasible manner provided in the embodiment of the present invention, the S134 includes:
determining the severity level of each error information to be processed according to the category of each error information to be processed based on the preset corresponding relation between the category and the severity level;
and controlling each piece of to-be-processed error reporting information in the test result data to be displayed in sequence according to the sequence of the severity grade from heavy to light.
That is, the computer device in the embodiment of the present invention prestores the mapping/corresponding relationship between the category and the severity level of the error information.
Further, while the computer device displays the error information to be processed, the computer device determines the severity level of the error information to be processed according to the category of the error information to be processed, and then displays each error information to be processed in sequence from heavy to light according to the severity level.
Therefore, the to-be-processed error-reporting information with higher severity level can be preferentially displayed, and the staff can also preferentially process the to-be-processed error-reporting information with higher severity level, so that the situation that the to-be-processed error-reporting information with higher severity level is not processed timely is avoided.
In addition, it can be understood that the corresponding relationship between the category and the severity level is a content that can be set according to actual situations, and the embodiment of the present invention does not limit this.
Optionally, to implement refined management of the test result, in a feasible manner provided by the embodiment of the present invention, specifically referring to fig. 3, a flow diagram of a method for displaying second test data provided by the embodiment of the present invention is shown, that is, the test-related data in the feasible manner further includes developer information and tester information corresponding to the program;
further, the method further comprises:
and S135, carrying out related display on the developer information, the tester information and the test result data corresponding to the program in a preset page.
That is, in the embodiment of the present invention, in order to enable the staff to clearly know the developer corresponding to the program to be tested, the information of the developer is synchronously displayed on the basis of displaying the test result data, and further, when the software test is performed, the staff can inquire the developer based on the information of the developer.
Furthermore, because the developer information and the tester information are displayed, when the test result of the worker is finished and reported, the reported information contains the developer information and the tester information, and the reported information can be correctly distributed to the corresponding developer if an error report message needs to be processed.
Furthermore, on the basis of the feasible mode, the reported information contains information of developers and information of testers, so that the source of any one test of the software can be traced, and the fine management of the test result is realized.
Optionally, in a feasible manner provided by the embodiment of the present invention, the method further includes:
and acquiring test result data corresponding to the program from each test platform at preset time intervals, and updating and displaying the test result data in the preset page.
That is, after the test result data are displayed, the computer device continuously obtains the latest test result data from each test platform, and then updates the content in the preset page by using the latest test result data, so that the display result of the preset page has timeliness and effectiveness.
Optionally, in a feasible manner provided by the embodiment of the present invention, the test related data further includes a jump link of a test platform corresponding to the test item.
Therefore, when the computer equipment displays the test items, the staff can quickly jump to each test platform according to the jump links of the test platforms corresponding to the test items, and accordingly the test work can be quickly carried out.
Further, in a feasible manner provided by the embodiment of the present invention, when the user performs the click operation of the jump link, the item start information is triggered, and the step of collecting the test result data is further performed.
Example 2
Corresponding to the method for displaying test data provided in embodiment 1 of the present invention, embodiment 2 of the present invention further provides a device 200 for displaying test data, and referring to fig. 4, a schematic structural diagram of the device for displaying test data provided in the embodiment of the present invention is shown, where the device for displaying test data provided in the embodiment of the present invention is applied to a computer device, and includes:
a display module 210, configured to display test related data of a program to be tested, where the test related data represents at least one test item that needs to be performed by the program;
a receiving module 220, configured to receive item start information of the test item triggered by a user, where the item start information indicates that the program starts to test in a test platform corresponding to the test item;
the display module 230 is configured to obtain test result data corresponding to the program from each test platform, and display the test result data in a preset page.
Optionally, in a feasible manner provided by the embodiment of the present invention, the display module includes:
the data acquisition submodule is used for acquiring test result data corresponding to the program from each test platform;
the classification submodule is used for determining the classification of each error report information in the test result data based on a preset error report classification module, wherein the error report classification module is realized based on an automatic processing classification promotion library;
the determining submodule is used for taking the error reporting information with the category as the preset category as the error reporting information to be processed;
and the message display sub-module is used for displaying the to-be-processed error reporting information in the test result data in a preset page.
Optionally, in a feasible manner provided by the embodiment of the present invention, the message display sub-module includes:
the grade determining unit is used for determining the severity grade of each piece of error reporting information to be processed according to the class of each piece of error reporting information to be processed based on the preset corresponding relation between the class and the severity grade;
and the sequencing display unit is used for controlling each piece of to-be-processed error reporting information in the test result data to be sequentially displayed according to the sequence from heavy to light in the severity level.
Optionally, in a feasible manner provided by the embodiment of the present invention, the test related data further includes developer information and tester information corresponding to the program;
furthermore, the apparatus further comprises:
and the association display module is used for performing association display on the developer information, the tester information and the test result data corresponding to the program in a preset page.
Optionally, in a feasible manner provided by the embodiment of the present invention, the apparatus further includes:
and the updating and displaying module is used for acquiring the test result data corresponding to the program from each test platform at preset time intervals, and updating and displaying the test result data in the preset page.
Optionally, in a possible manner provided by the embodiment of the present invention, the at least one test item includes at least one or more combinations of a defect test item, a coverage test item, and a smoking test item.
Optionally, in a feasible manner provided by the embodiment of the present invention, the test related data further includes a jump link of a test platform corresponding to the test item.
The test data display apparatus 200 provided in this embodiment of the present application can implement each process of the test data display method corresponding to embodiment 1, and can achieve the same technical effect, and for avoiding repetition, the description is omitted here.
The embodiment of the present invention further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the computer program executes the test data display method according to embodiment 1 when running on the processor.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program runs on a processor, the method for displaying test data according to embodiment 1 is executed.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part thereof which contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (10)

1. A method for displaying test data is applied to computer equipment and comprises the following steps:
displaying test related data of a program to be tested, wherein the test related data represents at least one test item required by the program;
receiving item starting information of the test item triggered by a user, wherein the item starting information indicates that the program starts to test in a test platform corresponding to the test item;
and acquiring test result data corresponding to the program from each test platform, and displaying the test result data in a preset page.
2. The method of claim 1, wherein the obtaining test result data corresponding to the program from each test platform and displaying the test result data in a preset page comprises:
acquiring test result data corresponding to the program from each test platform;
determining the category of each error report message in the test result data based on a preset error report category module, wherein the error report category module is realized based on an automatic processing classification promotion library;
taking the error reporting information with the category as the preset category as the error reporting information to be processed;
and displaying the to-be-processed error reporting information in the test result data in a preset page.
3. The method according to claim 2, wherein the displaying the to-be-processed error information in the test result data in a preset page includes:
determining the severity level of each piece of error reporting information to be processed according to the category of each piece of error reporting information to be processed based on the preset corresponding relation between the category and the severity level;
and controlling each piece of to-be-processed error reporting information in the test result data to be displayed in sequence according to the sequence of the severity grade from heavy to light.
4. The method for displaying test data according to claim 1, wherein the test-related data further includes developer information and tester information corresponding to the program;
the method further comprises the following steps:
and carrying out associated display on developer information, tester information and the test result data corresponding to the program in a preset page.
5. The method for displaying test data according to claim 1, further comprising:
and acquiring test result data corresponding to the program from each test platform at preset time intervals, and updating and displaying the test result data in the preset page.
6. The method for displaying test data according to claim 1, wherein the at least one test item comprises at least one or more combinations of a defect test item, a coverage test item, and a smoking test item.
7. The method for displaying test data according to claim 1, wherein the test-related data further includes jump links of test platforms corresponding to the test items.
8. A display device of test data is characterized in that the display device is applied to computer equipment and comprises:
the system comprises a display module, a test module and a display module, wherein the display module is used for displaying test related data of a program to be tested, and the test related data represents at least one test item required by the program;
the receiving module is used for receiving item starting information of the test item triggered by a user, wherein the item starting information indicates that the program starts testing in a test platform corresponding to the test item;
and the display module is used for acquiring the test result data corresponding to the program from each test platform and displaying the test result data in a preset page.
9. A computer device comprising a memory and a processor, the memory storing a computer program which, when run on the processor, performs the method of presenting test data according to any one of claims 1-7.
10. A computer-readable storage medium, in which a computer program is stored which, when run on a processor, performs a method of presenting test data according to any one of claims 1 to 7.
CN202211242816.6A 2022-10-11 2022-10-11 Test data display method and device, computer equipment and readable storage medium Pending CN115543811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211242816.6A CN115543811A (en) 2022-10-11 2022-10-11 Test data display method and device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211242816.6A CN115543811A (en) 2022-10-11 2022-10-11 Test data display method and device, computer equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115543811A true CN115543811A (en) 2022-12-30

Family

ID=84734020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211242816.6A Pending CN115543811A (en) 2022-10-11 2022-10-11 Test data display method and device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115543811A (en)

Similar Documents

Publication Publication Date Title
US8276126B2 (en) Determining causes of software regressions based on regression and delta information
US8589859B2 (en) Collection and processing of code development information
EP3511834B1 (en) System and method for tool chain data capture through parser for empirical data analysis
CN110765018B (en) Automatic interface testing method and equipment
CN107577597B (en) Installation package automatic testing method, device, equipment and storage medium
US20100281303A1 (en) Systems And Methods For Automated Determination Of Error Handling
CN111045944A (en) Regression testing method, device and system and computer readable storage medium
JP2006268666A (en) Automatic test system with correction function, automatic test method, and program
CN105183658A (en) Software code testing method and device
CN108009085B (en) Channel package testing method
CN112506773A (en) Abnormal scene testing method, device, equipment and storage medium
CN106294109B (en) Method and device for acquiring defect code
CN110688173B (en) Positioning method and device of components in cross-platform interface framework and electronic equipment
CN111966597B (en) Test data generation method and device
CN112084108A (en) Test script generation method and device and related components
CN115543811A (en) Test data display method and device, computer equipment and readable storage medium
Cao et al. CATMA: Conformance Analysis Tool For Microservice Applications
KR20140055292A (en) System and method for relating between failed component and performance criteria of manintenance rule by using component database of functional importance determination of nuclear power plant
CN107102938B (en) Test script updating method and device
CN116932414B (en) Method and equipment for generating interface test case and computer readable storage medium
CN115545677B (en) Online process specification detection method and system based on automatic case execution condition
CN114817077B (en) Method, system and network equipment for judging test quality and specification
CN112346994B (en) Test information association method, device, computer equipment and storage medium
CN111061599B (en) Method for generating check point of interface test environment
CN117349166A (en) Automatic test method, device, equipment and medium for mobile terminal JSAPI interface

Legal Events

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