CN105653445B - A kind of implementation method for meeting DO 178C test results - Google Patents

A kind of implementation method for meeting DO 178C test results Download PDF

Info

Publication number
CN105653445B
CN105653445B CN201510988295.2A CN201510988295A CN105653445B CN 105653445 B CN105653445 B CN 105653445B CN 201510988295 A CN201510988295 A CN 201510988295A CN 105653445 B CN105653445 B CN 105653445B
Authority
CN
China
Prior art keywords
test
result
results
test result
meeting
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.)
Active
Application number
CN201510988295.2A
Other languages
Chinese (zh)
Other versions
CN105653445A (en
Inventor
宫伟祥
冯晓昱
施俞行
陈春晓
冯义飞
童志强
崔诗娴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CETC Avionics Co Ltd
Original Assignee
CETC Avionics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by CETC Avionics Co Ltd filed Critical CETC Avionics Co Ltd
Priority to CN201510988295.2A priority Critical patent/CN105653445B/en
Publication of CN105653445A publication Critical patent/CN105653445A/en
Application granted granted Critical
Publication of CN105653445B publication Critical patent/CN105653445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

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)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of implementation method for meeting DO 178C test results, comprise the following steps:Step 1: the software version that input is to be tested, and corresponding test procedure and expected results are imported into DO 178C test result management systems;Step 2: generating test result according to test procedure, and generate test record file;Step 3: the test result described in test record file is contrasted with expected results, if test result is consistent with expected results, discriminating test passes through;If test result is inconsistent with expected results, whether difference is in the redundancy range of setting caused by analysis test result, if in redundancy range, discriminating test is by the way that otherwise discriminating test does not pass through;Step 4: generation test report, wherein, the defects of tested software is illustrated in test report and the problem of of presence.It can guarantee that test result is rationally judged during present invention application, and can guarantee that the difference of actual result and expected results is explained.

Description

