VectorCAST/C++ is a highly automated unit and integration test solution used by embedded developers to validate safety and business critical embedded systems.   This dynamic test solution is widely used in the avionics, medical device, automotive, industrial controls, railway, and financial industries.

  • Can be used on new or legacy applications
  • Ease of use enables non-regulated industries to realize benefits of C and C++ unit testing
  • Makes developer testing a streamlined and repeatable technology
  • Moves testing from a manual process to engineering rigor
  • Proven reduction in cost by automating framework creation to isolate newly developed code

C and C++ Unit and Integration Testing

Traditionally, unit and integration testing is performed by developers as the code is built. As individual software components are created, test code is generated to take the place of the external interfaces of the code under test. This test code, generally called a test harness, consists of drivers to stimulate the functions of the code being tested, and stubs to take the place of dependent functions that are called by the code being tested. VectorCAST automates the creation of drivers and stubs as part of the creation of the test harness, thus freeing up the developers to focus on building quality and thorough test cases.

With VectorCAST/C++, C and C++ unit testing can be done natively or on your specific target or target simulator. VectorCAST’s run-time support package, VectorCAST/RSP, is the add-on module that makes executing your test cases on target hardware automatic and seamless. In addition, tests may be developed in a host environment and re-executed on an embedded target to verify target and cross-compiler performance.

Easy Regression Testing

One of the most important benefits of automating software unit testing is the ability to rerun the tests as the source code changes to ensure that errors are not introduced. Once the test cases are generated, they can be saved in text format and easily stored in your Configuration Management tool. VectorCAST’s command line interface can be invoked from your nightly build to rerun all of the unit and integration tests so that you can check for errors that are introduced during the day. Finding issues soon after they are introduced greatly reduces debug time later in the life-cycle, thereby increasing code quality and reducing cost. Further automation of regression testing can be accomplished with VectorCAST/Manage.

VectorCAST Supports "Source Mode" or "Agile Mode"

Source Mode supports C and C++ unit and integration testing of modules that have already been implemented. Agile Mode is designed to support projects that are implementing an Agile development process. In Agile Mode, no source code files are needed. When you are building a test environment, you simply point to the directory containing the header files that you want to create test cases for, and then choose one or more headers as the Units Under Test. VectorCAST will create the test environment, including empty definitions for the functions defined in the header files chosen. This results in a complete executable test harness that can be run on the host platform, or any embedded development environment. All other features of the VectorCAST unit testing tool work exactly the same way that they do in Source Mode.

The key features of VectorCAST for C and C++ unit and integration testing include:

  • Complete test-harness construction for C and C++ unit and integration testing – no writing of test code
  • Stub and driver code built automatically
  • Test execution from GUI or scripts
  • Code-coverage analysis with optimization for embedded systems
  • Integrations with The MathWorks® Simulink®, Green Hills® INTEGRITY®, IBM® Rational® DOORS® IBM® Rational® Rhapsody®, PC-Lint and other tools
  • On-target and simulator test execution
  • Code-complexity analysis highlights high risk code
  • Automatic test case generation based on decision paths
  • Test execution playback to assist in debugging Integrated with leading static analysis tools

How to Automate Embedded C and C++ Unit and Integration Testing with VectorCAST/C++

VectorCAST/C++ parses your source code and invokes code generators to automatically create the test code (stubs and drivers) required to construct a complete, executable test harness.

Once the test harness is constructed, VectorCAST/C++ can be used to build and execute test cases, show code covered, and report static measurements. Test data is maintained separately from the test harness, enabling easy automatic regression testing.

Components of the VectorCAST executable harness

  • test driver
  • source file(s) under test
  • complete stubs for dependent functions
  • source files for any dependent units that are not stubbed

The test harness is data-driven, meaning the harness reads test data during execution. This approach eliminates the need to compile and link a new executable harness for each new test.

VectorCAST/C++ also generates code coverage metrics which indicate which areas of the code that you are testing still have not been tested. The easy-to-read code coverage viewer indicates down to the line of code where there is testing left to be done and can support the different levels of coverage specified in various industry standards like: IEC 62304, ISO 26262, DO-178B/C and IEC 61508.

We evaluated a number of test tools and were impressed with the VectorCAST automated solution. Using VectorCAST/C++, we have significantly...Read full story »

Julieta Catania, Quality Manager, Tecme S.A.

