Simulation-based interface testing automation system and method for robot software components
First Claim
Patent Images
1. A testing automation method, comprising:
- receiving, as input by a user, test specification information and an expected result value for a test case;
generating a test case based on interface representation information and the test specification information, the interface representation information and the test specification information being associated with a robot software component of a target robot to be tested;
generating a source code of a test application based on the test case, the source code being used to test the robot software component;
compiling the source code of the test application using the test case, connecting the source code to a robot hardware simulator while executing the compiled test application, and outputting a result corresponding to the test case, said result being based at least in part on information received from the robot hardware simulator while executing the compiled test application; and
comparing the output result with the expected result value,wherein the outputting of the result comprises;
compiling a source code of a test application, when a build of the test application is requested;
controlling a test simulation environment, an object in the environment, and an operation of the target robot using components of the test application and the robot hardware simulator based on the test case, when executing the test application having the compiled source code; and
outputting an execution result of the controlled test application,wherein the generating of the test case comprises;
parsing the interface representation information and extracting information regarding input and output parameters of the robot software component;
generating a plurality of test case candidates of the robot software component based on the test specification information; and
combining the plurality of generated test case candidates to generate at least one test case based on the test specification information.
1 Assignment
0 Petitions
Accused Products
Abstract
A testing tool for verifying a reliability of robot software components is provided, and more particularly, a simulation-based interface testing automation system and method that may automatically perform a test for functions and performance of an interface with respect to robot software components are provided. Thus, it is possible to efficiently perform a test for an interface of robot software components. In particular, it is possible to automatically generate test cases required for testing, to perform a test in various languages, and to perform a test suitable for a robot.
-
Citations
11 Claims
-
1. A testing automation method, comprising:
-
receiving, as input by a user, test specification information and an expected result value for a test case; generating a test case based on interface representation information and the test specification information, the interface representation information and the test specification information being associated with a robot software component of a target robot to be tested; generating a source code of a test application based on the test case, the source code being used to test the robot software component; compiling the source code of the test application using the test case, connecting the source code to a robot hardware simulator while executing the compiled test application, and outputting a result corresponding to the test case, said result being based at least in part on information received from the robot hardware simulator while executing the compiled test application; and comparing the output result with the expected result value, wherein the outputting of the result comprises; compiling a source code of a test application, when a build of the test application is requested; controlling a test simulation environment, an object in the environment, and an operation of the target robot using components of the test application and the robot hardware simulator based on the test case, when executing the test application having the compiled source code; and outputting an execution result of the controlled test application, wherein the generating of the test case comprises; parsing the interface representation information and extracting information regarding input and output parameters of the robot software component; generating a plurality of test case candidates of the robot software component based on the test specification information; and combining the plurality of generated test case candidates to generate at least one test case based on the test specification information. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A testing automation system, comprising:
-
a testing automation server on a host computer having a processor to generate a test case, and a source code of a test application, based on interface representation information and test specification information, the test specification information being received as input by a user, the interface representation information and the test specification information being associated with a robot software component of a target robot to be tested; a test build agent to compile the source code of the test application using the test case, and to output a result corresponding to the test case while executing the compiled test application; a robot hardware simulator to perform a simulation of virtual robot hardware and a robot test environment based on an operation of the test build agent, the robot hardware simulator being connected to the test build agent, wherein the output result is based at least in part on information received from the robot hardware simulator while executing the compiled test application; and a test driver component to compare the output result with an expected result value, received as input by a user, wherein the test build agent controls a test simulation environment, an object in the environment, and an operation of the target robot using components of the test application and the robot hardware simulator based on the test case, when executing the test application having the compiled source code, wherein the testing automation server comprises; an interface parser to parse the interface representation information and to extract information regarding input and output parameters of the robot software component; a test case candidate generator to generate a plurality of test case candidates of the robot software component based on the test specification information; and a test case combination generator to generate a plurality of test cases of the robot software component through a combination of the plurality of generated test case candidates. - View Dependent Claims (7, 8, 9, 10, 11)
-
Specification