Test & Measurement

Embedded World: Software addresses common test challenges

15th March 2017
Mick Elliott
0

At Embedded World, Vector Software releasedVectorCAST/Probe which provides a simple way to dynamically instrument an application with blocks of code to enable white box testing, inject faults, and debug hard to repeat race conditions. VectorCAST/Probe supports multiple platforms and is integrated with the full family of VectorCAST tools for unit testing, system testing and integration testing.

VectorCAST/Probe resolves common test challenges including testing the Error Path where

A probe point can force variables to be set to unexpected values or to explicitly induce a software fault such as divide by zero, stack overflow or clock rollover.

By explicitly inducing the fault, the error logic will be executed, and the recovery procedure can be validated.

When a test case fails, the tester can often see the cause of the error. A tester can validate a potential fix by creating a probe point and rerunning the test.

When adding test code directly into the source, there is a risk of leaving test code in the end product. A better way is to use VectorCAST/Probe to maintain the test code separately from production code.

“The main goal of VectorCAST test tools is to use automation to make testing easier and faster,” said Jeffrey Fortin, head of product management for Vector Software. “VectorCAST/Probe simplifies testing tasks for developers by enabling them to simply click the line of code where they want to add a probe and enter a snippet of C code. VectorCAST/Probe takes care of the compilation of the probe, the insertion into the source code, and the build of the instrumented application.”

Product Spotlight

Upcoming Events

View all events
Newsletter
Latest global electronics news
© Copyright 2024 Electronic Specifier