A kind of implementation method for meeting DO-178C test results
Technical field
The present invention relates to software testing technology, specifically a kind of implementation method for meeting DO-178C test results.
Background technology
Evaluation and analysis test case, code and result are required in DO-178C standards, wherein, for testing for test result The target of card is to ensure that test result is correct, and ensures that the difference of actual result and expected results is explained, the target Mean that test result need to be analyzed, the correctness of validation test result.Currently for software test generally using by hand Test or by the way of automatic test, both test modes can not complete result judgement, it is clear that both modes Using when can not meet the needs of DO-178C.
The content of the invention
It is an object of the invention to overcome the deficiencies of the prior art and provide a kind of reality for meeting DO-178C test results Existing method, it can guarantee that test result is rationally judged when applying, and can guarantee that the difference of actual result and expected results obtains To explanation.
The present invention, which solves the above problems, to be achieved through the following technical solutions:A kind of DO-178C test results of meeting Implementation method, comprise the following steps:
Step 1: the software version that input is to be tested, and corresponding test procedure and expected results are imported into DO-178C In test result management system;
Step 2: generating test result according to test procedure, and generate test record file;
Step 3: the test result described in test record file is contrasted with expected results, if test result with Expected results are consistent, then discriminating test passes through;If test result is inconsistent with expected results, it is poor caused by test result to analyze It is different whether in the redundancy range of setting, if in redundancy range, discriminating test is by the way that otherwise discriminating test does not pass through;
Step 4: generation test report, wherein, the defects of tested software is illustrated in test report and the problem of of presence.
Further, need to be designed test procedure and evaluate before test procedure is imported in the step 1.
Further, the DO-178C test results management system is based on WEB B/S architecture designs.In this way, the present invention The deployment of DO-178C test results management system is simple, and less for client requirements by B/S architecture designs, tester can Directly to pass through browser access system.
The present invention is in the specific implementation, it is contemplated that and the arbitrary format that result can use system to support is recorded, for the ease of The management and preparation of expected results, further, the expected results use the shape of text data, graph image or pdf documents Formula is recorded.
Further, the quantity of the test procedure imported in the step 1 is multiple, according to test procedure in step 2 ID generates test result ID, in the step 4 after all test procedures all complete result judgement, just generation test report. For the present invention when importing multiple test procedures, after all test results in system all complete judgement, system just generates test Report.System counts the quantity of unsanctioned test result when generating test report, and enumerates system and do not lead to for each Cross the problem of test procedure corresponding to discriminating test result generates list and software defect reason.
Further, the step 3 in the specific implementation by DO-178C test results management system by test result and The expected results of upload are shown by the form of image, it is allowed to which user is on expected results and the display interface of test result It is identified, and using the content of mark as the basis judged.
Further, regression test step is also included after the step 4, DO-178C is surveyed in the regression test step Test result management system automatic detection goes out the test procedure of failure, and allows user to add and perform and advised by the test of checking Journey.Due to unsanctioned test result in test be present, the test procedure of failure is corresponding with, system makees the test procedure of failure For the test procedure of regression test.Meanwhile system allows user to select the test procedure that those have been verified by as recurrence The test procedure of test, this will examine whether the software after repairing can impact to those previous correct test procedures.
In summary, the invention has the advantages that:(1)By performing test procedure during present invention application, record Test result and complete to analyze with importing, finally realize and meet DO-178C this target.In this way, it can guarantee that test result Rationally judged, and can guarantee that the difference of actual result and expected results is explained.
(2)Demand exploitation test procedure can be based on during present invention application, automatically generates the tracing matrix for meeting DO-178C, In this way, reducing the risk that enterprise meets airworthiness requirement, the economic benefit of enterprise is improved, and can save exploitation during present invention application and survey Try the time of code.
Brief description of the drawings
Fig. 1 is the structural representation of a specific embodiment of the invention.
Embodiment
With reference to embodiment and accompanying drawing, detailed description further, but embodiments of the present invention are done to the present invention Not limited to this.
Embodiment:
As shown in figure 1, a kind of implementation method for meeting DO-178C test results, comprises the following steps:Step 1: input Software version to be tested, and corresponding test procedure and expected results are imported into DO-178C test result management systems; Step 2: generating test result according to test procedure, and generate test record file;Step 3: it will remember in test record file The test result of load is contrasted with expected results, if test result is consistent with expected results, discriminating test passes through;If test As a result inconsistent with expected results, then whether difference is in the redundancy range of setting caused by analysis test result, if in redundancy In the range of, discriminating test is by the way that otherwise discriminating test does not pass through;Step 4: generation test report, wherein, said in test report The defects of bright tested software and the problem of exist.The software version typing information to be tested of the present embodiment input includes software version Number, software version number is represented using forms such as 1.0.0.001.The test procedure of the present embodiment is developed based on test case, For software test step to be described in detail, wherein, test case is developed based on software requirement.
The present embodiment in the specific implementation, needs to be designed test procedure and comment in step 1 before test procedure is imported Examine, the quantity of the test procedure imported in step 1 is multiple, and test result ID, step are generated according to test procedure ID in step 2 In rapid four after all test procedures all complete result judgement, test report is just generated.Test record file in the present embodiment In addition to actual test result is recorded, it can also record test execution personnel, testing time, witness the information such as people.
In the specific implementation, the DO-178C test results management system applied is set the present embodiment based on WEB B/S frameworks Meter, DO-178C test results management system are equipped with introducting interface, it is possessed the import feature of test procedure, test procedure is led It is managed after entering by DO-178C test result management systems.The present embodiment in the specific implementation, DO-178C test result pipes Reason system is also equipped with test result import feature, should in the present embodiment for the artificial test result for participating in obtaining of some needs Used time imports above-mentioned data into DO-178C test result management systems, so that the later stage carries out test result judgement.
The DO-178C test result management systems of the present embodiment are further equipped with test result decision-making function, the present embodiment Step 3 can both be implemented when implementing based on the test result decision-making function of system, also can be by the way of artificially judging Realize.Judge conclusion when when by the way of artificially judging, DO-178C test results management system provides(By or do not pass through) Selected for tester, tester when judging, by showing the contrast interfaces of expected results and test result surveyed by system Whether examination personnel show consistent by observing and contrasting expected results and test result, and this includes, and whether numerical value the same, interface shows Whether equally etc. show element, if consistent or deviation, in allowed band, tester selects judgement to pass through, if it is inconsistent or Person's deviation exceedes desired value, then tester selects inconsistent rectangle with mouse at expected results interface and test result interface Region, the position of the rectangular area will be stored in background data base, so as to subsequently show again.Meanwhile tester Need to fill in judgement not by the reason for, the reason is used as software defect reason, and system can be that the test procedure of failure be generated and asked Topic is single.Can show in a straightforward manner in this way test not by the reason for, can be lifted judgement reliability.
The present embodiment will be automatically set as guard mode when during test execution, not allow after expected results importing User modifies.The expected results of the present embodiment are recorded in the form of text data, graph image or pdf documents. The step of the present embodiment three, is in the specific implementation tied test result and the expected of upload by DO-178C test results management system Fruit is shown by the form of image, it is allowed to user is identified on expected results and the display interface of test result, and Using the content of mark as the basis judged.The present embodiment is additionally included in the regression test step carried out after step 4, wherein, DO-178C test results management system automatic detection goes out the test procedure of failure in regression test step, and allows user to add Pass through the test procedure of checking with performing.
Above content is to combine the further description that specific preferred embodiment is made to the present invention, it is impossible to assert this The embodiment of invention is confined to these explanations.For general technical staff of the technical field of the invention, The other embodiment drawn in the case where not departing from technical scheme, should be included within the scope of the present invention.

