Patents by Inventor Fangqing LIU

Fangqing LIU has filed for patents to protect the following inventions. This listing includes patent applications that are pending as well as patents that have already been granted by the United States Patent and Trademark Office (USPTO).

  • Publication number: 20240104006
    Abstract: Disclosed is a method for automatically generating interactive test cases. The method comprises: after a UI of an application program is displayed, traversing all views in a view tree corresponding to the UI of the application program, and recording a path, in the view tree, of each view therein that can be clicked on, so as to obtain a set of path information, in the view tree, of all the views that can be clicked on in the UI; and respectively generating a corresponding test case for each piece of path information in the set: in the test case, according to path information, in the view tree, of a view under test, finding the view in the UI interface of the application program, and triggering a click event therefore, that is, completing a click interaction test on the view. In the present invention, there is no strict requirements for the type and the running environment of an application program.
    Type: Application
    Filed: October 8, 2021
    Publication date: March 28, 2024
    Applicant: SOUTH CHINA UNIVERSITY OF TECHNOLOGY
    Inventors: Han HUANG, Jie CAO, Lei YE, Fangqing LIU, Zhifeng HAO
  • Patent number: 11720477
    Abstract: The present invention provides a unit testing method based on automatic generation of path coverage test cases. First, obtain a control flow graph of a program to be tested is obtained. Then, an executable code is executed in the generated control flow graph based on of an automatically generated test case, and meanwhile, a fitness value is calculated and acquired based on of an execution result of the executable code, and a sub-node is selected to continue repeating the above process, until a terminal node in the control flow graph is found, and finally a path marker is generated and the fitness value corresponding to the path is obtained. Then, an automatic test case generation algorithm is executed, and the algorithm constantly automatically generates test cases based on of the returned fitness value, and exits when the path is completely covered, or a set execution is timed out.
    Type: Grant
    Filed: October 31, 2018
    Date of Patent: August 8, 2023
    Assignee: SOUTH CHINA UNIVERSITY OF TECHNOLOGY
    Inventors: Han Huang, Muming Lian, Fangqing Liu, Zhongming Yang, Zhifeng Hao
  • Publication number: 20230185703
    Abstract: Disclosed is an automatic parsing and path analysis method for a unit test code structure. The method comprises: acquiring compiled byte codes according to a language of a test program; traversing the complied byte codes, making instrumentation codes respectively in front of important statements, and acquiring node information and a small-segment path set (SSPS); analyzing the SSPS, replacing a part therein comprising nesting to obtain a SSPS excluding nesting as a basis, initializing a path table among the nodes, updating the path table by utilizing a depth-first algorithm, and obtaining path sets according to the path table; if all the path sets have been updated, returning to continuously update the path table; and outputting the acquired path sets and a program flowchart CFG obtained by analysis. The method above is capable of acquiring the path sets efficiently, thereby improving the capability of processing path analysis in actual software unit test.
    Type: Application
    Filed: October 28, 2021
    Publication date: June 15, 2023
    Applicant: SOUTH CHINA UNIVERSITY OF TECHNOLOGY
    Inventors: Fangqing LIU, Han HUANG, Xiao LING, Feng LIN, Jie CAO, Shaoyang ZHUANG, Zhifeng HAO
  • Publication number: 20210209008
    Abstract: The present invention provides a unit testing method based on automatic generation of path coverage test cases. First, obtain a control flow graph of a program to be tested is obtained. Then, an executable code is executed in the generated control flow graph based on of an automatically generated test case, and meanwhile, a fitness value is calculated and acquired based on of an execution result of the executable code, and a sub-node is selected to continue repeating the above process, until a terminal node in the control flow graph is found, and finally a path marker is generated and the fitness value corresponding to the path is obtained. Then, an automatic test case generation algorithm is executed, and the algorithm constantly automatically generates test cases based on of the returned fitness value, and exits when the path is completely covered, or a set execution is timed out.
    Type: Application
    Filed: October 31, 2018
    Publication date: July 8, 2021
    Applicant: SOUTH CHINA UNIVERSITY OF TECHNOLOGY
    Inventors: Han HUANG, Muming LIAN, Fangqing LIU, Zhongming YANG, Zhifeng HAO