发明名称 System and Method for Generating Automated Test Cases for Command Line Based Applications
摘要 System and method embodiments are provided for creating automated test cases for an application or software command based on knowledge about the application command. An embodiment method includes reading general knowledge about a plurality of application commands from a global knowledge base for the application commands, reading local knowledge about the application command from a local knowledge base corresponding to the application command, identifying, in a syntax file of the application command, a plurality of command options and command variables, determining which of the command options to include in a test case, and replacing the command variables and any included command options in the test case with test values according to the local knowledge and the general knowledge.
申请公布号 US2014310690(A1) 申请公布日期 2014.10.16
申请号 US201313863185 申请日期 2013.04.15
申请人 FUTUREWEI TECHNOLOGIES, INC. 发明人 Yang Bai
分类号 G06F11/36 主分类号 G06F11/36
代理机构 代理人
主权项 1. A method for generating automated test cases for an application command, the method comprising: establishing a knowledge base for the application command that includes global knowledge for a plurality of commands and local knowledge about the application command; parsing the application command to identify variable and option parameters in the application command; and replacing, using the knowledge base, at least some of the variable and option parameters with test values to obtain each of the test cases.
地址 Plano TX US