Claims (7)

1. a kind of implementation method for meeting DO-178C test results, it is characterised in that comprise the following steps:
Step 1: the software version that input is to be tested, and corresponding test procedure and expected results are imported into DO-178C tests In results management system;
Step 2: generating test result according to test procedure, and generate test record file;
Step 3: DO-178C test results management system enters the test result described in test record file with expected results Row contrast, if test result is consistent with expected results, discriminating test passes through;If test result is inconsistent with expected results, Whether difference is in the redundancy range of setting caused by analysis test result, if in redundancy range, discriminating test is by otherwise Discriminating test does not pass through;
Step 4: generation test report, wherein, the defects of tested software is illustrated in test report and the problem of of presence.
A kind of 2. implementation method for meeting DO-178C test results according to claim 1, it is characterised in that the step Need to be designed test procedure and evaluate before test procedure is imported in rapid one.
A kind of 3. implementation method for meeting DO-178C test results according to claim 1, it is characterised in that the DO- 178C test results management system is based on WEB B/S architecture designs.
4. a kind of implementation method for meeting DO-178C test results according to claim 1, it is characterised in that described pre- Phase result is recorded in the form of text data, graph image or pdf documents.
A kind of 5. implementation method for meeting DO-178C test results according to claim 1, it is characterised in that the step The quantity of the test procedure imported in rapid one is multiple, and test result ID, the step are generated according to test procedure ID in step 2 In rapid four after all test procedures all complete result judgement, test report is just generated.
A kind of 6. implementation method for meeting DO-178C test results according to claim 1, it is characterised in that the step Test result and the expected results of upload are passed through image by rapid three by DO-178C test results management system in the specific implementation Form is shown, it is allowed to user is identified on expected results and the display interface of test result, and by the content of mark Basis as judgement.
7. a kind of implementation method for meeting DO-178C test results according to any one in claim 1~6, it is special Sign is, also includes regression test step after the step 4, DO-178C test result management in the regression test step System automatic detection goes out the test procedure of failure, and allows user to add and perform by the test procedure of checking.
CN201510988295.2A 2015-12-25 2015-12-25 A kind of implementation method for meeting DO 178C test results Active CN105653445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510988295.2A CN105653445B (en) 2015-12-25 2015-12-25 A kind of implementation method for meeting DO 178C test results

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510988295.2A CN105653445B (en) 2015-12-25 2015-12-25 A kind of implementation method for meeting DO 178C test results

