Unlock instant, AI-driven research and patent intelligence for your innovation.

C code model based component interface packaging test method

An assembly test and code technology, applied in the field of component interface assembly test based on C code model, can solve problems such as increasing user burden and increasing tester workload, and achieves the effect of facilitating manual debugging, reducing workload, and reducing complexity

Inactive Publication Date: 2016-05-25
苏州同元软控信息技术有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Many testing tools require users to provide a lot of auxiliary information, and even strictly require testers to control the testing process, which increases the workload of testers. Test tools often output a lot of information, and some of them are irrelevant, which also increases the burden on users.

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • C code model based component interface packaging test method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and the embodiments.

[0025] Reference figure 1 As shown, a component interface assembly test method based on C code model includes the following steps:

[0026] Step one, source code scanning, scan the source code of several functions that need to be assembled to determine whether these functions appear to call external component functions, if external component functions are called, then all the external functions called in the code are done Mark on

[0027] Step two, configure the test case, assembling test, configure the test case for the calling sequence of multiple interfaces, including the following steps:

[0028] 1) Specify the input value. First specify the input value for the input of the first function of the assembly test. For the following functions, if one of the input parameters is not from the output parameter of the previous function in this assembly s...

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

PUM

No PUM Login to View More

Abstract

The invention discloses a C code model based component interface packaging test method. The method comprises the following steps: scanning source codes: scanning the source codes of a few tested functions required to be assembled; configuring test cases: performing test case configuration on a call sequence of a plurality of interfaces by an assembly test probe; generating a test project; compiling the codes; running the codes; and checking a result. According to the C code model based component interface packaging test method, interfaces required to be piled in component codes are identified and pile functions are automatically replaced when test codes are generated, so that test case codes can be automatically generated under the condition of not changing tested codes, and the manual debug can be carried out conveniently; and a test case configuration interface and accurate test output information are provided, so that the complexity of test work is lowered, the test workload is reduced, and the efficiency is improved.

Description

Technical field [0001] The invention relates to the technical field of computer software, in particular to a testing tool software, and in particular to a component interface assembly testing method based on a C code model. Background technique [0002] With the rapid development of computer technology and more and more extensive and in-depth application in all aspects of national economy and social life, as the scale and responsibility of software systems increase day by day, the production costs of software and the defects and faults in the software are caused Various types of losses have also increased greatly, and even bring disaster consequences. Software quality issues have become the focus of attention of all people who use software and develop software. Because software is the embodiment of the human brain's high intelligence and the particularity of the product, unlike other fields of technology and production, software is inherently defective. To prevent and reduce th...

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 蒋洁张和华潘加俊赵祖乾南野野董蔷薇
Owner 苏州同元软控信息技术有限公司