CN116541270A - Method and device for testing adaptation verification of operating system - Google Patents

Method and device for testing adaptation verification of operating system Download PDF

Info

Publication number
CN116541270A
CN116541270A CN202310358567.5A CN202310358567A CN116541270A CN 116541270 A CN116541270 A CN 116541270A CN 202310358567 A CN202310358567 A CN 202310358567A CN 116541270 A CN116541270 A CN 116541270A
Authority
CN
China
Prior art keywords
test
product
report
tested
generating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310358567.5A
Other languages
Chinese (zh)
Other versions
CN116541270B (en
Inventor
吴祖顺
罗丰
叶晓聪
刘强军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen National Financial Technology Evaluation Center Co ltd
Original Assignee
Shenzhen National Financial Technology Evaluation Center 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 Shenzhen National Financial Technology Evaluation Center Co ltd filed Critical Shenzhen National Financial Technology Evaluation Center Co ltd
Priority to CN202310358567.5A priority Critical patent/CN116541270B/en
Publication of CN116541270A publication Critical patent/CN116541270A/en
Application granted granted Critical
Publication of CN116541270B publication Critical patent/CN116541270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/3684Test management for test design, e.g. generating new test cases
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

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 application provides an adaptation verification test method and device of an operating system, wherein when the test device is connected with a product to be tested, the test device collects relevant information of the product to be tested, and determines an operation report of the product to be tested according to the relevant information; the operation report is used for evaluating the operation integrity of the test case corresponding to the product to be tested; generating analysis data corresponding to the test case according to the operation report and the related information; and generating an adaptation verification test report result according to the operation report and the analysis data. According to the scheme, various intelligent operating system debugging bridges and device connectors integrated through automatic operation are tried to be connected with different operating systems, an operating system of a test object is not required to be known in advance, and then a corresponding debugging bridge and a corresponding testing tool are manually found according to the type of the operating system, so that full-automatic test of plug and play is realized under the condition that the type of the operating system of the test object is not required to be known.

Description

Method and device for testing adaptation verification of operating system
Technical Field
The application relates to the field of system testing, in particular to a method and a device for testing the adaptation verification of an operating system.
Background
The existing operating system test needs to know the type and version of the operating system of the test object in advance, then the corresponding configuration can be carried out, finally a test report is generated, and when a large number of products with different product forms and different operating systems are required to be tested by the operating system, the test efficiency is lower.
Disclosure of Invention
In view of the foregoing, the present application has been developed to provide a method and apparatus for testing the fit verification of an operating system that overcomes or at least partially solves the foregoing, comprising:
an adaptation verification test method of an operating system, the method relates to a test device and a product to be tested, and comprises the following steps:
when the testing device is connected with the product to be tested, the testing device collects relevant information of the product to be tested and determines an operation report of the product to be tested according to the relevant information; the operation report is used for evaluating the operation integrity of the test case corresponding to the product to be tested;
generating analysis data corresponding to the test case according to the operation report and the related information;
and generating an adaptation verification test report result according to the operation report and the analysis data.
Further, the step of determining the operation report of the product to be tested according to the related information includes:
determining the operation information of the product to be tested according to the related information; the operation information comprises an operation condition and an operation log file;
and generating an operation report of the product to be tested according to the operation information.
Further, the step of determining the operation information of the product to be tested according to the related information includes:
determining a deployment path corresponding to the test case according to the related information;
and determining the operation information of the product to be tested according to the deployment path.
Further, the step of determining the deployment path corresponding to the test case according to the related information includes:
determining a test suite of a corresponding version of the product to be tested according to the related information; wherein the test suite is a set of the test cases;
and determining a corresponding deployment path according to the test case.
Further, the step of generating the operation report of the product to be tested according to the operation information includes:
and generating an operation report of the test case according to the deployment path and the operation condition.
Further, the analysis data comprises comparison data and solutions, and the solutions are in one-to-one correspondence with the test cases; the step of generating the analysis data corresponding to the test case according to the operation report and the related information comprises the following steps:
determining comparison data of the test cases according to the operation report;
and generating a solution corresponding to the test case according to the comparison data and the operation log file.
Further, the step of generating an adaptation verification test report result according to the operation report and the analysis data comprises the following steps:
and generating the adaptation verification test report result according to the operation report, the comparison data and the solution.
For realizing the application, the application also provides an adaptation verification test device of an operating system, wherein the device relates to a test device and a product to be tested, and is characterized by comprising:
the operation analysis module is used for acquiring related information of the product to be tested when the testing device is connected with the product to be tested, and determining an operation report of the product to be tested according to the related information; the operation report is used for evaluating the operation integrity of the test case corresponding to the product to be tested;
the data analysis module is used for generating analysis data corresponding to the test case according to the operation report and the related information;
and the report generation module is used for generating an adaptation verification test report result according to the operation report and the analysis data.
A computer device comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, which when executed by the processor implements the steps of a method of an operating system adaptation verification test as described above.
A computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of a method of an operating system adaptation verification test as described above.
The application has the following advantages:
in the embodiment of the present application, compared with the problem that in the prior art, the operating system needs to know the operating system of the test object in advance, the present application provides a solution for configuring the test device and the test server through the debug bridge connection, so that the test device downloads the application program to be tested and the test script file from the test server, specifically: when the testing device is connected with the product to be tested, the testing device collects relevant information of the product to be tested and determines an operation report of the product to be tested according to the relevant information; the operation report is used for evaluating the operation integrity of the test case corresponding to the product to be tested; generating analysis data corresponding to the test case according to the operation report and the related information; and generating an adaptation verification test report result according to the operation report and the analysis data. According to the scheme, various intelligent operating system debugging bridges and device connectors integrated through automatic operation are tried to be connected with different operating systems, an operating system of a test object is not required to be known in advance, and then a corresponding debugging bridge and a corresponding testing tool are manually found according to the type of the operating system, so that full-automatic test of plug and play is realized under the condition that the type of the operating system of the test object is not required to be known.
Drawings
For a clearer description of the technical solutions of the present application, the drawings that are needed in the description of the present application will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an adaptation verification test method of an operating system according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating the steps of testing the fit verification of a testing device according to one embodiment of the present application;
FIG. 3 is a block diagram of an apparatus for testing the fit verification of an operating system according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present application more comprehensible, the present application is described in further detail below with reference to the accompanying drawings and detailed description. It will be apparent that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Referring to FIG. 1, there is shown a method for testing the fit verification of an operating system according to one embodiment of the present application, the method involving a testing device and a product to be tested;
comprising the following steps:
s110, when the testing device is connected with the product to be tested, the testing device collects relevant information of the product to be tested, and determines an operation report of the product to be tested according to the relevant information; the operation report is used for evaluating the operation integrity of the test case corresponding to the product to be tested;
s120, generating analysis data corresponding to the test case according to the operation report and the related information;
s130, generating an adaptation verification test report result according to the operation report and the analysis data.
In the embodiment of the present application, compared with the problem that in the prior art, the operating system needs to know the operating system of the test object in advance, the present application provides a solution for configuring the test device and the test server through the debug bridge connection, so that the test device downloads the application program to be tested and the test script file from the test server, specifically: when the testing device is connected with the product to be tested, the testing device collects relevant information of the product to be tested and determines an operation report of the product to be tested according to the relevant information; the operation report is used for evaluating the operation integrity of the test case corresponding to the product to be tested; generating analysis data corresponding to the test case according to the operation report and the related information; and generating an adaptation verification test report result according to the operation report and the analysis data. According to the scheme, various intelligent operating system debugging bridges and device connectors integrated through automatic operation are tried to be connected with different operating systems, an operating system of a test object is not required to be known in advance, and then a corresponding debugging bridge and a corresponding testing tool are manually found according to the type of the operating system, so that full-automatic test of plug and play is realized under the condition that the type of the operating system of the test object is not required to be known.
Next, a method of testing the fit verification of an operating system in the present exemplary embodiment will be further described.
In an embodiment of the present invention, referring to fig. 2, the test apparatus includes an information acquisition module, a test suite compiling configuration and deployment module, a test suite execution and status monitoring module, an intermediate result automatic analysis and generation module, a problem analysis comparison module, and a report automatic generation module; the information acquisition module is used for acquiring information such as an operating system version, a main chip and the like of the product to be tested through a debugging command; the test suite compiling configuration and deployment module is used for compiling the test suite corresponding to the system version and configuring and deploying the corresponding test suite; the test suite execution and state monitoring module is used for detecting the running condition of the equipment and the test script; the intermediate result automatic analysis and generation module is used for analyzing the integrity of the test case operation and generating an intermediate report; the problem analysis comparison module is used for analyzing the test cases and positioning solutions; the report automatic generation module is used for generating a report for the system test result.
Through the debugging bridge and the device connector of various intelligent operating systems integrated by automatic operation, connection with different operating systems is tried, any system can be directly accessed without being configured according to the corresponding system in advance, then test tasks are executed according to the steps of each module of the testing device, and finally an evaluation report and a problem solution are generated.
As described in step S110, when the testing device is connected with the product to be tested, the testing device collects related information of the product to be tested, and determines an operation report of the product to be tested according to the related information; the operation report is used for evaluating the operation integrity of the test case corresponding to the product to be tested.
In a specific embodiment, the evaluation products such as a finance digital service terminal, a development board or a cloud loudspeaker are connected with an information acquisition module, the information acquisition module tries to connect equipment through various integrated intelligent operating system debugging bridges and equipment connectors, after the connection is successful, information such as an operating system version, a main chip and the like is acquired through a debugging command, and the information is output to a test suite compiling configuration and deployment module.
It should be noted that the debug bridge is a command line tool with various functions, and is used for controlling the actions of downloading, installing, opening, testing, etc. of the application program running on the platform. The above actions may be specified by a preset script file. The debug bridge can help the user to view and debug any problems occurring in the device and program during the development and debug phases without affecting the normal operating state.
In one embodiment of the present invention, the specific process of determining the operation report of the product to be tested according to the related information in step S110 may be further described in conjunction with the following description.
Determining the operation information of the product to be tested according to the related information as follows; the operation information comprises an operation condition and an operation log file;
and generating an operation report of the product to be tested according to the operation information as described in the following steps.
In one embodiment of the present invention, the specific process of determining the operation information of the product to be tested according to the related information may be further described in conjunction with the following description.
Determining a deployment path corresponding to the test case according to the related information;
it should be noted that, a test suite (test suite) in software engineering is sometimes referred to as a verification suite (validation suite), which is a collection of many test cases, where a test case may be used to test whether a program works correctly, and the test suite includes many test cases, and generally will also have detailed descriptions about the test cases and their test purposes, system configuration information during testing, and steps to be performed before testing. A test script (Testing script) generally refers to a series of instructions for a specific test, where the instructions can be executed by an automated test tool, and the test script must be written corresponding to a corresponding test case, and the test script corresponds to a program written and recorded by an automated execution case.
As an example, determining a test suite of a corresponding version of the product to be tested according to the related information; wherein the test suite is a set of the test cases; and determining a corresponding deployment path according to the test case. Specifically, the test suite compiling configuration and deployment module compiles the test suite of the corresponding version according to the information such as the main chip and the operating system version output by the information acquisition module, and the test suite is automatically configured and deployed after the compiling is successful. After the test suite environment is prepared, the test suite compiling configuration and deployment module sends the environment path of the test suite to the test suite execution and state monitoring module and the intermediate result automatic analysis and generation module, and issues execution instructions to the test suite execution and state monitoring module.
In a specific implementation, if the operating system is openhard, the compiling script is executed by executing the instruction execution compiling script of +/build.sh product_name= < chip name > system_size= < operating system type >, and the corresponding version of the test suite is compiled, and after the compiling is successful, the output test case is output to the designated directory, so that the configuration and deployment of the test suite are completed. After the test suite environment is prepared, the test suite compiling configuration and deployment system sends the output directory path of the test case to the test suite execution and state monitoring module and the intermediate result automatic analysis and generation module, and issues run xxx execution instructions to the test suite execution and state monitoring module.
And determining the operation information of the product to be tested according to the deployment path as described in the following steps.
As an example, a test suite execution and state monitoring module is connected with the product to be tested, reads files such as an adaptation verification test script under a test case output catalog, executes the test scripts one by one, continuously detects the running conditions of equipment and the test scripts, runs all the test scripts to obtain running information of the product to be tested, and outputs the running information to an intermediate result automatic analysis and generation module; the running information comprises the running condition and a running log file of the product to be tested.
In an embodiment of the present invention, the specific process of "generating the operation report of the product to be tested according to the operation information" may be further described in conjunction with the following description.
And generating an operation report of the test case according to the deployment path and the operation condition as described in the following steps.
As an example, the automatic analysis and generation module of intermediate results reads the test script under the test case output directory and the results output by the test suite execution and state monitoring module, namely the running condition, analyzes the running integrity of the test case and generates an intermediate result report, namely the running report; the operation report is used for evaluating the operation integrity of the test case corresponding to the product to be tested.
In a specific implementation, the automatic analysis and generation module of intermediate results reads the test script under the test case output directory and the html result file output by the test suite execution and state monitoring module, and analyzes the integrity of test case operation and generates an intermediate result report by comparing html test items and test script names.
And step S120, generating analysis data corresponding to the test case according to the operation report and the related information.
In an embodiment of the present invention, the specific process of "generating the analysis data corresponding to the test case according to the operation report and the related information" in step S120 may be further described in conjunction with the following description.
Determining comparison data of the test cases according to the operation report;
and generating a solution corresponding to the test case according to the comparison data and the operation log file as described in the following steps.
The analysis data includes comparison data and solutions, the solutions are in one-to-one correspondence with the test cases, and the problem analysis comparison module stores a problem analysis and solution database.
As an example, according to the integrity report of test cases obtained by comparing html test items and test script names, test cases which are not passed, abnormal, failed and the like after comparison and corresponding operation log files are sent to a problem analysis comparison module, so as to obtain comparison data of the test cases, and the problem analysis comparison module positions and locks corresponding solutions according to the comparison data and the operation log files in the operation information.
In a specific implementation, the operation report is sent to an automatic generation module of the adaptation verification report, and meanwhile, test cases which are failed, abnormal, failed and the like after comparison and corresponding operation log files are sent to a problem analysis comparison module. The problem analysis comparison module traverses the test case list to be analyzed, reads corresponding test case analysis and solution information from the problem analysis and solution database, and if a certain test case has a plurality of potential problem branches, the problem analysis comparison module further locks the problem points by retrieving key information in the log file to position the solution, and finally issues the problem analysis result and the solution to the automatic generation module of the adaptation verification report.
And generating an adaptation verification test report result according to the operation report and the analysis data as shown in the step S130.
In one embodiment of the present invention, the specific process of "generating an adaptation verification test report result from the operation report and the analysis data" described in step S130 may be further described in connection with the following description.
And generating the adaptation verification test report result according to the operation report, the comparison data and the solution as follows.
In a specific implementation, the automatic generation module of the adaptation verification report integrates and typesets information of the operation report issued by the automatic analysis and generation module of the intermediate result, the problem analysis result issued by the problem analysis comparison module (namely the comparison data) and the solution, and generates a final adaptation verification test report according to the well-configured adaptation verification test report template.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
Referring to FIG. 3, there is shown an operating system adaptation verification test apparatus provided in an embodiment of the present application, the apparatus involving a test apparatus and a product to be tested;
the method specifically comprises the following steps:
an operation analysis module 310, configured to, when the testing device is connected to the product to be tested, collect related information of the product to be tested, and determine an operation report of the product to be tested according to the related information; the operation report is used for evaluating the operation integrity of the test case corresponding to the product to be tested;
the data analysis module 320 is configured to generate analysis data corresponding to the test case according to the operation report and the related information;
and a report generating module 330, configured to generate an adaptation verification test report result according to the operation report and the analysis data.
In one embodiment of the present invention, the operation analysis module 310 includes:
the operation information determining submodule is used for determining the operation information of the product to be tested according to the related information; the operation information comprises an operation condition and an operation log file;
and the operation report generation sub-module is used for generating an operation report of the product to be tested according to the operation information.
In an embodiment of the present invention, the operation information determining sub-module includes:
the configuration deployment unit is used for determining a deployment path corresponding to the test case according to the related information;
and the information determining unit is used for determining the operation information of the product to be tested according to the deployment path.
In one embodiment of the present invention, the configuration deployment unit includes:
the test suite determining subunit is used for determining a test suite of a corresponding version of the product to be tested according to the related information; wherein the test suite is a set of the test cases;
and the deployment path determination subunit is used for determining a corresponding deployment path according to the test case.
In one embodiment of the present invention, the operation report generating sub-module includes:
and the operation report generating unit is used for generating an operation report of the test case according to the deployment path and the operation condition.
In one embodiment of the present invention, the analysis data includes comparison data and solutions, the solutions corresponding one-to-one to the test cases; the data analysis module 320 includes:
the data comparison sub-module is used for determining comparison data of the test cases according to the operation report;
and the scheme positioning sub-module is used for generating a solution corresponding to the test case according to the comparison data and the operation log file.
In one embodiment of the present invention, the report generating module 330 includes:
and the test report generation sub-module is used for generating the adaptation verification test report result according to the operation report, the comparison data and the solution.
Referring to fig. 4, a computer device of an adaptation verification test method of an operating system according to the present invention may specifically include the following:
the computer device 12 described above is embodied in the form of a general purpose computing device, and the components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus 18 structures, including a memory bus 18 or memory controller, a peripheral bus 18, an accelerated graphics port, a processor, or a local bus 18 using any of a variety of bus 18 architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus 18, micro channel architecture (MAC) bus 18, enhanced ISA bus 18, video Electronics Standards Association (VESA) local bus 18, and Peripheral Component Interconnect (PCI) bus 18.
Computer device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (commonly referred to as a "hard disk drive"). Although not shown in fig. 4, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk such as a CD-ROM, DVD-ROM, or other optical media may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. The memory may include at least one program product having a set (e.g., at least one) of program modules 42, the program modules 42 being configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, a memory, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules 42, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, camera, etc.), one or more devices that enable an operator to interact with the computer device 12, and/or any devices (e.g., network card, modem, etc.) that enable the computer device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Moreover, computer device 12 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet, through network adapter 20. As shown in fig. 4, the network adapter 20 communicates with other modules of the computer device 12 via the bus 18. It should be appreciated that although not shown in fig. 4, other hardware and/or software modules may be used in connection with computer device 12, including, but not limited to: microcode, device drivers, redundant processing units 16, external disk drive arrays, RAID systems, tape drives, data backup storage systems 34, and the like.
The processing unit 16 executes programs stored in the system memory 28 to perform various functional applications and data processing, for example, to implement a concurrency control method for a columnar database according to an embodiment of the present invention.
That is, the processing unit 16 realizes when executing the program: when the testing device is connected with the product to be tested, the testing device collects relevant information of the product to be tested and determines an operation report of the product to be tested according to the relevant information; the operation report is used for evaluating the operation integrity of the test case corresponding to the product to be tested; generating analysis data corresponding to the test case according to the operation report and the related information; and generating an adaptation verification test report result according to the operation report and the analysis data.
In an embodiment of the present invention, the present invention further provides a computer readable storage medium, where a computer program is stored, where the program when executed by a processor implements a concurrency control method for a column-store database provided in all embodiments of the present application:
that is, the program is implemented when executed by a processor: when the testing device is connected with the product to be tested, the testing device collects relevant information of the product to be tested and determines an operation report of the product to be tested according to the relevant information; the operation report is used for evaluating the operation integrity of the test case corresponding to the product to be tested; generating analysis data corresponding to the test case according to the operation report and the related information; and generating an adaptation verification test report result according to the operation report and the analysis data.
Any combination of one or more computer readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the operator's computer, partly on the operator's computer, as a stand-alone software package, partly on the operator's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the operator computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (e.g., connected through the internet using an internet service provider). In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
While preferred embodiments of the present embodiments have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the present application.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The foregoing has described in detail the method and apparatus for testing the adaptation verification of an operating system provided in the present application, and specific examples have been applied to illustrate the principles and embodiments of the present application, where the foregoing examples are only for aiding in understanding the method and core idea of the present application; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. A method of operating system adaptation verification testing, the method involving a testing device and a product to be tested, comprising the steps of:
when the testing device is connected with the product to be tested, the testing device collects relevant information of the product to be tested and determines an operation report of the product to be tested according to the relevant information; the operation report is used for evaluating the operation integrity of the test case corresponding to the product to be tested;
generating analysis data corresponding to the test case according to the operation report and the related information;
and generating an adaptation verification test report result according to the operation report and the analysis data.
2. The method of claim 1, wherein the step of determining an operational report of the product under test based on the relevant information comprises:
determining the operation information of the product to be tested according to the related information; the operation information comprises an operation condition and an operation log file;
and generating an operation report of the product to be tested according to the operation information.
3. The method of claim 2, wherein the step of determining the operational information of the product to be tested based on the related information comprises:
determining a deployment path corresponding to the test case according to the related information;
and determining the operation information of the product to be tested according to the deployment path.
4. The method of claim 3, wherein the step of determining the deployment path corresponding to the test case according to the related information comprises:
determining a test suite of a corresponding version of the product to be tested according to the related information; wherein the test suite is a set of the test cases;
and determining a corresponding deployment path according to the test case.
5. The method of claim 2, wherein the step of generating an operation report of the product to be tested from the operation information comprises:
and generating an operation report of the test case according to the deployment path and the operation condition.
6. The method of claim 2, wherein the analysis data comprises comparison data and solutions, the solutions corresponding one-to-one to the test cases; the step of generating the analysis data corresponding to the test case according to the operation report and the related information comprises the following steps:
determining comparison data of the test cases according to the operation report;
and generating a solution corresponding to the test case according to the comparison data and the operation log file.
7. The method of claim 6, wherein the step of generating an adaptation verification test report result from the operation report and the analysis data comprises:
and generating the adaptation verification test report result according to the operation report, the comparison data and the solution.
8. An operating system adaptation verification test device, the device relating to a test device and a product to be tested, comprising:
the operation analysis module is used for acquiring related information of the product to be tested when the testing device is connected with the product to be tested, and determining an operation report of the product to be tested according to the related information; the operation report is used for evaluating the operation integrity of the test case corresponding to the product to be tested;
the data analysis module is used for generating analysis data corresponding to the test case according to the operation report and the related information;
and the report generation module is used for generating an adaptation verification test report result according to the operation report and the analysis data.
9. A computer device comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, which when executed by the processor implements a method of adaptation verification testing of an operating system as claimed in any one of claims 1 to 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements a method of adaptation verification testing of an operating system according to any one of claims 1 to 7.
CN202310358567.5A 2023-03-27 2023-03-27 Method and device for testing adaptation verification of operating system Active CN116541270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310358567.5A CN116541270B (en) 2023-03-27 2023-03-27 Method and device for testing adaptation verification of operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310358567.5A CN116541270B (en) 2023-03-27 2023-03-27 Method and device for testing adaptation verification of operating system

