Software interface test method and apparatus

A technology of software interface and test method, which is applied in the direction of program control devices, etc., can solve the problems of complex operation and heavy test workload, and achieve the effects of simplified test operation, high maintainability and reduced requirements
CN101488085AInactive Publication Date: 2009-07-22ZTE CORP

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
ZTE CORP
Publication Date
2009-07-22
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a software interface test method and comprises the steps as follows: configuration file information is obtained; Extensible Markup Language (XML) analysis is carried out on the obtained configuration file information to obtain the information of a software interface to be tested; a test operation is carried out according to interface instruction and input parameter in the obtained information of the software interface to be tested; and a test result is recorded according to the output parameter type in the information of the software interface to be tested. The invention also provides a software interface tester which is applied to a software interface test based on Hibernate in Java development. XML is used for compiling a configuration file instead of the complex process of compiling a test code, and a test end executes the software interface test by analyzing the configuration file. The method and the device do not require compiling the test code, thereby reducing the workload of the software interface test, simplifying the test operation and improving the test efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to software testing technology, in particular to a software interface testing method and device. Background technique

[0002] Hibernate is an open source object-relational mapping framework, which is currently widely used in Java applications. Hibernate performs lightweight object encapsulation on Java Database Connection (JDBC, Java Data Base Connectivity), so that Java programmers can easily use object programming thinking to manipulate the database. Hibernate can be applied to any occasion where JDBC is used. For example, the background code of the current business management support platform is developed based on Hibernate. As the functions of the business management support platform become more and more complex, more and more functional interfaces need to be provided for front-end calls to meet various needs, and more and more user-defined data objects are encapsulated by Hibernate. In the application, it is necessary to t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More