I have been using VectorCAST C/C++ on embedded realtime projects for over 3 years. Creating unit tests has been greatly...Read full story »

Alan Yorinks, Software Engineer, ITT Geospatial Systems

Automation in testing is typically considered in the context of meeting safety or regulatory requirements. VectorCAST supports our goal of...Read full story »

Arun Devaray, Senior Software Manager, Visteon Electronics

The support we have received from Vector Software has been outstanding. Vector Software’s trainers and support staff consist of highly...Read full story »

Stanislav Fligl, Core Team Leader, ŠKODA ELECTRIC

VectorCAST is a very important component in our embedded software development process allowing us to detect defects early and assure...Read full story »

Sven Natus, Manager of Software Development, Fujitsu Semiconductor Europe

Vector Software’s integration with VxWorks Cert Platform further extends VectorCAST’s support for the comprehensive capabilities of the Wind River Workbench...Read full story »

Joe Wlad, Senior Director of Product Management, Wind River

Vector Software’s VectorCAST is the leading automated software test tool for safety critical embedded systems, targeting mil/aero, medical and transportation....Read full story »

Dan Mender, Vice President Business Development, Green Hills Software

The capabilities of VectorCAST for unit/integration test and code coverage perfectly complement our existing static analysis solutions. Coupled with our...Read full story »

Neil Langmead, Chief Operating Officer, Emenda Software

Key to our decision was Vector Software's certification of VectorCAST for developing safety related software and its ability to integrate...Read full story »

Don DeLauder, Director, Research and Development, Dräger

With the time savings introduced by VectorCAST, final software development phases could be reached early, reducing the total project costs....Read full story »

Mauricio Ribeiro Barbieri, Software Engineer Manager, AEL Sistemas, A.S.

The VectorCAST testing environment is an ideal complement to the static analysis capabilities available in GNAT Pro, together providing a...Read full story »

Cyrille Comar, Managing Director, AdaCore

System test alone is ineffective in enabling organizations to achieve customer demanded quality and meet market opportunity windows. To achieve...Read full story »

Axel Kehlenbeck, Sr. Analyst, Sentry Technology Group

I would like to personally thank David Pierson for his hard work and dedication in helping us here at Northrop...Read full story »

Fernando Anguiano, Senior Staff Software Engineer, Northrop Grumman Aerospace Systems

We are enthusiastic about the integration and partnership with such a high caliber test automation company such as Vector Software....Read full story »

Regg Struyk, Product Manager, Polarion Software

VectorCAST is the premier dynamic software analysis tool for embedded applications. We are very pleased that our partner, Vector Software,...Read full story »

Mats Ullström, Product Director, IAR Systems

Big Thanks for this extra-ordinary service!!!

Read full story »
Ronald L. Martinez, Information Technology, Raytheon Company

Vector Software has a proven record of developing the most advanced dynamic software testing solutions that address the real needs...Read full story »

Neil Langmead, Chief Operating Officer, Emenda Software

We decided to adhere to all the rules within MISRA and the QA.C tool made this extremely easy to achieve....Read full story »

Lee Jaques, Senior Software Engineer, Marshall Aerospace

We evaluated VectorCAST based on very specific criteria that included the vendors’ experience in safety-critical embedded software testing and the...Read full story »

Michael Dalpiaz, Development Manager, Imaging Systems, Sirona Dental

We evaluated many embedded software testing tools during this process. We chose VectorCAST for its robust features and ease of...Read full story »

Pauline Ng, GM Engineering and Technologies, Flight Focus

We carefully evaluated a number of tools and we were very impressed with the level of automation provided by the...Read full story »

Steven Lincoln, C-130 Software Development Manager, Lockheed Martin Aeronautics

The VectorCAST tools have greatly reduced the time it takes to fully test our code. VectorCAST/Manage allows us to...Read full story »

Stanislav Fligl, Core Team Leader, ŠKODA ELECTRIC

Vector Software's VectorCAST embedded software testing platform was identified as the ideal solution for developing critical software in compliance with...Read full story »

Dr. Stefan Kaneff, Managing Director, EUROS Embedded Systems

VectorCAST made our job a lot easier.

Read full story »
Taeyoung Noh, Quality Assurance Manager NEOS Project, MDS Technology

Our confidence that VectorCAST will provide for our unit test needs is quite high and went beyond expectations.

Read full story »
Ronald L. Martinez, Information Technology, Raytheon Company

