CN107678959A - A kind of integration test method of control law software - Google Patents
A kind of integration test method of control law software Download PDFInfo
- Publication number
- CN107678959A CN107678959A CN201710876786.7A CN201710876786A CN107678959A CN 107678959 A CN107678959 A CN 107678959A CN 201710876786 A CN201710876786 A CN 201710876786A CN 107678959 A CN107678959 A CN 107678959A
- Authority
- CN
- China
- Prior art keywords
- module
- software
- integration
- test
- testing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
- G06F11/366—Software debugging using diagnostics
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of integration test method of control law software, belong to Airborne Software technical field of measurement and test.Including:Step 1: being divided to the software unit of unit testing, the call relation and hierarchical structure between module are cleared, and program structure and interface relationship are established using module call relation;Step 2: bottom-up analysis method is used to the program structure built up, it is determined that treating integrated functional module;Step 3: determining to treat the module of integration testing, and disposably it is integrated using the integration mode of huge explosion, finally give the functions of modules of design requirement;Step 4: using grey box testing technology, based on Black-box Testing technology, supplemented by white-box testing technology, docking port and internal structure are analyzed and pay close attention to correctness of the output for input;Step 5: design test case, and tested module generation real output value is analysed and compared;Testing efficiency is high to control law software module integration realization by the present invention, fault location is accurate.
Description
Technical field
The invention belongs to Airborne Software technical field of measurement and test, and in particular to a kind of integration test method of control law software.
Background technology
Integration testing is carried out on the basis of unit testing, and all modules are required into (such as structure according to Outline Design
Figure) subsystem or system are assembled into, carry out integration testing.Object used in integration testing is to have already passed through unit testing guarantor
The unit demonstrate,proved.Software System Integrated Testing flow chart is as shown in Figure 1.
The object of integration testing is the interface of intermodule, its purpose is to find out on module interface, including integral system
The problem of in structure, its foundation tested come from the High-rise Building Design (frame design) of system.
At present, conventional software module assembling mode has bottom-up integrated, top-down integrated, and huge explosion integrates grade side
Formula.The method commonly used such as more than use carries out integration testing to control law software, then advantage and disadvantage are as follows:
Such as to control law software using it is top-down it is integrated by the way of, it is excellent with depth according to the control hierarchy structure of software
Elder generation or the strategy of breadth-first, progressively integrate modules so that called ASM may not be anti-
Truth is reflected, test is possible to insufficient;
Such as to control law software using it is bottom-up it is integrated by the way of, tester being capable of preferably locked software failure institute
Position, testing example design is relatively easy, but for more control law module, the method undoubtedly adds survey
The burden of examination personnel;
Tested software is disposably such as integrated into by all modules by the way of huge explosion is integrated to control law software
In so that tester have ignored the dependence of intermodule, and add the difficulty of tester's location of mistake.
The content of the invention
The purpose of the present invention:In order to solve the above problems, the present invention proposes a kind of integration testing side of control law software
Method, for the multimode framework of flight control system control law software, the advantage and disadvantage of conventional Integrated Strategy can be analyzed, are relatively easily sent out
Influence after existing module is integrated to function, and caused failure is positioned.
Technical scheme:A kind of integration test method of control law software, comprises the following steps:
Step 1: being divided to the software unit of unit testing, the call relation and hierarchical structure between module are cleared,
And establish program structure and interface relationship using module call relation;
Step 2: bottom-up analysis method is used to the program structure built up, it is determined that treating integrated functional module;
Step 3: determining to treat the module of integration testing, and using the integration mode of huge explosion, disposably it is collected
Into finally giving the functions of modules of design requirement;
Step 4: using grey box testing technology, based on Black-box Testing technology, supplemented by white-box testing technology, docking port and
Internal structure is analyzed and pays close attention to correctness of the output for input;
Step 5: design test case, and tested module generation real output value is analysed and compared;
Software test personnel are according to grey box testing Technology design test case, and Software Testing Tool is according to the defeated of test case
Enter, run tested module, generate real output value, software test personnel pass through analysis and the inconsistent test knot of anticipated output
Fruit, carry out fault location.
Preferably, in the step 1, the module call relation is established described in design using graphical representation method
Program structure and interface relationship.
Preferably, in the step 5, software test personnel according to grey box testing technology binding test use-case, by making
With Software Testing Tool, the drive module for treating integration testing module is called in generation.
Preferably, in the step 4, the grey box testing technology combination white-box testing can judge the interior of tested module
Portion's running status, the Black-box Testing can be tested from the angle of user.
The beneficial effect of technical solution of the present invention:A kind of integration test method of control law software of the present invention, passes through module
Bottom-up parse and huge explosion integration mode, with reference to the advantages of grey box testing technology, to the control law of multimode feature
Software module integration realization testing efficiency is high, fault location is accurate.
Brief description of the drawings
Fig. 1 is a kind of testing process process of a preferred embodiment of the integration test method of control law software of the present invention
Figure;
Fig. 2 is a kind of Module Division example of a preferred embodiment of the integration test method of control law software of the present invention
Figure;
Fig. 3 shows for a kind of integration test method of a preferred embodiment of the integration test method of control law software of the present invention
Illustration;
Fig. 4 is a kind of software testing flow of a preferred embodiment of the integration test method of control law software of the present invention
Figure.
Embodiment
To make the purpose, technical scheme and advantage that the present invention is implemented clearer, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is further described in more detail.In the accompanying drawings, identical from beginning to end or class
As label represent same or similar element or the element with same or like function.Described embodiment is the present invention
Part of the embodiment, rather than whole embodiments.The embodiments described below with reference to the accompanying drawings are exemplary, it is intended to uses
It is of the invention in explaining, and be not considered as limiting the invention.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.Under
Embodiments of the invention are described in detail with reference to accompanying drawing for face.
The integration test method of control law software of the present invention, comprises the following steps:
Step 1):
As shown in Figure 2:Fig. 2 is the exemplary plot of certain flight control system control law software module division, to having passed through unit testing
Software unit divided, clear the call relation and hierarchical structure between module and module, and utilize module call relation
Establish program structure and interface relationship.
In the present embodiment, using the graphical representation method of module call relation come establish design described in program structure with
And interface relationship.
Step 2):
Bottom-up analysis method is used to the program structure diagram built, it is determined that treating integrated functional module, protected
Card treats the independence and lower coupling of integration module function, reduces reciprocal influence power between integration module, avoids software error
Extensibility.
Step 3):
As shown in Figure 3:Fig. 3 is certain flight control system control law software module integration test method exemplary plot, true by step 2
Surely the module of integration testing is treated, and using the integration mode of huge explosion, disposably it is integrated, finally gives design requirement
Functions of modules;Due to module division more than based on the division of function, therefore pass through the interface relationship between analysis module, failure hold
Easily positioning.
Step 4):
Using grey box testing technology, based on Black-box Testing technology, supplemented by white-box testing technology, docking port and internal structure
Analyzed, concern exports the correctness for input, after design test case verifies that each subfunction is combined, if
The various functions of Software Module Design requirement are reached;Grey box testing technology, internal operation shape can be judged by combining white-box testing
The characteristics of state and Black-box Testing from the angle of user pinpoint the problems the characteristics of, it is easier to find the mistake of integration module, and fixed
Position is easily, accurately;
Step 5):
Software test personnel are according to the grey box testing Technology design test case in step 4, by using software test work
The drive module for treating integration testing module is called in tool, generation.Software Testing Tool runs tested mould according to the input of test case
Block (integration module), generate real output value.
Software testing flow figure is as shown in Figure 4:Software test personnel pass through analysis and the inconsistent test knot of anticipated output
Fruit, fault location is carried out, find out the mistake in software, and analyze and the accumulation of error of individual module is got up, if it can be exaggerated,
Have influence on other software modules and function.
The integration mode of bottom-up parse and huge explosion that the present invention passes through module, with reference to the excellent of grey box testing technology
Point, influence that can be after relatively easily discovery module is integrated to function, and caused failure is positioned;And with following
Advantage:
1), the influence that the present invention can be after relatively easily discovery module be integrated to function, and caused failure is determined
Position;
2), the present invention uses grey box testing technology, and combines integration testing strategy and Software Testing Tool, analysis input pair
The influence of output;
3), The present invention reduces the test of software test personnel's integrated software module burden, and Software System Integrated Testing is increased
Efficiency;
4), integration test method of the invention is versatile, can be applied to the test work of other multimode software architectures
In work;
5), present invention ensures that the independence and lower coupling of Integrated Simulation functions of modules;
6), the present invention improves the q&r of software.
It is last it is to be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations.To the greatest extent
The present invention is described in detail with reference to the foregoing embodiments for pipe, it will be understood by those within the art that:It is still
Technical scheme described in foregoing embodiments can be modified, or which part technical characteristic is equally replaced
Change;And these modifications or replacement, the essence of appropriate technical solution is departed from the essence of various embodiments of the present invention technical scheme
God and scope.
Claims (4)
1. a kind of integration test method of control law software, it is characterised in that comprise the following steps:
Step 1: being divided to the software unit of unit testing, the call relation and hierarchical structure between module, and profit are cleared
Program structure and interface relationship are established with module call relation;
Step 2: bottom-up analysis method is used to the program structure built up, it is determined that treating integrated functional module;
Step 3: determining to treat the module of integration testing, and using the integration mode of huge explosion, disposably it is integrated, most
The functions of modules of design requirement is obtained eventually;
Step 4: using grey box testing technology, based on Black-box Testing technology, supplemented by white-box testing technology, docking port and inside
Structure is analyzed and pays close attention to correctness of the output for input;
Step 5: design test case, and tested module generation real output value is analysed and compared;
Software test personnel according to grey box testing Technology design test case, Software Testing Tool according to the input of test case,
Tested module is run, generates real output value, software test personnel are entered by analysis and the inconsistent test result of anticipated output
Row fault location.
2. the integration test method of control law software according to claim 1, it is characterised in that:In the step 1, institute
Module call relation is stated using graphical representation method to establish the program structure and interface relationship described in design.
3. the integration test method of control law software according to claim 1, it is characterised in that:It is soft in the step 5
Part tester according to grey box testing technology binding test use-case, by using Software Testing Tool, generation, which is called, to be waited to integrate
The drive module of test module.
4. the integration test method of control law software according to claim 1, it is characterised in that:In the step 4, institute
The internal operation state of tested module can be judged by stating grey box testing technology combination white-box testing, the Black-box Testing can stand with
The angle at family is tested.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710876786.7A CN107678959A (en) | 2017-09-25 | 2017-09-25 | A kind of integration test method of control law software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710876786.7A CN107678959A (en) | 2017-09-25 | 2017-09-25 | A kind of integration test method of control law software |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107678959A true CN107678959A (en) | 2018-02-09 |
Family
ID=61137924
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710876786.7A Pending CN107678959A (en) | 2017-09-25 | 2017-09-25 | A kind of integration test method of control law software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107678959A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109815142A (en) * | 2019-01-09 | 2019-05-28 | 珠海天燕科技有限公司 | A kind of product test method and apparatus |
CN112214204A (en) * | 2020-10-10 | 2021-01-12 | 江西洪都航空工业集团有限责任公司 | Integration method of missile-borne control and navigation software |
CN113760771A (en) * | 2021-09-14 | 2021-12-07 | 中国农业银行股份有限公司 | Execution method and device of integrated test case |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101847123A (en) * | 2010-05-26 | 2010-09-29 | 北京航空航天大学 | Construction method of airborne computer software testing general system |
CN106649127A (en) * | 2016-12-29 | 2017-05-10 | 广东浪潮大数据研究有限公司 | Automatic testing method and model suitable for software agile development |
CN106776289A (en) * | 2016-11-24 | 2017-05-31 | 山东交通学院 | Multitask self adaptation cloud method of testing |
US20170153969A1 (en) * | 2015-12-01 | 2017-06-01 | Tata Consultancy Services Limited | System and method for executing integration tests in multiuser environment |
-
2017
- 2017-09-25 CN CN201710876786.7A patent/CN107678959A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101847123A (en) * | 2010-05-26 | 2010-09-29 | 北京航空航天大学 | Construction method of airborne computer software testing general system |
US20170153969A1 (en) * | 2015-12-01 | 2017-06-01 | Tata Consultancy Services Limited | System and method for executing integration tests in multiuser environment |
CN106776289A (en) * | 2016-11-24 | 2017-05-31 | 山东交通学院 | Multitask self adaptation cloud method of testing |
CN106649127A (en) * | 2016-12-29 | 2017-05-10 | 广东浪潮大数据研究有限公司 | Automatic testing method and model suitable for software agile development |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109815142A (en) * | 2019-01-09 | 2019-05-28 | 珠海天燕科技有限公司 | A kind of product test method and apparatus |
CN109815142B (en) * | 2019-01-09 | 2022-04-15 | 珠海天燕科技有限公司 | Product testing method and device |
CN112214204A (en) * | 2020-10-10 | 2021-01-12 | 江西洪都航空工业集团有限责任公司 | Integration method of missile-borne control and navigation software |
CN113760771A (en) * | 2021-09-14 | 2021-12-07 | 中国农业银行股份有限公司 | Execution method and device of integrated test case |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10288043B2 (en) | Wind turbine condition monitoring method and system | |
CN107678959A (en) | A kind of integration test method of control law software | |
CN103147972B (en) | A kind of reciprocal compressor method for diagnosing faults based on multi-sensor information fusion | |
CN103064008B (en) | A kind of Nolinear analog circuit soft fault diagnostic method based on Hilbert-Huang transform | |
CN103383312B (en) | Engine test online data method for supervising | |
CN102797671A (en) | Fault detection method and device of reciprocating compressor | |
CN105137328B (en) | Analogous Integrated Electronic Circuits early stage soft fault diagnosis method and system based on HMM | |
CN104165925B (en) | The centrifugal compressor half-opened impeller crack fault detection method of accidental resonance | |
CN106444701A (en) | Finite time robust fault diagnosis design method for leader-follower multi-agent system | |
CN101887407B (en) | Hilbert-Huang transform-based equipment or system built-in test signal characteristic extraction method | |
CN107276072A (en) | A kind of method of utilization steady state information qualitative assessment power system transient stability margin | |
CN103558513B (en) | A kind of aircraft cable network Fault Locating Method based on Graphic Pattern Matching algorithm | |
CN105160359A (en) | Complex structure damage cooperative identification method based on ultrasonic guided-wave | |
CN103439594A (en) | System and method for diagnosing faults of SF6 electric device | |
CN104048677A (en) | Gyroscope fault diagnosis method based on K-S (Kolmogorov-Smirnov) distribution check and HHT (Hilbert-Huang Transform) | |
CN106067032A (en) | Evaluation methodology for the sensor system of selection of data exception monitoring | |
CN103969524B (en) | Intelligent scanning merging unit of electronic transformer characteristic test method based on feedback | |
CN104679945B (en) | System comprehensive estimation method based on colored Petri network | |
CN111724290A (en) | Environment-friendly equipment identification method and system based on deep hierarchical fuzzy algorithm | |
CN108377209A (en) | Equipment fault detecting system based on SCADA and detection method | |
CN103176088A (en) | Method for determining weak electromagnetic coupling paths between multi-frequency interference pairs | |
CN104713730A (en) | Method for determining degeneration rate of aircraft engine according to vibration signal | |
CN108760037A (en) | A kind of blade structure for wind driven generator damage detecting method based on spectrum analysis | |
CN102567162B (en) | A kind of physical layer system demo plant based on DSP core and method | |
CN202322073U (en) | Hydraulic failure inquiry system of ocean platform crane |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180209 |
|
RJ01 | Rejection of invention patent application after publication |