WO2023104121A1 - Testing method and apparatus for test case, and electronic device and storage medium - Google Patents

Testing method and apparatus for test case, and electronic device and storage medium Download PDF

Info

Publication number
WO2023104121A1
WO2023104121A1 PCT/CN2022/137350 CN2022137350W WO2023104121A1 WO 2023104121 A1 WO2023104121 A1 WO 2023104121A1 CN 2022137350 W CN2022137350 W CN 2022137350W WO 2023104121 A1 WO2023104121 A1 WO 2023104121A1
Authority
WO
WIPO (PCT)
Prior art keywords
test
data
case
result
file
Prior art date
Application number
PCT/CN2022/137350
Other languages
French (fr)
Chinese (zh)
Inventor
刘三兵
Original Assignee
北京罗克维尔斯科技有限公司
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 北京罗克维尔斯科技有限公司 filed Critical 北京罗克维尔斯科技有限公司
Publication of WO2023104121A1 publication Critical patent/WO2023104121A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0221Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods
    • 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

Definitions

  • the present disclosure relates to the technical field of vehicles, and in particular to a test method and device, electronic equipment and a storage medium for a test case.
  • the current vehicle remote monitoring platform will monitor the status of vehicle driving data, driving track records and vehicle fault status, and analyze the driving behavior of the driver. For example, when the driver remotely controls the vehicle through the control software (APP or remote platform), including but not limited to the opening and closing control of the vehicle, air conditioning control, window control, engine torque control and engine start and stop control.
  • APP control software
  • remote platform including but not limited to the opening and closing control of the vehicle, air conditioning control, window control, engine torque control and engine start and stop control.
  • test method can only test the driver's driving behavior, but with the continuous advancement of electrification and intelligence of vehicles, the traditional manual test method can no longer meet the rapid iterative test requirements.
  • the disclosure provides a test method and device for a test case, electronic equipment and a storage medium.
  • a test method for a test case including:
  • test data is converted into a test case based on the test steps in the control strategy file, wherein the control strategy file contains the test category of the test data and the operation or execution parameters to be executed by the test step under each test category;
  • the converting the test data into test cases based on the test steps in the control strategy file specifically includes:
  • the operations or execution parameters to be executed by the corresponding test steps are searched from the control strategy file.
  • converting the test data into test cases based on the test steps in the control strategy file includes:
  • test steps from the test data based on the control strategy file, and describing the test steps based on natural language
  • obtaining corresponding test data according to the test requirement information includes:
  • test data is stored in a data warehouse file, and the corresponding relationship between the data warehouse file and the vehicle identification is recorded.
  • the execution of the test case to obtain the test result includes:
  • the method further includes:
  • test failure item If it is determined that the target result is inconsistent with the test result, then determine that the generated test case is incorrect, and output the test failure item, the occurrence time of the test failure item and the vehicle identification;
  • a test device for a test case including:
  • the acquisition unit is used to acquire corresponding test data according to the test requirement information
  • the execution unit is used to execute the test case to obtain the test result.
  • the conversion unit includes:
  • a division module configured to divide the test categories of the test data according to the test requirement information
  • a search module configured to search the operation or execution parameters of the corresponding test steps from the control strategy file according to the test category.
  • the conversion unit further includes:
  • a generating module configured to generate test steps from the test data based on the control strategy file, and the test steps are described based on natural language;
  • a determination module configured to determine the execution operation or execution parameters of each test step from the control strategy file
  • the conversion module is used to convert the executed operation or execution parameter of each test step described based on natural language into an executable test case.
  • the acquisition unit includes:
  • the first acquisition module is used to obtain the test data from the vehicle running data or the actual vehicle test data according to the test requirement information
  • the first storage module is configured to store the test data in a data bin file, and record the correspondence between the data bin file and the vehicle identification.
  • the execution unit includes:
  • An import module configured to import the corresponding data warehouse file into the automated test system based on the vehicle identification
  • a reading module configured to read the test case based on the automated test system
  • An execution module configured to execute the test case in the data warehouse file to obtain the test result.
  • the device further comprises:
  • a verification unit configured to verify the test result according to the target result in the test requirement information after the execution unit executes the test case to obtain the test result
  • a first determination unit configured to determine that the generated test case is correct when the verification unit determines that the target result is consistent with the test result
  • a second determining unit configured to determine that the generated test case is incorrect when it is determined that the target result is inconsistent with the test result
  • an output unit configured to output the test failure item, the occurrence time of the test failure item, and the vehicle identification
  • the processing unit is configured to export the vehicle running data within a preset time including the occurrence time point of the test failure item, and link it with the test case.
  • an electronic device including:
  • the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can perform the method described in the preceding aspect.
  • a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method described in the preceding aspect.
  • a computer program product including a computer program, the computer program implements the method as described in the preceding aspect when executed by a processor.
  • a computer program includes computer program code, and when the computer program code is run on a computer, it causes the computer to execute the method described in the preceding aspect.
  • the test method and device, electronic equipment, and storage medium of the test case provided by the present disclosure after obtaining the corresponding test data according to the test requirement information, convert the test data into a test case based on the test steps in the control strategy file, wherein,
  • the control strategy file includes test categories of test data and operations or execution parameters to be executed in test steps under each test category, and the test cases are executed to obtain test results.
  • the embodiments of the present disclosure can generate and execute test cases by controlling the test categories recorded in the strategy file and the operations or execution parameters to be executed by the test steps under each test category, thereby improving the test efficiency of the test cases.
  • FIG. 1 is a schematic flow diagram of a test method for a test case provided by an embodiment of the present disclosure
  • FIG. 2 is a frame diagram of a test system for a test case provided by an embodiment of the present disclosure
  • FIG. 3 is a flow framework schematic diagram of a test method for a test case provided by an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of a test device for a test case provided by an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of a test device for another test case provided by an embodiment of the present disclosure.
  • Fig. 6 is a schematic block diagram of an example electronic device 400 provided by an embodiment of the present disclosure.
  • test method, device, electronic device and storage medium of the test cases of the embodiments of the present disclosure are described below with reference to the accompanying drawings.
  • the test method can only analyze the driving behavior of the driver. For example, when the driver remotely controls the vehicle through control software (Application, APP or remote platform), including but not limited to Open and close lock control, air conditioning control, window control, engine torque control and engine start and stop control.
  • control software Application, APP or remote platform
  • Open and close lock control air conditioning control
  • window control window control
  • engine torque control engine start and stop control
  • traditional testing methods can no longer meet the needs of rapid iterative testing.
  • the test categories containing test data in the strategy file and the operations or execution parameters to be executed by the test steps under each test category by controlling the test categories containing test data in the strategy file and the operations or execution parameters to be executed by the test steps under each test category, the diversity of test case generation is improved, and the entire test can be shortened by the automated test method. Reduce the time for vehicle testing and improve the efficiency of vehicle testing.
  • An embodiment of the present disclosure provides a test method for a test case, as shown in FIG. 1 , including: 101-103.
  • FIG. 2 is a schematic structural diagram of a test system of a test case provided by the embodiment of the present disclosure, including: data platform , data conversion system, automated testing platform, test case development platform, data post-processing platform and result display platform.
  • This step involves the data platform in Figure 2, which mainly receives the vehicle operation data from the remote data monitoring platform and the local operation data uploaded through the preset interface.
  • the data can be screened directly from the data platform according to the test requirement information, which provides at least one of the time period, vehicle driving area, vehicle identification, signal segment and version of the vehicle control system
  • the test requirement information is an empirical value, which needs to be determined according to different test application scenarios, which is not limited in the embodiments of the present disclosure.
  • the control strategy file includes test categories of test data and operations or execution parameters to be executed by test steps under each test category.
  • the test categories and the operations or execution parameters to be executed in the test steps under each test category include but are not limited to the following:
  • State memory before and after dormancy many operating states and configuration information of the vehicle need to be recorded in the EEPROM chip, and the above information needs to be verified before and after the vehicle is dormant to ensure the consistency of the information before and after dormancy, and the cache reading function is developed. Access and compare configuration parameter information before and after hibernation, and test the consistency of configuration information.
  • control strategy file is pre-defined.
  • test category of the test data is divided according to the test requirement information, and the corresponding test category is searched from the control strategy file according to the test category.
  • the operation or execution parameters of the test steps that is, directly according to the test category of the test requirement information, it is enough to find the matching test category and the operation or execution parameters of the test steps under each test category from the control strategy file. This step is applied to the test case development platform in Figure 2.
  • This step is applied to the automated test platform of the system shown in Figure 2.
  • the test case in order to make the processing of the test processing resources more balanced, when executing the test case, first determine the processing resource according to the test category of the test case, and Allocate corresponding computing power space for it, so that the execution of test cases can be more balanced, and the efficiency of test testing can be improved.
  • the system shown in Figure 2 also includes a post-data data platform and a result display platform.
  • the data post-processing platform needs to count the number of test case executions, the number of successful and failed test case executions, the identification of the test vehicle, and the time of test failure. Output, the result display platform is used to display the collected data.
  • the test data is converted into a test case based on the test steps in the control strategy file, wherein, in the control strategy file Test categories including test data and operations or execution parameters to be executed in test steps under each test category, execute the test cases to obtain test results, and test the test results according to the target results in the test requirement information.
  • Test categories including test data and operations or execution parameters to be executed in test steps under each test category
  • execute the test cases to obtain test results, and test the test results according to the target results in the test requirement information.
  • the embodiments of the present disclosure can generate and execute test cases by controlling the test categories recorded in the strategy file and the operations or execution parameters to be executed by the test steps under each test category, thereby improving the test efficiency of the test cases.
  • step 102 when converting the test data into test cases based on the test steps in the control strategy file, it is also necessary to generate test steps based on the test data based on the control strategy file, and the test steps are based on Describe in natural language, determine the execution operation or execution parameters of each test step from the control strategy file, and convert the execution operation or execution parameters of each test step based on natural language description into an executable test case.
  • test case Since the control strategy file is described in natural language and cannot be directly recognized and run by the machine, it is necessary to convert the control strategy file described in natural language into a script file (test case). In order to facilitate the execution of test cases, the converted test cases should at least include the state definitions of initial conditions, trigger conditions and expected results, which are all recorded in the control strategy file.
  • the data sources of the data platform include remote operation data and local test data. Based on the different data sources, the corresponding processing methods also have data.
  • obtaining the corresponding test data according to the test requirement information specifically includes: obtaining the said test data from the vehicle operation data according to the test requirement information.
  • Test data storing the test data in a cloud data warehouse file, and recording the corresponding relationship between the data warehouse file and the vehicle identification.
  • the method of generating test cases based on remote running data is automated testing of online data.
  • the data warehouse file is used to store the test data of the vehicle.
  • each vehicle identifier corresponds to the data warehouse file one by one.
  • the data warehouse file also contains multiple sub-files, which can establish the correspondence between each vehicle ID and a sub-file.
  • the embodiment of the present disclosure does not limit the form of storing the test data in the data warehouse file.
  • obtaining the corresponding test data according to the test requirement information specifically includes: obtaining the test data from the actual vehicle test data according to the test requirement, and the actual The vehicle test data is the data uploaded through the preset interface, and the test data is stored in the cloud data warehouse file. Automatic testing of offline data can be realized when uploading data through the preset interface.
  • Meter display category It is necessary to verify the message signals related to the meter display in the actual vehicle test data, and check whether there is any flashing phenomenon of the meter signal.
  • Fault triggering category It is necessary to verify the message signals related to fault diagnosis in the real vehicle test data, and check whether there are faults that the driver does not perceive or recognize.
  • FIG. 3 shows a schematic diagram of a test flow of a test case provided by an embodiment of the present disclosure.
  • either the first implementation method or the second implementation method can be executed, or, when the test case cannot be tested in the first implementation method, the second implementation method can be executed .
  • the specific embodiments of the present disclosure do not limit this.
  • test data may be manually input by the user, or may not be manually input by the user, so that the test case generation test method is more flexible and can meet different needs of users.
  • the implementation method adopted is the same, specifically: first, based on the vehicle identification, the corresponding The data warehouse file is imported into the automated test system, secondly, the test case is read based on the automated test system, and finally, the test case is executed in the data warehouse file. Since the original data is stored in the data warehouse file, executing the test case in the data warehouse file can improve the correctness of its operation.
  • the verification of the test result also needs to be performed, specifically including: verifying the test result according to the target result in the test requirement information, if If it is determined that the target result is consistent with the test result, then it is determined that the generated test case is correct, if it is determined that the target result is inconsistent with the test result, then it is determined that the generated test case is incorrect, and the output export test fails item, the occurrence time of the test failure item and the vehicle identification, export the vehicle running data within the preset time including the occurrence time point of the test failure item, and link it with the test case of the test failure.
  • the automated test system automatically derives the time and vehicle identification of the test failure item, and the test failure occurs within a fixed time before and after the data post-processing platform (for example The 10 minutes, 30 minutes, etc. including the test failure time point) of the whole vehicle running data are automatically exported and linked with the failed test case (or test result), so that the tester can test the wrong test case Check.
  • the data platform mainly receives or stores test data from remote platforms or locally, and the data conversion system filters and extracts specific time, specific area, specific number and Test data of a specific signal segment, and convert the test data into data warehouse files and store them on the cloud computing platform.
  • the test case development platform needs to write and convert the current test requirement information into executable test cases according to different control logics according to the control strategy file.
  • the automated testing platform imports test cases into data warehouse files for automated verification of control functions, and outputs test results.
  • the data post-processing platform needs to output statistics on the number of test case executions, the number of successes and failures of use case execution, the number of test vehicles and the time of test failure.
  • test result When the test result is False, it needs to automatically query the data platform to trigger the download of vehicle operation data. It can automatically test the control strategy of the whole vehicle to shorten the test time of the whole vehicle and improve the overall test efficiency. It can realize the automatic operation of the whole chain of the test system, the test methods of different control strategies, and the automatic test of online and offline data. .
  • Fig. 4 is a schematic structural diagram of a test device for a test case provided by an embodiment of the present disclosure, as shown in Fig. 4 , including:
  • An acquisition unit 31 configured to acquire corresponding test data according to the test requirement information
  • the conversion unit 32 is used to convert the test data into test cases based on the test steps in the control strategy file, wherein the control strategy file contains the test categories of the test data and the operations to be performed by the test steps under each test category or execution parameters;
  • the execution unit 33 is configured to execute the test case to obtain a test result.
  • the test device of the test case provided by the present disclosure after obtaining the corresponding test data according to the test requirement information, converts the test data into a test case based on the test steps in the control strategy file, wherein the control strategy file contains test
  • the test category of the data and the operations or execution parameters to be executed in the test steps under each test category the test case is executed to obtain the test result, and the test result is tested according to the target result in the test requirement information.
  • the embodiments of the present disclosure can generate and execute test cases by controlling the test categories recorded in the strategy file and the operations or execution parameters to be executed by the test steps under each test category, thereby improving the test efficiency of the test cases.
  • the conversion unit 32 further includes:
  • a division module 321, configured to divide the test category of the test data according to the test requirement information before the conversion unit converts the test data into test cases based on the test steps in the control strategy file;
  • the search module 322 is configured to search the corresponding operation or execution parameter of the test step according to the test category from the control strategy file.
  • the conversion unit 32 includes:
  • a generating module 323, configured to generate test steps from the test data based on the control strategy file
  • Determining module 324 is used for determining the operation or execution parameter of the execution of each test step from the control strategy file;
  • the conversion module 325 is configured to convert the test data into the test case according to the execution operation or execution parameters of each test step.
  • the acquiring unit 31 includes:
  • the first acquisition module 311 is configured to acquire the test data from the vehicle operation data or the actual vehicle test data according to the test requirement information;
  • the first storage module 312 is configured to store the test data in a cloud data warehouse file, and record the corresponding relationship between the data warehouse file and the vehicle identification.
  • the execution unit 33 includes:
  • An import module 331, configured to import the corresponding data warehouse file into the automated test system based on the vehicle identification
  • An execution module 333 configured to execute the test case in the data warehouse file.
  • the device further includes:
  • a verification unit 34 configured to verify the test result according to the target result in the test requirement information after the execution unit executes the test case to obtain the test result;
  • the first determination unit 35 is configured to determine that the generated test case is correct when the verification unit determines that the target result is consistent with the test result;
  • the second determining unit 36 is configured to determine that the generated test case is incorrect when it is determined that the target result is inconsistent with the test result;
  • An output unit 37 configured to output the test failure item, the occurrence time of the test failure item and the vehicle identification
  • the processing unit 38 is configured to export the running data of the entire vehicle within a preset time period including the occurrence time point of the test failure item, and link it with the test case.
  • the present disclosure also provides an electronic device, a readable storage medium, a computer program product, and a computer program.
  • FIG. 6 shows a schematic block diagram of an example electronic device 400 that may be used to implement embodiments of the present disclosure.
  • Electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers.
  • Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices.
  • the components shown herein, their connections and relationships, and their functions, are by way of example only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
  • the device 400 includes a computing unit 401, which can be loaded into a RAM (Random Access Memory, Random Access/ accesses the computer program in the memory) 403 to execute various appropriate actions and processes.
  • RAM Random Access Memory
  • various programs and data necessary for the operation of the device 400 can also be stored.
  • the computing unit 401, ROM 402, and RAM 403 are connected to each other through a bus 404.
  • An I/O (Input/Output, input/output) interface 405 is also connected to the bus 404 .
  • the I/O interface 405 includes: an input unit 404, such as a keyboard, a mouse, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a magnetic disk, an optical disk, etc. ; and a communication unit 409, such as a network card, a modem, a wireless communication transceiver, and the like.
  • the communication unit 409 allows the device 400 to exchange information/data with other devices over a computer network such as the Internet and/or various telecommunication networks.
  • the computing unit 401 may be various general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of computing unit 401 include but are not limited to CPU (Central Processing Unit, central processing unit), GPU (Graphic Processing Units, graphics processing unit), various dedicated AI (Artificial Intelligence, artificial intelligence) computing chips, various operating The computing unit of the machine learning model algorithm, DSP (Digital Signal Processor, digital signal processor), and any appropriate processor, controller, microcontroller, etc.
  • the computing unit 401 executes the various methods and processes described above, such as the test method of the test case. For example, in some embodiments, a testing method of a test case may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 408 .
  • part or all of the computer program may be loaded and/or installed on the device 400 via the ROM 402 and/or the communication unit 409.
  • a computer program When a computer program is loaded into RAM 403 and executed by computing unit 401, one or more steps of the methods described above may be performed.
  • the computing unit 401 may be configured in any other appropriate way (for example, by means of firmware) to execute the test methods of the aforementioned test cases.
  • programmable processor can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.
  • Program codes for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special purpose computer, or other programmable data processing devices, so that the program codes, when executed by the processor or controller, make the functions/functions specified in the flow diagrams and/or block diagrams Action is implemented.
  • the program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard disks, RAM, ROM, EPROM (Electrically Programmable Read-Only-Memory, Erasable Programmable Read-Only Memory) Or flash memory, optical fiber, CD-ROM (Compact Disc Read-Only Memory, portable compact disk read-only memory), optical storage device, magnetic storage device, or any suitable combination of the above.
  • the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (Cathode-Ray Tube) or LCD ( Liquid Crystal Display (LCD) monitor); and a keyboard and pointing device (such as a mouse or trackball) through which a user can provide input to a computer.
  • a display device e.g., a CRT (Cathode-Ray Tube) or LCD ( Liquid Crystal Display (LCD) monitor
  • a keyboard and pointing device such as a mouse or trackball
  • Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.
  • the systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system.
  • the components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: LAN (Local Area Network, local area network), WAN (Wide Area Network, wide area network), the Internet, and blockchain networks.
  • a computer system may include clients and servers.
  • Clients and servers are generally remote from each other and typically interact through a communication network.
  • the relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other.
  • the server can be a cloud server, also known as cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the problem of traditional physical host and VPS service ("Virtual Private Server", or "VPS”) Among them, there are defects such as difficult management and weak business scalability.
  • the server can also be a server of a distributed system, or a server combined with a blockchain.
  • artificial intelligence is a discipline that studies the use of computers to simulate certain human thinking processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), both at the hardware level and at the software level.
  • Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, and machine learning/depth Learning, big data processing technology, knowledge map technology and other major directions.
  • steps may be reordered, added or deleted using the various forms of flow shown above.
  • each step described in the present disclosure may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution disclosed in the present disclosure can be achieved, no limitation is imposed herein.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Debugging And Monitoring (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

A testing method and apparatus for a test case, and an electronic device and a storage medium. The method comprises: acquiring corresponding test data according to test requirement information (101); then, converting the test data into a test case on the basis of test steps in a control policy file (102), wherein the control policy file includes test categories of the test data, and operating or execution parameters required to be executed by the test steps under each test category; and executing the test case to obtain a test result (103).

Description

测试用例的测试方法及装置、电子设备和存储介质Test method and device, electronic equipment and storage medium of test case
相关申请的交叉引用Cross References to Related Applications
本申请基于申请号为202111501555.0、申请日为2021年12月9日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with application number 202111501555.0 and a filing date of December 9, 2021, and claims the priority of this Chinese patent application. The entire content of this Chinese patent application is hereby incorporated by reference into this application.
技术领域technical field
本公开涉及车辆技术领域,具体涉及一种测试用例的测试方法及装置、电子设备和存储介质。The present disclosure relates to the technical field of vehicles, and in particular to a test method and device, electronic equipment and a storage medium for a test case.
背景技术Background technique
当前的整车远程监控平台会对车辆行车数据、行驶轨迹记录和车辆故障状态等状态进行监控并对驾驶员的驾驶行为进行分析。例如,当驾驶员通过控制软件(APP或者远程平台)对车辆进行远程控制,包括但不限对车进行开闭锁控制、空调控制、车窗控制、发送机扭矩控制以及发动机启停控制。The current vehicle remote monitoring platform will monitor the status of vehicle driving data, driving track records and vehicle fault status, and analyze the driving behavior of the driver. For example, when the driver remotely controls the vehicle through the control software (APP or remote platform), including but not limited to the opening and closing control of the vehicle, air conditioning control, window control, engine torque control and engine start and stop control.
目前,测试方法只能对驾驶员的驾驶行为进行测试,但随着车辆的电动化和智能化的不断推进,传统的人工测试方法已经无法满足快速迭代的测试需求。At present, the test method can only test the driver's driving behavior, but with the continuous advancement of electrification and intelligence of vehicles, the traditional manual test method can no longer meet the rapid iterative test requirements.
发明内容Contents of the invention
本公开提供了一种测试用例的测试方法及装置、电子设备和存储介质。The disclosure provides a test method and device for a test case, electronic equipment and a storage medium.
根据本公开的一方面实施方案,提供了一种测试用例的测试方法,包括:According to an embodiment of the present disclosure, a test method for a test case is provided, including:
根据测试需求信息获取对应的测试数据;Obtain the corresponding test data according to the test requirement information;
将所述测试数据基于控制策略文件中的测试步骤转换为测试用例,其中,所述控制策略文件中包含测试数据的测试类别与每个测试类别下测试步骤需执行的操作或执行参数;The test data is converted into a test case based on the test steps in the control strategy file, wherein the control strategy file contains the test category of the test data and the operation or execution parameters to be executed by the test step under each test category;
执行所述测试用例得到测试结果。Execute the test case to obtain the test result.
在本公开的实施方案中,所述将所述测试数据基于控制策略文件中的测试步骤转换为测试用例,具体包括:In an embodiment of the present disclosure, the converting the test data into test cases based on the test steps in the control strategy file specifically includes:
根据所述测试需求信息,划分所述测试数据的测试类别;classifying the test categories of the test data according to the test requirement information;
从所述控制策略文件中根据所述测试类别查找对应的测试步骤执行的操作或执行参数。According to the test category, the operations or execution parameters to be executed by the corresponding test steps are searched from the control strategy file.
在本公开的实施方案中,将所述测试数据基于控制策略文件中的测试步骤转换为测试用例包括:In an embodiment of the present disclosure, converting the test data into test cases based on the test steps in the control strategy file includes:
基于所述控制策略文件将所述测试数据生成测试步骤,所述测试步骤基于自然语言进行描述;generating test steps from the test data based on the control strategy file, and describing the test steps based on natural language;
从控制策略文件中确定每个测试步骤的执行的操作或执行参数;Determining the action or execution parameters for the execution of each test step from the control strategy file;
将每个基于自然语言描述的测试步骤的执行的操作或执行参数转换为可执行测试用例。Convert the executed operations or execution parameters of each natural language-based test step into an executable test case.
在本公开的实施方案中,根据测试需求信息获取对应的测试数据包括:In an embodiment of the present disclosure, obtaining corresponding test data according to the test requirement information includes:
根据所述测试需求信息从整车运行数据或实车测试数据中获取所述测试数据;Acquiring the test data from the vehicle operation data or the actual vehicle test data according to the test requirement information;
将所述测试数据存储于数仓文件中,并记录所述数仓文件与车辆标识的对应关系。The test data is stored in a data warehouse file, and the corresponding relationship between the data warehouse file and the vehicle identification is recorded.
在本公开的实施方案中,所述执行所述测试用例得到测试结果包括:In an embodiment of the present disclosure, the execution of the test case to obtain the test result includes:
基于所述车辆标识将对应的所述数仓文件导入到自动化测试系统中;Importing the corresponding data warehouse file into the automated test system based on the vehicle identification;
基于所述自动化测试系统读取所述测试用例;Reading the test case based on the automated test system;
在所述数仓文件中执行所述测试用例,以得到所述测试结果。Execute the test case in the data warehouse file to obtain the test result.
在本公开的实施方案中,在所述执行所述测试用例得到测试结果之后,所述方法还包括:In an embodiment of the present disclosure, after the execution of the test case to obtain the test result, the method further includes:
根据所述测试需求信息中的目标结果对所述测试结果进行验证;Verifying the test result according to the target result in the test requirement information;
若确定所述目标结果与所述测试结果一致,则确定生成的所述测试用例正确;If it is determined that the target result is consistent with the test result, then it is determined that the generated test case is correct;
若确定所述目标结果与所述测试结果不一致,则确定生成的所述测试用例不正确,并输出测试失败项、测试失败项的发生时间和所述车辆标识;If it is determined that the target result is inconsistent with the test result, then determine that the generated test case is incorrect, and output the test failure item, the occurrence time of the test failure item and the vehicle identification;
将包含所述测试失败项发生时间点在内的预设时间内的整车运行数据导出,并与所述测试用例进行链接。Exporting the running data of the whole vehicle within a preset time including the occurrence time point of the test failure item, and linking it with the test case.
根据本公开的另一方面实施方案,提供了一种测试用例的测试装置,包括:According to another embodiment of the present disclosure, a test device for a test case is provided, including:
获取单元,用于根据测试需求信息获取对应的测试数据;The acquisition unit is used to acquire corresponding test data according to the test requirement information;
转换单元,用于将所述测试数据基于控制策略文件中的测试步骤转换为测试用例,其中,所述控制策略文件中包含测试数据的测试类别与每个测试类别下测试步骤需执行的操作或执行参数;A conversion unit for converting the test data into test cases based on the test steps in the control strategy file, wherein the control strategy file contains the test categories of the test data and the operations to be performed by the test steps under each test category or execution parameters;
执行单元,用于执行所述测试用例得到测试结果。The execution unit is used to execute the test case to obtain the test result.
在本公开的实施方案中,所述转换单元包括:In an embodiment of the present disclosure, the conversion unit includes:
划分模块,用于根据所述测试需求信息,划分所述测试数据的测试类别;A division module, configured to divide the test categories of the test data according to the test requirement information;
查找模块,用于从所述控制策略文件中根据所述测试类别查找对应的测试步骤执行的操作或执行参数。A search module, configured to search the operation or execution parameters of the corresponding test steps from the control strategy file according to the test category.
在本公开的实施方案中,所述转换单元还包括:In an embodiment of the present disclosure, the conversion unit further includes:
生成模块,用于基于所述控制策略文件将所述测试数据生成测试步骤,所述测试步骤基于自然语言进行描述;A generating module, configured to generate test steps from the test data based on the control strategy file, and the test steps are described based on natural language;
确定模块,用于从控制策略文件中确定每个测试步骤的执行的操作或执行参数;A determination module, configured to determine the execution operation or execution parameters of each test step from the control strategy file;
转换模块,用于将每个基于自然语言描述的测试步骤的执行的操作或执行参数转换为可执行测试用例。The conversion module is used to convert the executed operation or execution parameter of each test step described based on natural language into an executable test case.
在本公开的实施方案中,所述获取单元包括:In an embodiment of the present disclosure, the acquisition unit includes:
第一获取模块,用于根据所述测试需求信息从整车运行数据或实车测试数据中获 取所述测试数据;The first acquisition module is used to obtain the test data from the vehicle running data or the actual vehicle test data according to the test requirement information;
第一存储模块,用于将所述测试数据存储于数仓文件中,并记录所述数仓文件与车辆标识的对应关系。The first storage module is configured to store the test data in a data bin file, and record the correspondence between the data bin file and the vehicle identification.
在本公开的实施方案中,所述执行单元包括:In an embodiment of the present disclosure, the execution unit includes:
导入模块,用于基于所述车辆标识将对应的所述数仓文件导入到自动化测试系统中;An import module, configured to import the corresponding data warehouse file into the automated test system based on the vehicle identification;
读取模块,用于基于所述自动化测试系统读取所述测试用例;A reading module, configured to read the test case based on the automated test system;
执行模块,用于在所述数仓文件中执行所述测试用例,以得到所述测试结果。An execution module, configured to execute the test case in the data warehouse file to obtain the test result.
在本公开的实施方案中,所述装置还包括:In an embodiment of the present disclosure, the device further comprises:
验证单元,用于在所述执行单元执行所述测试用例得到测试结果之后,根据所述测试需求信息中的目标结果对所述测试结果进行验证;a verification unit, configured to verify the test result according to the target result in the test requirement information after the execution unit executes the test case to obtain the test result;
第一确定单元,用于当所述验证单元确定所述目标结果与所述测试结果一致时,确定生成的所述测试用例正确;a first determination unit, configured to determine that the generated test case is correct when the verification unit determines that the target result is consistent with the test result;
第二确定单元,用于当确定所述目标结果与所述测试结果不一致时,确定生成的所述测试用例不正确;A second determining unit, configured to determine that the generated test case is incorrect when it is determined that the target result is inconsistent with the test result;
输出单元,用于输出测试失败项、测试失败项的发生时间和所述车辆标识;an output unit, configured to output the test failure item, the occurrence time of the test failure item, and the vehicle identification;
处理单元,用于将包含所述测试失败项发生时间点在内的预设时间内的整车运行数据导出,并与所述测试用例进行链接。The processing unit is configured to export the vehicle running data within a preset time including the occurrence time point of the test failure item, and link it with the test case.
根据本公开的另一方面实施方案,提供了一种电子设备,包括:According to another embodiment of the present disclosure, an electronic device is provided, including:
至少一个处理器;和at least one processor; and
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行前述一方面所述的方法。The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can perform the method described in the preceding aspect.
根据本公开的另一方面实施方案,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行前述一方面所述的方法。According to another embodiment of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method described in the preceding aspect.
根据本公开的另一方面实施方案,提供了一种计算机程序产品,包括计算机程序,所述计算机程序在被处理器执行时实现如前述一方面所述的方法。According to another embodiment of the present disclosure, a computer program product is provided, including a computer program, the computer program implements the method as described in the preceding aspect when executed by a processor.
根据本公开的另一方面实施方案,提供了一种计算机程序,所述计算机程序包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行前述一方面所述的方法。According to another embodiment of the present disclosure, a computer program is provided, the computer program includes computer program code, and when the computer program code is run on a computer, it causes the computer to execute the method described in the preceding aspect.
本公开提供的测试用例的测试方法及装置、电子设备和存储介质,在根据测试需求信息获取对应的测试数据后,将所述测试数据基于控制策略文件中的测试步骤转换为测试用例,其中,所述控制策略文件中包含测试数据的测试类别与每个测试类别下测试步骤需执行的操作或执行参数,执行所述测试用例得到测试结果。与相关技术相比,本公开实施例能够通过控制策略文件中记载的测试类别与每个测试类别下测试步 骤需执行的操作或执行参数生成并执行测试用例,提高了测试用例的测试效率。The test method and device, electronic equipment, and storage medium of the test case provided by the present disclosure, after obtaining the corresponding test data according to the test requirement information, convert the test data into a test case based on the test steps in the control strategy file, wherein, The control strategy file includes test categories of test data and operations or execution parameters to be executed in test steps under each test category, and the test cases are executed to obtain test results. Compared with related technologies, the embodiments of the present disclosure can generate and execute test cases by controlling the test categories recorded in the strategy file and the operations or execution parameters to be executed by the test steps under each test category, thereby improving the test efficiency of the test cases.
应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will be readily understood through the following description.
附图说明Description of drawings
附图用于更好地理解本方案,不构成对本公开的限定。其中:The accompanying drawings are used to better understand the present solution, and do not constitute a limitation to the present disclosure. in:
图1为本公开实施例所提供的一种测试用例的测试方法的流程示意图;FIG. 1 is a schematic flow diagram of a test method for a test case provided by an embodiment of the present disclosure;
图2为本公开实施例所提供的一种测试用例的测试系统的框架图;FIG. 2 is a frame diagram of a test system for a test case provided by an embodiment of the present disclosure;
图3为本公开实施例提供的一种测试用例的测试方法的流框架示意图;FIG. 3 is a flow framework schematic diagram of a test method for a test case provided by an embodiment of the present disclosure;
图4为本公开实施例提供的一种测试用例的测试装置的结构示意图;FIG. 4 is a schematic structural diagram of a test device for a test case provided by an embodiment of the present disclosure;
图5为本公开实施例提供的另一种测试用例的测试装置的结构示意图;FIG. 5 is a schematic structural diagram of a test device for another test case provided by an embodiment of the present disclosure;
图6为本公开实施例提供的示例电子设备400的示意性框图。Fig. 6 is a schematic block diagram of an example electronic device 400 provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
以下结合附图对本公开的示范性实施例做出说明,其中包括本公开实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本公开的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
下面参考附图描述本公开实施例的测试用例的测试方法、装置、电子设备和存储介质。The test method, device, electronic device and storage medium of the test cases of the embodiments of the present disclosure are described below with reference to the accompanying drawings.
相关技术中,测试方法只能对驾驶员的驾驶行为进行分析,例如,当驾驶员通过控制软件(应用程序(Application,APP)或者远程平台)对车辆进行远程控制,包括但不限对车进行开闭锁控制、空调控制、车窗控制、发送机扭矩控制以及发动机启停控制。但随着车辆的电动化和智能化的不断推进,传统的测试方法已经无法满足快速迭代的测试测试需求。In related technologies, the test method can only analyze the driving behavior of the driver. For example, when the driver remotely controls the vehicle through control software (Application, APP or remote platform), including but not limited to Open and close lock control, air conditioning control, window control, engine torque control and engine start and stop control. However, with the continuous advancement of electrification and intelligence of vehicles, traditional testing methods can no longer meet the needs of rapid iterative testing.
本公开实施例中通过控制策略文件中的包含测试数据的测试类别与每个测试类别下测试步骤需执行的操作或执行参数,提高了测试用例生成的多样性,并且通过自动化测试方式可以缩短整车测试的时间,提升整车的测试效率。In the embodiment of the present disclosure, by controlling the test categories containing test data in the strategy file and the operations or execution parameters to be executed by the test steps under each test category, the diversity of test case generation is improved, and the entire test can be shortened by the automated test method. Reduce the time for vehicle testing and improve the efficiency of vehicle testing.
本公开实施例提供一种测试用例的测试方法,如图1所示,包括:101-103。An embodiment of the present disclosure provides a test method for a test case, as shown in FIG. 1 , including: 101-103.
101:根据测试需求信息获取对应的测试数据。101: Obtain corresponding test data according to the test requirement information.
本公开实施例的实施是在测试用例的测试系统中进行的,为了便于理解,请参阅图2,图2为本公开实施例提供的一种测试用例的测试系统的结构示意图,包括:数据平台、数据转化系统、自动化测试平台、测试用例开发平台、数据后处理平台以及结果展示平台。The implementation of the embodiment of the present disclosure is carried out in the test system of the test case. For ease of understanding, please refer to FIG. 2. FIG. 2 is a schematic structural diagram of a test system of a test case provided by the embodiment of the present disclosure, including: data platform , data conversion system, automated testing platform, test case development platform, data post-processing platform and result display platform.
本步骤中涉及图2中的数据平台,该数据平台主要接收来自远程数据监控平台统计的整车运行数据及本地通过预设接口上传的运行数据。当有测试需求时,可直接根 据测试需求信息从数据平台中筛选数据,所述测试需求信息中给出时间段、车辆行驶区域、车辆标识、信号段以及车载控制系统的版本中的至少一种测试需求信息,该测试需求信息为一经验值,需根据不同的测试应用场景进行确定,本公开实施例对此不进行限定。This step involves the data platform in Figure 2, which mainly receives the vehicle operation data from the remote data monitoring platform and the local operation data uploaded through the preset interface. When there is a test requirement, the data can be screened directly from the data platform according to the test requirement information, which provides at least one of the time period, vehicle driving area, vehicle identification, signal segment and version of the vehicle control system The test requirement information is an empirical value, which needs to be determined according to different test application scenarios, which is not limited in the embodiments of the present disclosure.
图2所示的数据转换系统中,由于真实的测试数据数据量比较大,需要根据测试用例的测试需求信息和测试场景的需求对信号的捕捉时间、采样精度和信号的时序等进行处理,确保数据的可靠的情况下,自动化测试平台的运行压力最小。In the data conversion system shown in Figure 2, due to the relatively large amount of real test data, it is necessary to process the signal capture time, sampling accuracy, and signal timing according to the test requirement information of the test case and the requirements of the test scenario to ensure When the data is reliable, the operating pressure of the automated test platform is the least.
102:将所述测试数据基于控制策略文件中的测试步骤转换为测试用例。102: Convert the test data into test cases based on the test steps in the control strategy file.
所述控制策略文件中包含测试数据的测试类别与每个测试类别下测试步骤需执行的操作或执行参数。所述测试类别与每个测试类别下测试步骤需执行的操作或执行参数包括但不限于以下内容:The control strategy file includes test categories of test data and operations or execution parameters to be executed by test steps under each test category. The test categories and the operations or execution parameters to be executed in the test steps under each test category include but are not limited to the following:
1)状态跳转或逻辑测试:需要按照信号的与或非和状态跳转进行组合制造触发条件,特定时间延时后进行预期结果的判断和确认。1) State jump or logic test: trigger conditions need to be combined according to the AND or NOR of the signal and the state jump, and the expected result can be judged and confirmed after a specific time delay.
2)连续信号的持续判断:需要对整车的连续信号的变化率进行持续判断,确保该信号在指定的时间内持续增加或减少,按照需求开发对应的变化率检查函数,可以实现上述的逻辑测试。2) Continuous judgment of the continuous signal: It is necessary to continuously judge the rate of change of the continuous signal of the vehicle to ensure that the signal continues to increase or decrease within the specified time, and develop the corresponding change rate checking function according to the requirements, which can realize the above logic test.
3)信号的记忆和比较:需要记录某一时刻整车某个信号的值,在车辆运行一段时间后对再次对该信号值进行读取,并将两个状态的值进行数学运算去校验是否满足控制策略的要求。3) Memory and comparison of signals: It is necessary to record the value of a certain signal of the whole vehicle at a certain moment, read the signal value again after the vehicle has been running for a period of time, and perform mathematical operations on the values of the two states to verify Whether the requirements of the control strategy are met.
4)多维查表的运算:整车不同的运行工况对应不同的多维表格,开发对应的多维检查函数去动态查询不同状态下的信号值,满足控制策略的测试需求。4) Calculation of multi-dimensional table lookup: Different operating conditions of the whole vehicle correspond to different multi-dimensional tables, and corresponding multi-dimensional check functions are developed to dynamically query signal values in different states to meet the test requirements of control strategies.
5)休眠状态判断:需要对整车的报文收发信息、静态电流和休眠命令进行综合判断,去判断整车控制系统的当前状态。5) Sleep state judgment: It is necessary to make a comprehensive judgment on the message sending and receiving information, static current and sleep command of the whole vehicle to judge the current state of the vehicle control system.
6)休眠前后状态记忆:整车的很多运行状态和配置信息需要记录在EEPROM芯片中,在整车休眠前后需要对上述信息进行校验,确保休眠前后信息的一致性,开发缓存读取函数,存取休眠前后的配置参数信息并进行对比,测试配置信息的一致性。6) State memory before and after dormancy: many operating states and configuration information of the vehicle need to be recorded in the EEPROM chip, and the above information needs to be verified before and after the vehicle is dormant to ensure the consistency of the information before and after dormancy, and the cache reading function is developed. Access and compare configuration parameter information before and after hibernation, and test the consistency of configuration information.
需要说明的是所述控制策略文件是预先定义的,当有测试需求时,根据所述测试需求信息,划分所述测试数据的测试类别,从所述控制策略文件中根据所述测试类别查找对应的测试步骤执行的操作或执行参数,即直接根据测试需求信息的测试类别从该控制策略文件中查找匹配的测试类别与每个测试类别下测试步骤需执行的操作或执行参数即可。该步骤应用于图2中的测试用例开发平台中。It should be noted that the control strategy file is pre-defined. When there is a test requirement, the test category of the test data is divided according to the test requirement information, and the corresponding test category is searched from the control strategy file according to the test category. The operation or execution parameters of the test steps, that is, directly according to the test category of the test requirement information, it is enough to find the matching test category and the operation or execution parameters of the test steps under each test category from the control strategy file. This step is applied to the test case development platform in Figure 2.
103:执行所述测试用例得到测试结果。103: Execute the test case to obtain a test result.
该步骤应用于图2所示系统的自动化测试平台中,在具体应用中,为了是测试处理资源的处理更加均衡,在执行测试用例时,先确定根据该测试用例的测试类别确定处理资源,并为其分配相应的算力空间,如此一来使得测试用例的执行更加均衡,进而能够提高测试测试的效率。This step is applied to the automated test platform of the system shown in Figure 2. In a specific application, in order to make the processing of the test processing resources more balanced, when executing the test case, first determine the processing resource according to the test category of the test case, and Allocate corresponding computing power space for it, so that the execution of test cases can be more balanced, and the efficiency of test testing can be improved.
图2所示的系统中还包含有数据后数据平台和结果展示平台,在数据后处理平台需要将测试用例执行次数、测试用例执行的成功和失败次数、测试车辆的标识和测试失败的时间统计输出,结果展示平台用于将采集到的数据进行展示。The system shown in Figure 2 also includes a post-data data platform and a result display platform. The data post-processing platform needs to count the number of test case executions, the number of successful and failed test case executions, the identification of the test vehicle, and the time of test failure. Output, the result display platform is used to display the collected data.
本公开实施例提供的测试用例的测试方法,在根据测试需求信息获取对应的测试数据后,将所述测试数据基于控制策略文件中的测试步骤转换为测试用例,其中,所述控制策略文件中包含测试数据的测试类别与每个测试类别下测试步骤需执行的操作或执行参数,执行所述测试用例得到测试结果,并根据所述测试需求信息中的目标结果对所述测试结果进行测试。与相关技术相比,本公开实施例能够通过控制策略文件中记载的测试类别与每个测试类别下测试步骤需执行的操作或执行参数生成并执行测试用例,提高了测试用例的测试效率。In the test method of the test case provided by the embodiment of the present disclosure, after obtaining the corresponding test data according to the test requirement information, the test data is converted into a test case based on the test steps in the control strategy file, wherein, in the control strategy file Test categories including test data and operations or execution parameters to be executed in test steps under each test category, execute the test cases to obtain test results, and test the test results according to the target results in the test requirement information. Compared with related technologies, the embodiments of the present disclosure can generate and execute test cases by controlling the test categories recorded in the strategy file and the operations or execution parameters to be executed by the test steps under each test category, thereby improving the test efficiency of the test cases.
作为对步骤102的进一步细化,将所述测试数据基于控制策略文件中的测试步骤转换为测试用例时,还需要基于所述控制策略文件将所述测试数据生成测试步骤,所述测试步骤基于自然语言进行描述,从控制策略文件中确定每个测试步骤的执行的操作或执行参数,将每个基于自然语言描述的测试步骤的执行的操作或执行参数转换为可执行测试用例。As a further refinement of step 102, when converting the test data into test cases based on the test steps in the control strategy file, it is also necessary to generate test steps based on the test data based on the control strategy file, and the test steps are based on Describe in natural language, determine the execution operation or execution parameters of each test step from the control strategy file, and convert the execution operation or execution parameters of each test step based on natural language description into an executable test case.
由于控制策略文件是使用自然语言描述的,无法被机器直接识别、运行,因此需要将使用自然语言描述的控制策略文件,转换为脚本文件(测试用例)。为了便于测试用例的执行,转化后的测试用例中应至少包括初始条件、触发条件和预期结果的状态定义,上述初始条件、触发条件和预期结果的状态定义均记载于所述控制策略文件中。Since the control strategy file is described in natural language and cannot be directly recognized and run by the machine, it is necessary to convert the control strategy file described in natural language into a script file (test case). In order to facilitate the execution of test cases, the converted test cases should at least include the state definitions of initial conditions, trigger conditions and expected results, which are all recorded in the control strategy file.
由图2所示的系统中可以看出,数据平台的数据来源包含远程运行数据和本地测试数据,基于数据来源的不同,其对应的处理方式也存在数据。It can be seen from the system shown in Figure 2 that the data sources of the data platform include remote operation data and local test data. Based on the different data sources, the corresponding processing methods also have data.
作为本公开实施例的第一种可行方式,当数据平台的数据来源为远程运行数据:根据测试需求信息获取对应的测试数据具体包括:根据所述测试需求信息从整车运行数据中获取所述测试数据,将所述测试数据存储于云端数仓文件中,并记录所述数仓文件与车辆标识的对应关系。基于远程运行数据的测试用例生成测试的方式为在线数据的自动化测试。As the first feasible way of the embodiment of the present disclosure, when the data source of the data platform is remote operation data: obtaining the corresponding test data according to the test requirement information specifically includes: obtaining the said test data from the vehicle operation data according to the test requirement information. Test data, storing the test data in a cloud data warehouse file, and recording the corresponding relationship between the data warehouse file and the vehicle identification. The method of generating test cases based on remote running data is automated testing of online data.
在实际应用中数仓文件用于存储车辆的测试数据,作为本公开实施例的一种实现方式,每个车辆标识与数仓文件一一对应,作为本公开实施例的另一种实现方式,数仓文件中还包含多个子文件,可建立每个车辆标识与一个子文件的对应关系。具体的,本公开实施例对数仓文件存储测试数据的形式不进行限定。In practical applications, the data warehouse file is used to store the test data of the vehicle. As an implementation method of the embodiment of the present disclosure, each vehicle identifier corresponds to the data warehouse file one by one. As another implementation method of the embodiment of the disclosure, The data warehouse file also contains multiple sub-files, which can establish the correspondence between each vehicle ID and a sub-file. Specifically, the embodiment of the present disclosure does not limit the form of storing the test data in the data warehouse file.
作为本公开实施例的第二种可行方式,当数据平台的数据来源为本地测试数据,根据测试需求信息获取对应的测试数据具体包括:根据测试需求从实车测试数据中获取测试数据,所述实车测试数据为通过预设接口上传的数据,将所述测试数据存储于云端数仓文件中。通过预设接口上传数据时可以实现离线数据的自动化测试。As the second feasible way of the embodiment of the present disclosure, when the data source of the data platform is local test data, obtaining the corresponding test data according to the test requirement information specifically includes: obtaining the test data from the actual vehicle test data according to the test requirement, and the actual The vehicle test data is the data uploaded through the preset interface, and the test data is stored in the cloud data warehouse file. Automatic testing of offline data can be realized when uploading data through the preset interface.
针对通过预设接口的上传方式,其在具体实施过程中与在线方式存在差异,包括 对测试类别进行划分的方式,用户场景和功能失效场景设定包括:For the upload method through the preset interface, there are differences in the specific implementation process from the online method, including the way of classifying the test categories, user scenarios and function failure scenarios settings include:
1)仪表显示类:需要对实车测试数据中与仪表显示相关的报文信号进行校验,检查是否有仪表信号闪现现象发生。1) Meter display category: It is necessary to verify the message signals related to the meter display in the actual vehicle test data, and check whether there is any flashing phenomenon of the meter signal.
2)故障触发类:需要对实车测试数据中与故障诊断相关的报文信号进行校验,检查是否有驾驶员未感知的或未识别的故障发生。2) Fault triggering category: It is necessary to verify the message signals related to fault diagnosis in the real vehicle test data, and check whether there are faults that the driver does not perceive or recognize.
为了明确测试用例的测试系统的两种测试方式,即在线测试和离线测试,如图3所示,图3示出了本公开实施例提供的一种测试用例的测试流程示意图。In order to clarify two test modes of the test system of the test case, ie online test and offline test, as shown in FIG. 3 , FIG. 3 shows a schematic diagram of a test flow of a test case provided by an embodiment of the present disclosure.
需要说明的是,可根据不同场景,执行第一种实现方式,或者第二种实现方式两者中的一个,或者,在第一种实现方式中无法测试测试用例时,执行第二种实现方式。具体的本公开实施例对此不进行限定。It should be noted that, according to different scenarios, either the first implementation method or the second implementation method can be executed, or, when the test case cannot be tested in the first implementation method, the second implementation method can be executed . The specific embodiments of the present disclosure do not limit this.
基于前述两种实现方式可知,测试数据可以是用户手动输入的,也可以无需用户手动输入,使得测试用例的生成测试方式更加灵活,能够满足用户的不同需求。Based on the foregoing two implementation methods, it can be seen that the test data may be manually input by the user, or may not be manually input by the user, so that the test case generation test method is more flexible and can meet different needs of users.
在具体实施过程中,不管测试用例的数据来源是远程运行数据还是本地测试数据,在执行所述测试用例得到测试结果时,采用的实现方法一致,具体为:首先,基于所述车辆标识将对应的所述数仓文件导入到自动化测试系统中,其次,基于所述自动化测试系统读取所述测试用例,最后,在所述数仓文件中执行所述测试用例。由于数仓文件中存储的是原始数据,因此将测试用例在数仓文件中执行,能够提高其运行的正确性。In the specific implementation process, regardless of whether the data source of the test case is remote running data or local test data, when the test case is executed to obtain the test result, the implementation method adopted is the same, specifically: first, based on the vehicle identification, the corresponding The data warehouse file is imported into the automated test system, secondly, the test case is read based on the automated test system, and finally, the test case is executed in the data warehouse file. Since the original data is stored in the data warehouse file, executing the test case in the data warehouse file can improve the correctness of its operation.
为了确保执行测试用例的正确性,在执行所述测试用例得到测试结果之后,还需要执行测试结果的验证,具体包括:根据所述测试需求信息中的目标结果对所述测试结果进行验证,若确定所述目标结果与所述测试结果一致,则确定生成的所述测试用例正确,若确定所述目标结果与所述测试结果不一致,则确定生成的所述测试用例不正确,输出导出测试失败项、测试失败项的发生时间和所述车辆标识,将包含测试失败项发生时间点在内的预设时间内的整车运行数据导出,并与测试失败的测试用例进行链接。当测试结果为False(目标结果与所述测试结果不一致)时,自动化测试系统自动导出测试失败项的发生的时间和车辆标识,由数据后处理平台将测试失败发生时间点前后固定时间内(例如包含测试失败发生时间点在内的10分钟、30分钟等等)的整车运行数据自动导出并与测试失败的测试用例(或测试结果)进行链接,以便测试人员对该出现错误的测试用例进行查看。In order to ensure the correctness of executing the test case, after the test case is executed to obtain the test result, the verification of the test result also needs to be performed, specifically including: verifying the test result according to the target result in the test requirement information, if If it is determined that the target result is consistent with the test result, then it is determined that the generated test case is correct, if it is determined that the target result is inconsistent with the test result, then it is determined that the generated test case is incorrect, and the output export test fails item, the occurrence time of the test failure item and the vehicle identification, export the vehicle running data within the preset time including the occurrence time point of the test failure item, and link it with the test case of the test failure. When the test result is False (the target result is inconsistent with the test result), the automated test system automatically derives the time and vehicle identification of the test failure item, and the test failure occurs within a fixed time before and after the data post-processing platform (for example The 10 minutes, 30 minutes, etc. including the test failure time point) of the whole vehicle running data are automatically exported and linked with the failed test case (or test result), so that the tester can test the wrong test case Check.
综上所示,在测试用例的测试系统中,数据平台主要接收或存储来自远程平台或者本地的测试数据,数据转化系统按照自动化测试平台的需求,筛选和提取特定时间、特定区域、特定编号和特定信号段的测试数据,并将测试数据转化为数仓文件存储到云端运算平台。测试用例开发平台需要根据控制策略文件将当前的测试需求信息按照不同的控制逻辑编写和转化可执行的测试用例。自动化测试平台将测试用例导入到数仓文件中进行控制功能的自动化验证,并输出测试测试结果。数据后处理平台需要将测试用例执行次数、用例执行的成功和失败次数、测试车辆的编和测试失败的时间统 计输出,测试结果为False时,需要自动查询数据平台去触发下载整车运营数据。可以自动对整车控制策略进行自动化测试,来达到缩短整车测试时间和提升整体测试效率的作用,能够实现测试系统的全链条自动化运行、不同控制策略的测试方法、在线和离线数据的自动化测试。To sum up, in the test case test system, the data platform mainly receives or stores test data from remote platforms or locally, and the data conversion system filters and extracts specific time, specific area, specific number and Test data of a specific signal segment, and convert the test data into data warehouse files and store them on the cloud computing platform. The test case development platform needs to write and convert the current test requirement information into executable test cases according to different control logics according to the control strategy file. The automated testing platform imports test cases into data warehouse files for automated verification of control functions, and outputs test results. The data post-processing platform needs to output statistics on the number of test case executions, the number of successes and failures of use case execution, the number of test vehicles and the time of test failure. When the test result is False, it needs to automatically query the data platform to trigger the download of vehicle operation data. It can automatically test the control strategy of the whole vehicle to shorten the test time of the whole vehicle and improve the overall test efficiency. It can realize the automatic operation of the whole chain of the test system, the test methods of different control strategies, and the automatic test of online and offline data. .
图4为本公开实施例提供的一种测试用例的测试装置的结构示意图,如图4所示,包括:Fig. 4 is a schematic structural diagram of a test device for a test case provided by an embodiment of the present disclosure, as shown in Fig. 4 , including:
获取单元31,用于根据测试需求信息获取对应的测试数据;An acquisition unit 31, configured to acquire corresponding test data according to the test requirement information;
转换单元32,用于将所述测试数据基于控制策略文件中的测试步骤转换为测试用例,其中,所述控制策略文件中包含测试数据的测试类别与每个测试类别下测试步骤需执行的操作或执行参数;The conversion unit 32 is used to convert the test data into test cases based on the test steps in the control strategy file, wherein the control strategy file contains the test categories of the test data and the operations to be performed by the test steps under each test category or execution parameters;
执行单元33,用于执行所述测试用例得到测试结果。The execution unit 33 is configured to execute the test case to obtain a test result.
本公开提供的测试用例的测试装置,在根据测试需求信息获取对应的测试数据后,将所述测试数据基于控制策略文件中的测试步骤转换为测试用例,其中,所述控制策略文件中包含测试数据的测试类别与每个测试类别下测试步骤需执行的操作或执行参数,执行所述测试用例得到测试结果,并根据所述测试需求信息中的目标结果对所述测试结果进行测试。与相关技术相比,本公开实施例能够通过控制策略文件中记载的测试类别与每个测试类别下测试步骤需执行的操作或执行参数生成并执行测试用例,提高了测试用例的测试效率。The test device of the test case provided by the present disclosure, after obtaining the corresponding test data according to the test requirement information, converts the test data into a test case based on the test steps in the control strategy file, wherein the control strategy file contains test The test category of the data and the operations or execution parameters to be executed in the test steps under each test category, the test case is executed to obtain the test result, and the test result is tested according to the target result in the test requirement information. Compared with related technologies, the embodiments of the present disclosure can generate and execute test cases by controlling the test categories recorded in the strategy file and the operations or execution parameters to be executed by the test steps under each test category, thereby improving the test efficiency of the test cases.
进一步地,在本实施例一种实现方式中,如图5所示,所述转换单元32还包括:Further, in an implementation manner of this embodiment, as shown in FIG. 5 , the conversion unit 32 further includes:
划分模块321,用于在所述转换单元将所述测试数据基于控制策略文件中的测试步骤转换为测试用例之前,根据所述测试需求信息,划分所述测试数据的测试类别;A division module 321, configured to divide the test category of the test data according to the test requirement information before the conversion unit converts the test data into test cases based on the test steps in the control strategy file;
查找模块322,用于从所述控制策略文件中根据所述测试类别查找对应的测试步骤执行的操作或执行参数。The search module 322 is configured to search the corresponding operation or execution parameter of the test step according to the test category from the control strategy file.
进一步地,在本实施例一种实现方式中,如图5所示,所述转换单元32包括:Further, in an implementation manner of this embodiment, as shown in FIG. 5 , the conversion unit 32 includes:
生成模块323,用于基于所述控制策略文件将所述测试数据生成测试步骤;A generating module 323, configured to generate test steps from the test data based on the control strategy file;
确定模块324,用于从控制策略文件中确定每个测试步骤的执行的操作或执行参数;Determining module 324, is used for determining the operation or execution parameter of the execution of each test step from the control strategy file;
转换模块325,用于根据所述每个测试步骤的执行的操作或执行参数将所述测试数据转换为所述测试用例。The conversion module 325 is configured to convert the test data into the test case according to the execution operation or execution parameters of each test step.
进一步地,在本实施例一种实现方式中,如图5所示,所述获取单元31包括:Further, in an implementation manner of this embodiment, as shown in FIG. 5 , the acquiring unit 31 includes:
第一获取模块311,用于根据所述测试需求信息从整车运行数据或实车测试数据中获取所述测试数据;The first acquisition module 311 is configured to acquire the test data from the vehicle operation data or the actual vehicle test data according to the test requirement information;
第一存储模块312,用于将所述测试数据存储于云端数仓文件中,并记录所述数仓文件与车辆标识的对应关系。The first storage module 312 is configured to store the test data in a cloud data warehouse file, and record the corresponding relationship between the data warehouse file and the vehicle identification.
进一步地,在本实施例一种实现方式中,如图5所示,所述执行单元33包括:Further, in an implementation manner of this embodiment, as shown in FIG. 5 , the execution unit 33 includes:
导入模块331,用于基于所述车辆标识将对应的所述数仓文件导入到自动化测试 系统中;An import module 331, configured to import the corresponding data warehouse file into the automated test system based on the vehicle identification;
读取模块332,用于基于所述自动化测试系统读取所述测试用例;A reading module 332, configured to read the test case based on the automated test system;
执行模块333,用于在所述数仓文件中执行所述测试用例。An execution module 333, configured to execute the test case in the data warehouse file.
进一步地,在本实施例一种实现方式中,如图5所示,所述装置还包括:Further, in an implementation manner of this embodiment, as shown in FIG. 5 , the device further includes:
验证单元34,用于在所述执行单元执行所述测试用例得到测试结果之后,根据所述测试需求信息中的目标结果对所述测试结果进行验证;A verification unit 34, configured to verify the test result according to the target result in the test requirement information after the execution unit executes the test case to obtain the test result;
第一确定单元35,用于当所述验证单元确定所述目标结果与所述测试结果一致时,确定生成的所述测试用例正确;The first determination unit 35 is configured to determine that the generated test case is correct when the verification unit determines that the target result is consistent with the test result;
第二确定单元36,用于当确定所述目标结果与所述测试结果不一致时,确定生成的所述测试用例不正确;The second determining unit 36 is configured to determine that the generated test case is incorrect when it is determined that the target result is inconsistent with the test result;
输出单元37,用于输出测试失败项、测试失败项的发生时间和所述车辆标识;An output unit 37, configured to output the test failure item, the occurrence time of the test failure item and the vehicle identification;
处理单元38,用于将包含所述测试失败项发生时间点在内的预设时间内的整车运行数据导出,并与所述测试用例进行链接。The processing unit 38 is configured to export the running data of the entire vehicle within a preset time period including the occurrence time point of the test failure item, and link it with the test case.
需要说明的是,前述对方法实施例的解释说明,也适用于本实施例的装置,原理相同,本实施例中不再限定。It should be noted that the foregoing explanations for the method embodiment are also applicable to the device of this embodiment, and the principles are the same, and are not limited in this embodiment.
根据本公开的实施例,本公开还提供了一种电子设备、一种可读存储介质、一种计算机程序产品和一种计算机程序。According to the embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, a computer program product, and a computer program.
图6示出了可以用来实施本公开的实施例的示例电子设备400的示意性框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本公开的实现。FIG. 6 shows a schematic block diagram of an example electronic device 400 that may be used to implement embodiments of the present disclosure. Electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are by way of example only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
如图6所示,设备400包括计算单元401,其可以根据存储在ROM(Read-Only Memory,只读存储器)402中的计算机程序或者从存储单元408加载到RAM(Random Access Memory,随机访问/存取存储器)403中的计算机程序,来执行各种适当的动作和处理。在RAM 403中,还可存储设备400操作所需的各种程序和数据。计算单元401、ROM 402以及RAM 403通过总线404彼此相连。I/O(Input/Output,输入/输出)接口405也连接至总线404。As shown in Figure 6, the device 400 includes a computing unit 401, which can be loaded into a RAM (Random Access Memory, Random Access/ accesses the computer program in the memory) 403 to execute various appropriate actions and processes. In the RAM 403, various programs and data necessary for the operation of the device 400 can also be stored. The computing unit 401, ROM 402, and RAM 403 are connected to each other through a bus 404. An I/O (Input/Output, input/output) interface 405 is also connected to the bus 404 .
设备400中的多个部件连接至I/O接口405,包括:输入单元404,例如键盘、鼠标等;输出单元407,例如各种类型的显示器、扬声器等;存储单元408,例如磁盘、光盘等;以及通信单元409,例如网卡、调制解调器、无线通信收发机等。通信单元409允许设备400通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Multiple components in the device 400 are connected to the I/O interface 405, including: an input unit 404, such as a keyboard, a mouse, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a magnetic disk, an optical disk, etc. ; and a communication unit 409, such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 409 allows the device 400 to exchange information/data with other devices over a computer network such as the Internet and/or various telecommunication networks.
计算单元401可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元401的一些示例包括但不限于CPU(Central Processing Unit,中央处理单元)、GPU (Graphic Processing Units,图形处理单元)、各种专用的AI(Artificial Intelligence,人工智能)计算芯片、各种运行机器学习模型算法的计算单元、DSP(Digital Signal Processor,数字信号处理器)、以及任何适当的处理器、控制器、微控制器等。计算单元401执行上文所描述的各个方法和处理,例如测试用例的测试方法。例如,在一些实施例中,测试用例的测试方法可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元408。在一些实施例中,计算机程序的部分或者全部可以经由ROM 402和/或通信单元409而被载入和/或安装到设备400上。当计算机程序加载到RAM 403并由计算单元401执行时,可以执行上文描述的方法的一个或多个步骤。备选地,在其他实施例中,计算单元401可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行前述测试用例的测试方法。The computing unit 401 may be various general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of computing unit 401 include but are not limited to CPU (Central Processing Unit, central processing unit), GPU (Graphic Processing Units, graphics processing unit), various dedicated AI (Artificial Intelligence, artificial intelligence) computing chips, various operating The computing unit of the machine learning model algorithm, DSP (Digital Signal Processor, digital signal processor), and any appropriate processor, controller, microcontroller, etc. The computing unit 401 executes the various methods and processes described above, such as the test method of the test case. For example, in some embodiments, a testing method of a test case may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 408 . In some embodiments, part or all of the computer program may be loaded and/or installed on the device 400 via the ROM 402 and/or the communication unit 409. When a computer program is loaded into RAM 403 and executed by computing unit 401, one or more steps of the methods described above may be performed. Alternatively, in other embodiments, the computing unit 401 may be configured in any other appropriate way (for example, by means of firmware) to execute the test methods of the aforementioned test cases.
本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、FPGA(Field Programmable Gate Array,现场可编程门阵列)、ASIC(Application-Specific Integrated Circuit,专用集成电路)、ASSP(Application Specific Standard Product,专用标准产品)、SOC(System On Chip,芯片上系统的系统)、CPLD(Complex Programmable Logic Device,复杂可编程逻辑设备)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and technologies described above in this paper can be implemented in digital electronic circuit systems, integrated circuit systems, FPGA (Field Programmable Gate Array, Field Programmable Gate Array), ASIC (Application-Specific Integrated Circuit, application-specific integrated circuit) , ASSP (Application Specific Standard Product, dedicated standard product), SOC (System On Chip, system on a chip), CPLD (Complex Programmable Logic Device, complex programmable logic device), computer hardware, firmware, software, and/or realized in combination of them. These various embodiments may include being implemented in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor Can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.
用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Program codes for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special purpose computer, or other programmable data processing devices, so that the program codes, when executed by the processor or controller, make the functions/functions specified in the flow diagrams and/or block diagrams Action is implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、RAM、ROM、EPROM(Electrically Programmable Read-Only-Memory,可擦除可编程只读存储器)或快闪存储器、光纤、CD-ROM(Compact Disc Read-Only Memory,便捷式紧凑盘只读存储器)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard disks, RAM, ROM, EPROM (Electrically Programmable Read-Only-Memory, Erasable Programmable Read-Only Memory) Or flash memory, optical fiber, CD-ROM (Compact Disc Read-Only Memory, portable compact disk read-only memory), optical storage device, magnetic storage device, or any suitable combination of the above.
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机 具有:用于向用户显示信息的显示装置(例如,CRT(Cathode-Ray Tube,阴极射线管)或者LCD(Liquid Crystal Display,液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with the user, the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (Cathode-Ray Tube) or LCD ( Liquid Crystal Display (LCD) monitor); and a keyboard and pointing device (such as a mouse or trackball) through which a user can provide input to a computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:LAN(Local Area Network,局域网)、WAN(Wide Area Network,广域网)、互联网和区块链网络。The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: LAN (Local Area Network, local area network), WAN (Wide Area Network, wide area network), the Internet, and blockchain networks.
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决了传统物理主机与VPS服务("Virtual Private Server",或简称"VPS")中,存在的管理难度大,业务扩展性弱的缺陷。服务器也可以为分布式系统的服务器,或者是结合了区块链的服务器。A computer system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the problem of traditional physical host and VPS service ("Virtual Private Server", or "VPS") Among them, there are defects such as difficult management and weak business scalability. The server can also be a server of a distributed system, or a server combined with a blockchain.
需要说明的是,人工智能是研究使计算机来模拟人的某些思维过程和智能行为(如学习、推理、思考、规划等)的学科,既有硬件层面的技术也有软件层面的技术。人工智能硬件技术一般包括如传感器、专用人工智能芯片、云计算、分布式存储、大数据处理等技术;人工智能软件技术主要包括计算机视觉技术、语音识别技术、自然语言处理技术以及机器学习/深度学习、大数据处理技术、知识图谱技术等几大方向。It should be noted that artificial intelligence is a discipline that studies the use of computers to simulate certain human thinking processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), both at the hardware level and at the software level. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, and machine learning/depth Learning, big data processing technology, knowledge map technology and other major directions.
需要说明的是,前述对测试用例的测试方法的实施例的解释说明也适用于本公开实施例的测试装置、非临时性计算机可读存储介质、电子设备、计算机程序产品和计算机程序,此处不再赘述。It should be noted that the above-mentioned explanations of the embodiment of the test method for the test case are also applicable to the test device, non-transitory computer-readable storage medium, electronic equipment, computer program product and computer program of the embodiment of the present disclosure, here No longer.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本公开中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本公开公开的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, each step described in the present disclosure may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution disclosed in the present disclosure can be achieved, no limitation is imposed herein.
上述具体实施方式,并不构成对本公开保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本公开的精神和原则之内所作的修改、等同替换和改进等,均应包含在本公开保护范围之内。The specific implementation manners described above do not limit the protection scope of the present disclosure. It should be apparent to those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present disclosure shall be included within the protection scope of the present disclosure.
本公开所有实施例均可以单独被执行,也可以与其他实施例相结合被执行,均视为本公开要求的保护范围。All the embodiments of the present disclosure can be implemented independently or in combination with other embodiments, which are all regarded as the scope of protection required by the present disclosure.

Claims (16)

  1. 一种测试用例的测试方法,包括:A test method for a test case, comprising:
    根据测试需求信息获取对应的测试数据;Obtain the corresponding test data according to the test requirement information;
    将所述测试数据基于控制策略文件中的测试步骤转换为测试用例,其中,所述控制策略文件中包含测试数据的测试类别与每个测试类别下测试步骤需执行的操作或执行参数;The test data is converted into a test case based on the test steps in the control strategy file, wherein the control strategy file contains the test category of the test data and the operation or execution parameters to be executed by the test step under each test category;
    执行所述测试用例得到测试结果。Execute the test case to obtain the test result.
  2. 根据权利要求1所述的测试方法,其中,所述将所述测试数据基于控制策略文件中的测试步骤转换为测试用例,具体包括:The test method according to claim 1, wherein said converting the test data into test cases based on the test steps in the control strategy file specifically comprises:
    根据所述测试需求信息,划分所述测试数据的测试类别;classifying the test categories of the test data according to the test requirement information;
    从所述控制策略文件中根据所述测试类别查找对应的测试步骤执行的操作或执行参数。According to the test category, the operations or execution parameters to be executed by the corresponding test steps are searched from the control strategy file.
  3. 根据权利要求1或2所述的测试方法,其中,将所述测试数据基于控制策略文件中的测试步骤转换为测试用例包括:The test method according to claim 1 or 2, wherein converting the test data into test cases based on the test steps in the control strategy file comprises:
    基于所述控制策略文件将所述测试数据生成测试步骤,所述测试步骤基于自然语言进行描述;generating test steps from the test data based on the control strategy file, and describing the test steps based on natural language;
    从控制策略文件中确定每个测试步骤的执行的操作或执行参数;Determining the action or execution parameters for the execution of each test step from the control strategy file;
    将每个基于自然语言描述的测试步骤的执行的操作或执行参数转换为可执行测试用例。Convert the executed operations or execution parameters of each natural language-based test step into an executable test case.
  4. 根据权利要求1至3中任一项所述的测试方法,其中,根据测试需求信息获取对应的测试数据包括:The test method according to any one of claims 1 to 3, wherein obtaining corresponding test data according to the test requirement information comprises:
    根据所述测试需求信息从整车运行数据或实车测试数据中获取所述测试数据;Acquiring the test data from the vehicle operation data or the actual vehicle test data according to the test requirement information;
    将所述测试数据存储于数仓文件中,并记录所述数仓文件与车辆标识的对应关系。The test data is stored in a data warehouse file, and the corresponding relationship between the data warehouse file and the vehicle identification is recorded.
  5. 根据权利要求4所述的测试方法,其中,所述执行所述测试用例得到测试结果包括:The testing method according to claim 4, wherein said executing said test case to obtain a test result comprises:
    基于所述车辆标识将对应的所述数仓文件导入到自动化测试系统中;Importing the corresponding data warehouse file into the automated test system based on the vehicle identification;
    基于所述自动化测试系统读取所述测试用例;Reading the test case based on the automated test system;
    在所述数仓文件中执行所述测试用例,以得到所述测试结果。Execute the test case in the data warehouse file to obtain the test result.
  6. 根据权利要求1至5中任一项所述的测试方法,其中,在所述执行所述测试用例得到测试结果之后,所述方法还包括:The test method according to any one of claims 1 to 5, wherein, after the execution of the test case to obtain the test result, the method further comprises:
    根据所述测试需求信息中的目标结果对所述测试结果进行验证;Verifying the test result according to the target result in the test requirement information;
    若确定所述目标结果与所述测试结果一致,则确定生成的所述测试用例正确;If it is determined that the target result is consistent with the test result, then it is determined that the generated test case is correct;
    若确定所述目标结果与所述测试结果不一致,则确定生成的所述测试用例不正确,并输出测试失败项、测试失败项的发生时间和所述车辆标识;If it is determined that the target result is inconsistent with the test result, then determine that the generated test case is incorrect, and output the test failure item, the occurrence time of the test failure item and the vehicle identification;
    将包含所述测试失败项发生时间点在内的预设时间内的整车运行数据导出,并与所述测试用例进行链接。Exporting the running data of the whole vehicle within a preset time including the occurrence time point of the test failure item, and linking it with the test case.
  7. 一种测试用例的测试装置,包括:A test setup for a test case, comprising:
    获取单元,用于根据测试需求信息获取对应的测试数据;The acquisition unit is used to acquire corresponding test data according to the test requirement information;
    转换单元,用于将所述测试数据基于控制策略文件中的测试步骤转换为测试用例,其中,所述控制策略文件中包含测试数据的测试类别与每个测试类别下测试步骤需执行的操作或执行参数;A conversion unit for converting the test data into test cases based on the test steps in the control strategy file, wherein the control strategy file contains the test categories of the test data and the operations to be performed by the test steps under each test category or execution parameters;
    执行单元,用于执行所述测试用例得到测试结果。The execution unit is used to execute the test case to obtain the test result.
  8. 根据权利要求7所述的测试装置,其中所述转换单元包括:The testing device according to claim 7, wherein said converting unit comprises:
    划分模块,用于根据所述测试需求信息,划分所述测试数据的测试类别;A division module, configured to divide the test categories of the test data according to the test requirement information;
    查找模块,用于从所述控制策略文件中根据所述测试类别查找对应的测试步骤执行的操作或执行参数。A search module, configured to search the operation or execution parameters of the corresponding test steps from the control strategy file according to the test category.
  9. 根据权利要求7或8所述的测试装置,其中所述转换单元还包括:The test device according to claim 7 or 8, wherein the conversion unit further comprises:
    生成模块,用于基于所述控制策略文件将所述测试数据生成测试步骤,所述测试步骤基于自然语言进行描述;A generating module, configured to generate test steps from the test data based on the control strategy file, and the test steps are described based on natural language;
    确定模块,用于从控制策略文件中确定每个测试步骤的执行的操作或执行参数;A determination module, configured to determine the execution operation or execution parameters of each test step from the control strategy file;
    转换模块,用于将每个基于自然语言描述的测试步骤的执行的操作或执行参数转换为可执行测试用例。The conversion module is used to convert the executed operation or execution parameter of each test step described based on natural language into an executable test case.
  10. 根据权利要求7至9中任一项所述的测试装置,其中所述获取单元包括:The testing device according to any one of claims 7 to 9, wherein the acquisition unit comprises:
    第一获取模块,用于根据所述测试需求信息从整车运行数据或实车测试数据中获取所述测试数据;A first acquisition module, configured to acquire the test data from the vehicle operation data or the actual vehicle test data according to the test requirement information;
    第一存储模块,用于将所述测试数据存储于数仓文件中,并记录所述数仓文件与车辆标识的对应关系。The first storage module is configured to store the test data in a data bin file, and record the correspondence between the data bin file and the vehicle identification.
  11. 根据权利要求10所述的测试装置,其中所述执行单元包括:The testing device according to claim 10, wherein said execution unit comprises:
    导入模块,用于基于所述车辆标识将对应的所述数仓文件导入到自动化测试系统中;An import module, configured to import the corresponding data warehouse file into the automated test system based on the vehicle identification;
    读取模块,用于基于所述自动化测试系统读取所述测试用例;A reading module, configured to read the test case based on the automated test system;
    执行模块,用于在所述数仓文件中执行所述测试用例,以得到所述测试结果。An execution module, configured to execute the test case in the data warehouse file to obtain the test result.
  12. 根据权利要求7至11中任一项所述的测试装置,还包括:The test device according to any one of claims 7 to 11, further comprising:
    验证单元,用于在所述执行单元执行所述测试用例得到测试结果之后,根据所述测试需求信息中的目标结果对所述测试结果进行验证;a verification unit, configured to verify the test result according to the target result in the test requirement information after the execution unit executes the test case to obtain the test result;
    第一确定单元,用于当所述验证单元确定所述目标结果与所述测试结果一致时,确定生成的所述测试用例正确;a first determination unit, configured to determine that the generated test case is correct when the verification unit determines that the target result is consistent with the test result;
    第二确定单元,用于当确定所述目标结果与所述测试结果不一致时,确定生成的所述测试用例不正确;A second determining unit, configured to determine that the generated test case is incorrect when it is determined that the target result is inconsistent with the test result;
    输出单元,用于输出测试失败项、测试失败项的发生时间和所述车辆标识;an output unit, configured to output the test failure item, the occurrence time of the test failure item, and the vehicle identification;
    处理单元,用于将包含所述测试失败项发生时间点在内的预设时间内的整车运行数据导出,并与所述测试用例进行链接。The processing unit is configured to export the vehicle running data within a preset time including the occurrence time point of the test failure item, and link it with the test case.
  13. 一种电子设备,包括:An electronic device comprising:
    至少一个处理器;和at least one processor; and
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-6中任一项所述的方法。The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can perform any one of claims 1-6. Methods.
  14. 一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行根据权利要求1-6中任一项所述的方法。A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method according to any one of claims 1-6.
  15. 一种计算机程序产品,包括计算机程序,所述计算机程序在被处理器执行时实现根据权利要求1-6中任一项所述的方法。A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-6.
  16. 一种计算机程序,所述计算机程序包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行根据权利要求1-6中任一项所述的方法。A computer program, the computer program comprising computer program code, when the computer program code is run on a computer, it causes the computer to execute the method according to any one of claims 1-6.
PCT/CN2022/137350 2021-12-09 2022-12-07 Testing method and apparatus for test case, and electronic device and storage medium WO2023104121A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111501555.0 2021-12-09
CN202111501555.0A CN115437336A (en) 2021-12-09 2021-12-09 Test method and device for test case, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2023104121A1 true WO2023104121A1 (en) 2023-06-15

Family

ID=84239932

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/137350 WO2023104121A1 (en) 2021-12-09 2022-12-07 Testing method and apparatus for test case, and electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN115437336A (en)
WO (1) WO2023104121A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117076336A (en) * 2023-10-17 2023-11-17 之江实验室 Testing method and device of cloud edge cooperative system, storage medium and equipment
CN117076332A (en) * 2023-10-13 2023-11-17 博智安全科技股份有限公司 Test case testing method and device, electronic equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115437336A (en) * 2021-12-09 2022-12-06 北京罗克维尔斯科技有限公司 Test method and device for test case, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130022708A (en) * 2011-08-26 2013-03-07 강원대학교산학협력단 Test case creating mehtod and running method of robot software component using specifications of required interface
CN104407971A (en) * 2014-11-18 2015-03-11 中国电子科技集团公司第十研究所 Method for automatically testing embedded software
CN107832231A (en) * 2017-12-05 2018-03-23 郑州云海信息技术有限公司 A kind of system detection method, device and medium
CN110162468A (en) * 2019-04-26 2019-08-23 腾讯科技(深圳)有限公司 A kind of test method, device and computer readable storage medium
CN111506509A (en) * 2020-04-20 2020-08-07 上海元城汽车技术有限公司 Automatic testing method, device, equipment and storage medium for automobile software unit
CN112035348A (en) * 2020-08-26 2020-12-04 广东博智林机器人有限公司 Automatic test platform and automatic test method thereof
CN113342692A (en) * 2021-07-05 2021-09-03 卫宁健康科技集团股份有限公司 Test case automatic generation method and device, electronic equipment and storage medium
CN115437336A (en) * 2021-12-09 2022-12-06 北京罗克维尔斯科技有限公司 Test method and device for test case, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130022708A (en) * 2011-08-26 2013-03-07 강원대학교산학협력단 Test case creating mehtod and running method of robot software component using specifications of required interface
CN104407971A (en) * 2014-11-18 2015-03-11 中国电子科技集团公司第十研究所 Method for automatically testing embedded software
CN107832231A (en) * 2017-12-05 2018-03-23 郑州云海信息技术有限公司 A kind of system detection method, device and medium
CN110162468A (en) * 2019-04-26 2019-08-23 腾讯科技(深圳)有限公司 A kind of test method, device and computer readable storage medium
CN111506509A (en) * 2020-04-20 2020-08-07 上海元城汽车技术有限公司 Automatic testing method, device, equipment and storage medium for automobile software unit
CN112035348A (en) * 2020-08-26 2020-12-04 广东博智林机器人有限公司 Automatic test platform and automatic test method thereof
CN113342692A (en) * 2021-07-05 2021-09-03 卫宁健康科技集团股份有限公司 Test case automatic generation method and device, electronic equipment and storage medium
CN115437336A (en) * 2021-12-09 2022-12-06 北京罗克维尔斯科技有限公司 Test method and device for test case, electronic equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117076332A (en) * 2023-10-13 2023-11-17 博智安全科技股份有限公司 Test case testing method and device, electronic equipment and storage medium
CN117076332B (en) * 2023-10-13 2024-01-23 博智安全科技股份有限公司 Test case testing method and device, electronic equipment and storage medium
CN117076336A (en) * 2023-10-17 2023-11-17 之江实验室 Testing method and device of cloud edge cooperative system, storage medium and equipment
CN117076336B (en) * 2023-10-17 2024-01-09 之江实验室 Testing method and device of cloud edge cooperative system, storage medium and equipment

Also Published As

Publication number Publication date
CN115437336A (en) 2022-12-06

Similar Documents

Publication Publication Date Title
WO2023104121A1 (en) Testing method and apparatus for test case, and electronic device and storage medium
WO2018120721A1 (en) Method and system for testing user interface, electronic device, and computer readable storage medium
WO2019216976A1 (en) Analytics for an automated application testing platform
CN112148542B (en) Reliability testing method, device and system for distributed storage cluster
CN101882105A (en) Method for testing response time of Web page under concurrent environment
WO2023125851A1 (en) Remote diagnostics method and apparatus, electronic device and storage medium
CN103927236A (en) Online verification method and device
CN109462517A (en) A kind of method, system and the equipment of the data monitoring towards digital electric network business
US11972382B2 (en) Root cause identification and analysis
US20230185702A1 (en) Method and Apparatus for Generating and Applying Deep Learning Model based on Deep Learning Framework
US20220100389A1 (en) Method, electronic device, and computer program product for managing disk
CN111190605A (en) Embedded platform deployment method, equipment and storage medium
CN108572895B (en) Stability test method for automatically checking software and hardware configuration under Linux
WO2021047184A1 (en) System failure analysis and processing method and apparatus, storage medium, and electronic device
CN114116422A (en) Hard disk log analysis method, hard disk log analysis device and storage medium
CN115952081A (en) Software testing method, device, storage medium and equipment
US20220398239A1 (en) Intelligent support bundle collection
CN112860587B (en) UI automatic test method and device
CN113961465A (en) Method, device and program product for processing reproduction of program crash scene
CN111523676B (en) Method and device for assisting machine learning model to be online
CN117421217A (en) Automatic software function test method, system, terminal and medium
US20230025081A1 (en) Model training method, failure determining method, electronic device, and program product
CN115878400A (en) Test method, test apparatus, computer device, storage medium, and program product
CN115328891A (en) Data migration method and device, storage medium and electronic equipment
CN114428747A (en) User interface testing method, device, server and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22903541

Country of ref document: EP

Kind code of ref document: A1