Testing method and system based on robot operating system
A technology of operating system and testing method, which is applied in the field of intelligent robots, can solve problems such as unfavorable intelligent operating system function maintenance, and achieve the effects of high testing efficiency, labor cost saving, and simple testing structure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] figure 1 A schematic flowchart of the testing method based on the robot operating system according to the embodiment of the present invention is shown. The robot operating system is embedded with various functions, such as singing function, storytelling function, weather query function P, and poetry recitation function. like figure 1 As shown, the testing method of this embodiment mainly includes steps 101 to 106 .
[0050] In step 101, the function to be tested in the robot operating system is grasped.
[0051] Specifically, at the beginning of testing the robot operating system, it is first necessary to determine the function to be tested in the robot operating system. The function to be tested can be selected as any function of the robot operating system.
[0052] In step 102, test cases corresponding to the functions to be tested are extracted from the test case knowledge base, wherein the test case knowledge base stores test cases corresponding to respective funct...
Embodiment 2
[0061] On the basis of the first embodiment, this embodiment further optimizes the method for extracting test cases. In this embodiment, each function in the robot operating system is uniquely identified, so that each function corresponds to a corresponding identifier. That is to say, the identifier is the unique identification number used in the robot operating system to mark each different function (application), and the test case knowledge base stores the identifier of each function in the robot operating system and the identifier with the identifier. corresponding test cases.
[0062] figure 2 A schematic flowchart of a method for extracting a test case corresponding to a function to be tested from a test case knowledge base in an embodiment of the present invention is shown. like figure 2 As shown, the method for extracting the test case corresponding to the function to be tested from the test case knowledge base in this embodiment mainly includes step 201 and step 2...
Embodiment 3
[0067] On the basis of any of the above-mentioned embodiments, this embodiment further defines the subject that completes the test. In this embodiment, each function to be tested corresponds to a separate thread, and the thread completes the test for the function to be tested.
[0068] This embodiment uses multiple threads to run at the same time, and realizes the parallel testing of multiple functions to be tested. The testing process for each function is completely independent, the test results for each function will not affect each other, and the test cycle is greatly reduced. At the same time, the validity and reliability of the test are guaranteed.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


