Font Size: a A A

Design And Implementation Of Automatic Testing Tool For SmartSAR Core

Posted on:2013-01-12Degree:MasterType:Thesis
Country:ChinaCandidate:L J YaoFull Text:PDF
GTID:2218330371958924Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Modern automotives employ varied Electronic Control Units (ECUs).SmartSAR Core is Automotive Electronic Basic Software based on standards of AUTOSAR. It has the following features:being standardized, portability and code reusability.Automotive electronics software becomes more and more complex. Accordingly, software testing requirements increase greatly. Compared with manual testing, automatic testing can improve productivity remarkably and assures the stability of test results when it is employed in specific development stages. Based on researches of automatic testing methods and automatic testing frameworks, this paper designed and implemented an automatic testing tool for SmartSAR Core according to the condition of SmartSAR Core. This tool has been employed to regression testing of SmartOSEK OS, and has obtained remarkable effectiveness. This tool can execute regression testing automatically and quickly with accurate results.The major work of this paper can be summarized as follows:1) Researched automatic testing methods for automotive electronics software, includes:the method of building test cases dynamically and compiling test cases automatically, the method of executing IAP (In Application Programming) automatically and judging test results automatically.2) Designed and implemented a transport protocol which is used to transmit test cases over CAN bus. It can transmit more than 8 bytes data. It has the function of session management which can effectively control transmission process.3) Designed and implemented a Cilent and Server combined method of IAP which is used for test cases IAP based on programmable FLASH device4) Designed and implemented a method which is used to compile test cases automatically by using Perl and OLE interface of Code Warrior. 5) Finally, designed and implemented an automatic testing tool for SmartSAR Core. It has the following functions:compile test cases automatically, download test cases automatically, execute and manage test cases satisfactorily.
Keywords/Search Tags:Automotive Electronics, Automatic Testing, SmartSAR, IAP, Transport Protocol
PDF Full Text Request
Related items