Unit test script writing method and system for set top box

A unit test and set-top box technology, applied in the set-top box unit test script writing method and system field, can solve the problems of lower test accuracy and efficiency, large differences in unit test scripts, inconvenient reading and rectification, etc., to improve accuracy and test Efficiency, improved memory utilization, ease of reading and rectification effects
CN106325888AInactive Publication Date: 2017-01-11SHENZHEN JIUZHOU ELECTRIC

Patent Information

Authority / Receiving Office
CN Β· China
Current Assignee / Owner
SHENZHEN JIUZHOU ELECTRIC
Publication Date
2017-01-11
Estimated Expiration
Not applicable Β· inactive patent

Smart Images

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

Abstract

The invention relates to a unit test script writing method and system for a set top box. The method includes the steps that templated design of a unit test script is carried out, global interface parameters are defined, and a test result is returned; test programs are written in advance, common interface test instructions are defined to call common interfaces and the test programs for testing, and a test result is generated and fed back to the global interface parameters; a common printing interface is set to print the test result. Thus, it is only needed to select needed instructions from the defined common interface test instructions for any tester, and differences caused by the difference of testers are avoided; the unit test script is small in length and simple in logic and can be conveniently read or modified by other testers, and thus the test accuracy and the test efficiency are greatly improved; by loading the unit test script in the set top box, the memory utilization rate of the set top box is greatly increased.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of digital television equipment testing, in particular to a method and system for writing set-top box unit testing scripts. Background technique

[0002] The software module of the set-top box can be divided into a driver module, an intermediate interpretation module and an application module. Among them, the driver module covers hardware abstraction layer (HAL), board support package (BPS), operating system (OSAL) and drivers, etc.

[0003] Now the set-top box needs to write programs during the development process. Due to the differences in the established functions and interfaces of the main chip, it is necessary to change the interface (usually the upper layer interface) when writing the program. Due to the software development kit provided by the main chip ( SDK, generated by BPS) will lead to differences in the bottom layer interface of the set-top box OSAL and HAL layer, which will lead to the disadvantage of p...

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