With its broad support for target compilers and integrated testing capabilities the VectorCAST applications fit well in our current and...Read full story »

Sven Natus, Manager of Software Development , Fujitsu Semiconductor Europe

As part of our selection process we evaluated several freeware and commercially available off the shelf applications. We chose VectorCAST...Read full story »

Helen Muth, Senior Director of Engineering, MEI Group

The VectorCAST platform provides us with the tools we need to begin development of our newest generation of gas detectors....Read full story »

Don DeLauder, Director, Research and Development, Dräger

Trinity is committed to bringing the most innovative and advanced technologies in safety critical software development. We are convinced that...Read full story »

Jeff Chen, Vice President, Trinity Technologies

We are very pleased to work with Vector Software. The VectorCAST integration with FreeRTOS provides a engineers with a professional-grade...Read full story »

Richard Barry, Director, Real time Engineers, Ltd.

VectorCAST matches our development paradigm exactly. Therefore the tool was simple to set up and integrate into our development process....Read full story »

Sven Natus, Manager of Software Development, Fujitsu Semiconductor Europe

Our test tool evaluation team considered a number of other applications for software testing. We ultimately chose VectorCAST for its...Read full story »

Larry Rogers, Avionics Software Manager, Aurora Flight Sciences

We are excited to partner with Vector Software in offering developers a powerful, fully integrated solution for embedded systems development....Read full story »

William E. Lamie, President, Express Logic, Inc.

Our project requires compliance with DO-178B Level B, which will require stringent testing activities. We needed the best suite of...Read full story »

Vladimir Baburov, Director, VNIIRA-Navigator

Key to our selection of VectorCAST was that it offers a single software engineering platform that can manage process complexity...Read full story »

Stefan Sauerer, MBtech

The decision to use Vector Software's automated solution is driven by our need to achieve the highest levels of software...Read full story »

Fábio Assis, Director, XMobots Robotic Systems

Vector Software provides one of a kind capabilities to address the challenges of testing embedded software applications. Representing Vector Software...Read full story »

Uri Farkash, Director of EDA Operations, Advanced Semiconductor Technologies

Vector Software’s VectorCAST product suite is now more integrated with TI’s Code Composer Studio IDE than ever before, offering users...Read full story »

John Stevenson, Product and Applications Manager, Texas Instruments

The combined offering delivers an unparalleled solution for ensuring quality, reliability, and compliance in the development of critical software systems....Read full story »

Michael Carey, President, Polarion Software

The open interfaces of VectorCAST give us the necessary flexibility to adapt VectorCAST to all needs in all our development...Read full story »

Sven Natus, Manager of Software Development, Fujitsu Semiconductor Europe

VectorCAST is unique in that it provides us with the ability to increase the reliability and quality of our flight...Read full story »

Wayne Young, Software Principal Engineer, Honeywell ASCa Inc.

With VectorCAST we are able to quickly apply state of the art unit testing...

Read full story »
Yves Schenker, Embedded Software Engineer, Helbling Technik

Although no hard cost saving metrics were generated comparing the use of VectorCAST/Ada vs. testing with other tools or testing...Read full story »

Mark Hall, Test Consultant, Lockheed Martin

We are delighted that Vector Software has integrated its industry-leading VectorCAST suite with AdaCore’s GNAT Pro Safety Critical product for...Read full story »

Jamie Ayre, Marketing Director, AdaCore

Our leading solutions for Requirements Management, Quality Assurance, and ALM, optimally complement Vector Software’s advanced tools for automated software testing...Read full story »

Michael Carey, President, Polarion Software

We were impressed with Vector Software from the outset. VectorCAST provided excellent ease of use and functionality.

Read full story »
Chris Brown, Vice President of Engineering, Athena Technologies

Vector Software engineers were extremely helpful in supporting our goal to achieve DO-178B certification in short amount of time....Read full story »

Pauline Ng, GM Engineering and Technologies, Flight Focus

Overall, we reduced our testing effort 83% by using VectorCAST.

Read full story »
Taeyoung Noh, Quality Assurance Manager NEOS Project, MDS Technology

Discover the benefits of VectorCAST with a Free Trial

See how VectorCAST C and C++ unit and integration testing tools improve performance in your exact testing environment, by registering today for a 30-day, fully-functional version.

You may also attend the one of our upcoming embedded software testing webinars or arrange a demo for your project.