VectorCAST/Ada™
Unit and Integration Testing for Ada

Automation for Ada Unit Testing

Traditionally, Ada 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, typically called a test harness, is made up 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. Our software automates the creation of stubs and drivers as part of the creation of the test harness, giving developers time to focus on building quality and thorough test cases.

With VectorCAST/Ada, 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. Additionally, tests can be developed in a host environment and re-executed on an embedded target to validate target and cross-compiler performance.

Advantages

  • Moves testing from a manual process to engineering rigor
  • Can be used on new or legacy applications
  • Makes developer testing a streamlined and repeatable technology
  • Proven reduction in cost by automating the creation of frameworks to isolate newly developed code
  • Enables attention to quality without derailing development time
  • Supports Ada 83, Ada 95, Ada 2005, and Ada 2012

Highlights of VectorCAST/Ada

VectorCAST/Ada features include:

  • Complete test-harness construction for Ada unit and integration testing – no writing of test code
  • Driver and stub code built automatically
  • Test execution from GUI or scripts
  • Code-coverage analysis specific to military and avionic requirements
  • Integrated with IBM® Rational® Rhapsody®, AdaCore GNAT, Green Hills® AdaMULTI™, Atego™ ObjectAda®, DDC-I™ SCORE®, IBM® Rational® DOORS® 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
  • Leverage existing tests to automate regression testing

How it Works

How to Automate Ada Embedded Software Testing with VectorCAST/Ada

VectorCAST/Ada 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. After the test harness is constructed, utilities can be used to build and execute test cases; show code covered, and report static measurements. Test data is kept 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/Ada 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 DO-178B.

Compilers

Ada Supported Compilers

All VectorCAST/Ada generated test-harness components are automatically compiled and linked, using your compiler. An interface to your compiler’s debugger is also provided so that you can run test cases under control of the debugger. No additional configuration is required.

See Full List

Edition

Which VectorCAST/Ada edition is right for you?

Automatic unit and integration testing with code coverage instrumentation.

Mehr anzeigen

All of the Pro features plus, enterprise test management, testing multiple code configurations, change based testing, fault-injection, covered-by-analysis editor.

Mehr anzeigen

Downloads

News & Events


Proven Tools for Fast Development and Easy Testing: Vector Solutions for Medical Engineering at MedtecLive

Development and test tools from Vector have been setting standards in the automotive field for decades now, but they are hardly known in application areas such as medical technology. Since embedded software is playing a continually growing role in that field as well, there is increasing demand for suitable support in developing networked system solutions for medical technology. That is why Vector is presenting its platform of tools and services for accelerated development and simplified testing of medical electronics at MedtecLIVE in Nuremberg.


VectorCAST for FDA and IEC 62304 Compliant Software Development at Ottobock

The automated test platform VectorCAST has been selected by German founded Ottobock as their platform of choice for safety critical embedded software testing.

Alle News zeigen (255)
Mehr anzeigen

Training

VectorCAST Workshops

Our workshops offer you many opportunities to expand or deepen your knowledge about VectorCAST.

Gain a basic understanding of Unit Testing and Code Coverage concepts and how the VectorCAST test automation platform can be used to implement those concepts.

 

Related Pages

Mehr anzeigen

Medizintechnik

Mehr als Automotive: Mit Vector Lösungen eingebettete Systeme für die Medizinelektronik entwickeln.

Mehr erfahren
Mehr anzeigen

Testing

Vector Testwerkzeuge zur effizienten Implementierung von Simulations- und Testumgebungen.

Mehr Informationen