Publications (2)

Publication Number Publication Date
CN105653445A CN105653445A (en) 2016-06-08
CN105653445B true CN105653445B (en) 2018-01-16

Family

ID=56476782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510988295.2A Active CN105653445B (en) 2015-12-25 2015-12-25 A kind of implementation method for meeting DO 178C test results

Country Status (1)

Country Link
CN (1) CN105653445B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10120785B2 (en) 2016-10-21 2018-11-06 Rosemount Aerospace Inc. Automatic generation of data coupling and control coupling test conditions
CN109634846B (en) * 2018-11-16 2021-10-19 武汉达梦数据库股份有限公司 ETL software testing method and device
CN114255155B (en) * 2022-02-24 2022-07-26 荣耀终端有限公司 Graphics processor testing method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455971A (en) * 2010-10-28 2012-05-16 无锡江南计算技术研究所 Application-level random instruction testing method, system and device
CN102662846A (en) * 2012-04-24 2012-09-12 广东欧珀移动通信有限公司 Testing method combining automatic tool and testing case
CN104360940A (en) * 2014-10-31 2015-02-18 北京交控科技有限公司 DSU (Data Service Unit) test method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622294B (en) * 2011-01-28 2014-12-10 国际商业机器公司 Method and method for generating test cases for different test types

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455971A (en) * 2010-10-28 2012-05-16 无锡江南计算技术研究所 Application-level random instruction testing method, system and device
CN102662846A (en) * 2012-04-24 2012-09-12 广东欧珀移动通信有限公司 Testing method combining automatic tool and testing case
CN104360940A (en) * 2014-10-31 2015-02-18 北京交控科技有限公司 DSU (Data Service Unit) test method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DO-178/C目标分析及阶段介入评审过程研究;邢亮,牟明;《航空计算技术》;20150930;第45卷(第5期);第97-101页 *

Also Published As

Publication number Publication date
CN105653445A (en) 2016-06-08

Similar Documents

Publication Publication Date Title
Weller Lessons from three years of inspection data (software development)
CN110991486B (en) Method and device for controlling labeling quality of multi-person collaborative image
US9164878B2 (en) Evaluating coverage of a software test
CN103377120B (en) A kind of applied program testing method and device
CN110990297B (en) Test method and device of interlocking system and electronic equipment
CN108446221A (en) System detection method, device, computer equipment and storage medium
CN108897687A (en) A kind of API automated testing method and system based on data-driven
CN109002391A (en) The method of automatic detection embedded software interface testing data
CN107544463A (en) Automatic test method and test device for diagnosis function of vehicle controller
CN105653445B (en) A kind of implementation method for meeting DO 178C test results
CN111752833B (en) Software quality system approval method, device, server and storage medium
Kläs et al. A large-scale technology evaluation study: effects of model-based analysis and testing
CN107357734A (en) A kind of unit test method and device
Nietzio et al. The unified Web evaluation methodology (UWEM) 1.2 for WCAG 1.0
CN104361012B (en) A kind of method of testing and device of city track traffic engineering track data
CN108287787A (en) A kind of object change impact analysis method and system based on tense
CN107169294A (en) The secondary judgement processing method of Excel forms in a kind of ATS for Environmental Test
US20140281719A1 (en) Explaining excluding a test from a test suite
CN109375606A (en) A kind of algorithm library test method
Barosani et al. A review on 8D problem solving process
Valentim et al. Evaluating an Inspection Technique for Use Case Specifications-Quantitative and Qualitative Analysis
Velleman et al. A unified Web evaluation methodology using WCAG
Pivetta et al. Automated accessibility evaluation software for authenticated environments: A heuristic usability evaluation
CN110197089A (en) Reader detection method, equipment and computer readable storage medium
CN101894217A (en) Standard consistency testing system and testing method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant