Whether you are doing traditional waterfall development or following a test-driven development approach, unit and integration testing should be a key piece of your testing strategy. Unit testing is the process of verifying the behavior of a small and isolated unit of code, such as a single C++ class, C function, or Ada package. This is typically done prior to full system testing. Unit and integration testing are an important part of building a robust and error free application, because it allows the tester to more easily stimulate the low-level functionality of the application, and prove that the low-level requirements have been implemented properly.

The VectorCAST suite of tools for unit and integration testing is available for C and C++ (VectorCAST/C++) and Ada (VectorCAST/Ada). Both tools automate key activities associated with unit and integration testing. This includes the generation of a complete executable test harness, the management of test cases and test results, and the automation of regression testing.

Two Goals for Your Unit and Integration Testing

  • Prove application correctness - this requires test cases consisting of known inputs and expected values, to stimulate the functionality of the code under test.
  • Prove testing has been thorough - this requires tracking code coverage to prove that tests have executed 100% of the application code.

VectorCAST/C++ and VectorCAST/Ada automate both of these tasks and allow for the completely automatic regression testing of your application, over the entire application lifecycle.

Traditional Unit and Integration Test Process

With traditional unit testing, as each software unit is coded the developer will generate test cases to stimulate the code and run those tests to prove correctness.  One danger with this work-flow is that the developer is influenced by the underlying implementation of the code when they design test cases.  This can result in tests that simply test what the code was written to do, rather than what the code was intended to do.

Test Driven Development (TDD) and Agile Process

Test Driven Development (TDD) aims to solve this problem by moving test case development earlier in the process to a point after the design is completed, but before the code is written. This allows developers to build the unit tests based on the low-level requirements, and the defined interface for the unit.  As each function interface is defined, new tests are added for that function. These will initially fail because no logic has been defined for the function. However, as new application code is created, the tests will start to pass. This approach requires short development, build, and test cycles and automated regression testing. VectorCAST/C++ supports this testing approach by allowing tests to be built as soon as a single header file exists.

Why is Unit and Integration Testing so Hard?

To create a suite of tests that achieves code coverage close to 100% requires generating one line of test code (drivers, stubs, and test data) for each line of application code to be tested. When unit testing is done without tools one of the challenges is keeping the unit test code up-to-date with the application code.  Test software not only has to be written but also has to be debugged to ensure that it performs as expected.The necessity to create and maintain the test software is the main reason manual unit testing is so expensive and inefficient.  With VectorCAST, unit testing can be performed without writing any test code. 

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

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

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

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

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

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

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

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 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.

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

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

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

VectorCAST made our job a lot easier.

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

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

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

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

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 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

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

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’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 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 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

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

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.

Big Thanks for this extra-ordinary service!!!

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

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

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 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

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

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

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

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

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

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

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

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

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

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

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

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 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.

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.

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

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 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

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

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

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

Optimize Your Unit and Integration Testing Process Today

Learn more about VectorCAST solutions for Ada, C, and  C++ unit testing today. You can evaluate a fully-functional version of the VectorCAST tools in your exact testing environment by requesting your 30 day free trial.