Test processing device and test processing method

A processing device and processing method technology, applied in the field of test processing device and test processing, can solve problems such as limited application scope, low test coverage, and inability to support testing, so as to avoid differences in test results, improve test efficiency, and improve Development quality effects
CN102819488AActive Publication Date: 2012-12-12YONYOU NETWORK TECH

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
YONYOU NETWORK TECH
Publication Date
2012-12-12

Smart Images

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

Abstract

The invention provides a test processing device, comprising a test case acquisition module, a context parameter setting module and a test case execution module, wherein the test case acquisition module is used for acquiring a test case in a system; the context parameter setting module is used for setting context parameters required by a test objective component in a thread context of the test case; and the test case execution module is used for executing the test case to test the objective component. Accordingly, the invention also provides a test processing method. By the technical solution of the invention, aiming at a software system based on open service gateway initiative (OSGI), a context consistent with an actual environment is provided for execution of the test case, thus different testing results caused by various execution environments is avoided, and loose coupling between the test case and a test object is achieved. In addition, test cases can be executed in batch, thereby the testing efficiency of the software system is improved and the development quality of the software system is promoted as well.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of software testing, in particular to a test processing device and a test processing method. Background technique

[0002] OSGi (Open Service Gateway Initiative) is a dynamic model system for Java, which defines an infrastructure for the development of modular applications, so that applications can implement well-defined, reusable and collaborative standard components, and can be flexible It can be assembled and deployed into the application system accurately and dynamically. Due to these characteristics, OSGi has been widely used in the industry and has become one of the preferred architectures for software integration and enterprise development.

[0003] However, because different class loaders are used to load program codes in the OSGi environment to achieve loose coupling and dynamic deployment of components, this mechanism is completely different from traditional applications, so that the testing methods used in...

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