Font Size: a A A

The Design And Implementation Of BMC Regression Test Selection Based On Code Coverage

Posted on:2014-01-11Degree:MasterType:Thesis
Country:ChinaCandidate:W Y GuFull Text:PDF
GTID:2248330395995355Subject:Software engineering
Abstract/Summary:PDF Full Text Request
BMC firmware is an embedded Linux OS run on ARM architecture.To be confident to release a BMC revision, testers have to execute a universal test suite during regression, because it’s hard to demarcate which part of BMC system is adversely affected by modified codes. This regression strategy costs a lot of time and effort.Referred to regression test selection and reduction, this dissertation summarizes thoughts and practices these years from IEEE papers, and finally generates the test selection method based on code coverage information. With the intention of cover BMC code, I also make a deep research on code coverage.This method first delivers code coverage on BMC. Then I perform certain test cases and collect their coverage information. Here I call this mapping from test case to code a forward index. After execution of the universal test suite, I achieve a system to gather all these coverage measurements and transfer all the forward indexes to the mapping from code to test case, named reverse index. Given line number of changed code in regression revision, regression suite can be accurately located.In this dissertation, I prove that under strictly controlled test conditions, this method can select all test cases from original set that may expose newly introduced software faults, and, this method can exclude all test cases that are impossible to introduce new software faults. I implement a system to manage the code coverage measurements and select regression test cases. One forth of the universal test cases set are selected as a regression test plan, which is an obvious reduction in deed. Besides, certain approaches are needed to apply code coverage instrument on BMC cross compilation which is performed in Linux x86. This dissertation provides a detail implementation.
Keywords/Search Tags:BMC, regression test, test selection, code coverage, cross compile
PDF Full Text Request
Related items