Publications (2)

Publication Number Publication Date
CN116541270A true CN116541270A (en) 2023-08-04
CN116541270B CN116541270B (en) 2024-01-02

Family

ID=87446009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310358567.5A Active CN116541270B (en) 2023-03-27 2023-03-27 Method and device for testing adaptation verification of operating system

Country Status (1)

Country Link
CN (1) CN116541270B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117041114A (en) * 2023-08-21 2023-11-10 深圳国家金融科技测评中心有限公司 Automatic test method and device for terminal communication protocol safety test
CN117041114B (en) * 2023-08-21 2024-07-09 深圳国家金融科技测评中心有限公司 Automatic test method and device for terminal communication protocol safety test

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150236799A1 (en) * 2014-02-20 2015-08-20 Wistron Corporation Method and system for quick testing and detecting mobile devices
US20160110281A1 (en) * 2014-10-17 2016-04-21 Insyde Software Corporation System and method for debugging firmware/software by generating trace data
CN107168879A (en) * 2017-05-23 2017-09-15 网易(杭州)网络有限公司 The generation method and device of centralized configuration management System Test Report
CN109800123A (en) * 2018-12-14 2019-05-24 深圳壹账通智能科技有限公司 Automate electric quantity test method, apparatus, computer equipment and storage medium
CN109992494A (en) * 2017-12-29 2019-07-09 北京京东尚科信息技术有限公司 A kind of automatic test execution method and apparatus
CN110162977A (en) * 2019-04-24 2019-08-23 北京邮电大学 A kind of Android vehicle-mounted terminal system leakage location and method
CN112817853A (en) * 2021-01-30 2021-05-18 北京奇保信安科技有限公司 Automatic test method, system and electronic equipment
CN114253824A (en) * 2020-09-22 2022-03-29 Igg新加坡有限私人贸易公司 Game compatibility testing method and system
CN115525545A (en) * 2022-09-20 2022-12-27 浪潮思科网络科技有限公司 Docker-based automatic testing method, system, equipment and medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150236799A1 (en) * 2014-02-20 2015-08-20 Wistron Corporation Method and system for quick testing and detecting mobile devices
US20160110281A1 (en) * 2014-10-17 2016-04-21 Insyde Software Corporation System and method for debugging firmware/software by generating trace data
CN107168879A (en) * 2017-05-23 2017-09-15 网易(杭州)网络有限公司 The generation method and device of centralized configuration management System Test Report
CN109992494A (en) * 2017-12-29 2019-07-09 北京京东尚科信息技术有限公司 A kind of automatic test execution method and apparatus
CN109800123A (en) * 2018-12-14 2019-05-24 深圳壹账通智能科技有限公司 Automate electric quantity test method, apparatus, computer equipment and storage medium
CN110162977A (en) * 2019-04-24 2019-08-23 北京邮电大学 A kind of Android vehicle-mounted terminal system leakage location and method
CN114253824A (en) * 2020-09-22 2022-03-29 Igg新加坡有限私人贸易公司 Game compatibility testing method and system
CN112817853A (en) * 2021-01-30 2021-05-18 北京奇保信安科技有限公司 Automatic test method, system and electronic equipment
CN115525545A (en) * 2022-09-20 2022-12-27 浪潮思科网络科技有限公司 Docker-based automatic testing method, system, equipment and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
H. -L. WEN 等: "PATS: A Parallel GUI Testing Framework for Android Applications", 《2015 IEEE 39TH ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE》, pages 210 - 215 *
许侃 等: "桌面linux操作***整机兼容性测试方法研究", 《数字技术与应用》, no. 05, pages 69 - 70 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117041114A (en) * 2023-08-21 2023-11-10 深圳国家金融科技测评中心有限公司 Automatic test method and device for terminal communication protocol safety test
CN117041114B (en) * 2023-08-21 2024-07-09 深圳国家金融科技测评中心有限公司 Automatic test method and device for terminal communication protocol safety test

Also Published As

Publication number Publication date
CN116541270B (en) 2024-01-02

Similar Documents

Publication Publication Date Title
CN109302522B (en) Test method, test device, computer system, and computer medium
US9886375B2 (en) Automated execution of functional test scripts on a remote system within a unit testing framework
US9471474B2 (en) Cloud deployment infrastructure validation engine
US8930761B2 (en) Test case result processing
CN111427765B (en) Method and system for automatically starting interface performance test realized based on jmeter
US9996454B1 (en) Exemplary testing of software
CN111274154A (en) Automatic testing method, device, equipment and storage medium
US9542304B1 (en) Automated operating system installation
CN115658529A (en) Automatic testing method for user page and related equipment
CN110659210A (en) Information acquisition method and device, electronic equipment and storage medium
CN111274130A (en) Automatic testing method, device, equipment and storage medium
CN117421217A (en) Automatic software function test method, system, terminal and medium
CN112506772B (en) Web automatic test method, device, electronic equipment and storage medium
CN116541270B (en) Method and device for testing adaptation verification of operating system
CN112084108A (en) Test script generation method and device and related components
US7765541B1 (en) Minimization methodology
CN108536586B (en) Information acquisition method, equipment and system of Android mobile terminal
CN115454856A (en) Multi-application security detection method, device, medium and electronic equipment
CN116016270A (en) Switch test management method and device, electronic equipment and storage medium
CN113986263A (en) Code automation test method, device, electronic equipment and storage medium
CN115422091A (en) Firmware debugging method and device, electronic equipment and storage medium
CN110134559B (en) BMC fault detection method, system and related components
CN114064510A (en) Function testing method and device, electronic equipment and storage medium
CN116820946B (en) Method and device for automatically testing compatibility of target software
CN115757077B (en) System clipping degree and service assembly minimization evaluation method

Legal Events

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