Embedded software white box testing, including rules inspection, unit testing, integration testing, more and more in the country by many embedded software development team and the company's attention. From the security point of view, military, aerospace, rail transportation, automotive electronics and other high security requirements of the industry, for white box testing needs to pay particular attention to. In the more mature European and American markets, the products of these industries before the market, need to pass an industry standard and certification, such as aerospace do-178b, rail transit EN50128 SIL certification, such as automotive electronics ISO26262, or medical industry IEC62304 certification, These certifications for unit testing, integration testing, coverage, etc. have a clear test requirements, Software Testers Professional blog to meet the nature of these industry customers for embedded software white box testing needs, will write a series of articles for readers to focus on embedded white box testing tools-Vectorcast features and features ....
Software Testers Professional blog, focused on white box testing, in the previous series of articles, but also shared with you c++test unit testing related features and functions, but from the author in the actual and use c++test process, found in the Unit testing field, c++test in the supported environment, supporting the certification standards, As well as ease of use, engineering practice, there are more or less problems, in short, difficult to implement, so in practical work, began to understand and learn new more professional focus on embedded C/c++/ada language white box testing tools vectorcast, from the recent period of time learning and the actual process, Real feelings and understanding of vectorcast in embedded software unit testing, integration testing has many advantages, so will be divided into several articles in-depth introduction of vectorcast tools;
This article will be divided into series of articles to introduce the functions of vectorcast:
C/c++/ada Embedded Software Test Tool vectorcast--embedded white box test tool preface
C/c++/ada Embedded Software Testing Tool vectorcast--system test Vectorcover Introduction First
C/c++/ada Embedded Software Test Tool vectorcast--unit test/integration Test vector C + + Introduction second article
C/c++/ada Embedded Software Testing Tool Vectorcast--embedded support vector RSP Introduction to the third article
C/c++/ada Embedded Software Test Tool vectorcast--unit test/Integration test/Regression test Management Vector Manage Introduction Fourth
C/c++/ada Embedded Software Testing Tool Vectorcast--vectorcast supported industry standard introduction Fifth
Vectorcast is a company that focuses on embedded software testing, vector software, in 1994 for Lockheed Martin's c-130j "Super" Hercules and released the first product, followed by continuous improvement and development of more features , Vectorcast today, supports a wide range of embedded environments supporting the C + + language, as well as the ADA language, supporting unit testing, integration testing, system testing, and supporting software testing certification standards across different industries.
Compared to the Software Tester Professional blog previously introduced about C++test,vectorcast has the following features:
1. The coverage test function of the system test, this is Vectorcast more special function, for the UI part of the code, Unit testing is difficult to implement, and for these code to achieve code coverage, through the Vectorcast cover test can be;
2. The supported embedded environments are more diverse, and from the C++test user manual you can see that their supported embedded environments are usually only at the compiler level, while in fact, different embedded compilers support different chip models, such as CCS, C++test's user manual describes their support for CCS 3.1 , CCS 3.3, but in terms of CCS 3.1来, it also supports 2812,67XX, 5000 series DSP chip, this level, if you use C++test, then encounter a problem, Different chip-level configurations require testers or unit test environment builders themselves to improve the chip-level configuration, this work is very troublesome, if you are not familiar with the chip, for C++test is not familiar, for CCS is not ripe, any one is not familiar, basically build the likelihood of success is very small And Vectorcast, in the list of supported environments have been supported to chip-level, for 28XX, 67XX chip has a ready-made environment configuration, so easy to get started;
3. Convenient coverage integration, Vectorcast coverage can be easily integrated together, first by file testing, and then the various source file coverage to form the coverage of the entire project, in addition to the Vectorcast cover coverage set and up, This is very easy to implement for projects with coverage requirements;
4. The test case is automatically generated, Vectorcast can automatically generate test cases according to the minimum value of maximum value, also can automatically generate test cases according to improve the branch coverage, can also automatically generate test cases according to improve MC/DC coverage, and support import test cases in CSV form;
5. Vectorcast manage can be very convenient for unit testing, integration testing management, support change testing, that is Vectorcast manage can automatically detect which source files change, and prompted the user this part of the code has been modified, so the need for regression testing;
Introduction to Embedded Software testing