Device and method for automatically testing embedded system

An embedded system, automatic testing technology, applied in transmission systems, digital transmission systems, data exchange networks, etc., can solve the problems of inconsistent interfaces, inability to be very general, and the influence of the popularization of automated testing tools, so as to improve work efficiency. Efficiency, efficiency improvement effect

CN101645811AInactive Publication Date: 2010-02-10ZTE CORP
0 Cites 7 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2010-02-10
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 provides a device and a method for automatically testing an embedded system, wherein, the device comprises a test control module, an adaptive module and a communication module; the testcontrol module is used for obtaining current test cases and transmitting the test cases to the adaptive module before starting the test; the adaptive module is used for carrying out message recombination on the current test cases in terms of formats corresponding to the equipment category according to the category of equipment currently connected in the embedded system and transmitting the recombined message to the communication module; the communication module is used for transceiving information with the embedded system. The invention can carry out flexible simulation tests and current network tests according to actual environment conditions and is no longer limited by different interfaces of specific equipment, thus greatly improving efficiency of integrated tests.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to integrated testing technology, in particular to a device and method for automatically testing an embedded system. Background technique

[0002] Integration testing plays an important role in the embedded software development process, especially with the continuous expansion of software scale and the increase of modules and functions, the role of integration testing becomes more prominent. But for a huge embedded system, the number of test cases is also tens of thousands, and it is not a simple matter to execute the test cases completely.

[0003] Under such circumstances, a tool that can realize automated and batch testing is particularly important. Developers or integration testers only need to spend very little time to sort out use cases, and add new use cases in time in their daily work. When it comes time to test, they only need to import the standardized test case documents and let the tool automatically Test works. In ...

Examples

Embodiment Construction

[0023] Below, refer to the attached Figure 1~4 The device and method for automatically testing embedded systems of the present invention are described in detail.

[0024] Such as figure 1 As shown, it is a schematic diagram of a device for automatically testing an embedded system of the present invention. The testing device includes: a use case management module, a test control module, an adaptation module and a communication module.

[0025] Wherein, the use case management module is used to manage the test cases, so as to provide them to the test control module, and switch the test cases when a test case test is completed during multi-document testing. In actual implementation, the test case can be obtained from the imported test document.

[0026] The test control module is used to control the start, suspension and termination of the test. When the test starts, the current test case is obtained from the message queue of the use case management module and sent to the adap...