background image
<< Comparing C Test Reports | C++ Testing Overview >>
<< Comparing C Test Reports | C++ Testing Overview >>

Packed Array and Structure Display

Automated Testing
·
After a STRUCTURE statement, the whole of the structure is initialized and
checked.
When Extended editing is selected, Component Testing interprets ARRAY and
STRUCTURE statements as VAR statements.
The output records in the unit test report are then detailed for each element in the
array or structure.
Note This setting slightly slows down the test execution because checks are
performed on each element in the array.
Packed Array and Structure Display
This command has the opposite effect of the Extended editing option. When Packed
editing is selected, Component Testing interprets VAR statements as ARRAY or
STRUCTURE statements.
Array and structure contents are fully tested, only the output records are more
concise.
Note This setting slightly improves speed of execution because checks are
performed on each array as a whole.
Component Testing for C++
Component Testing for C++ is a fully integrated feature of Test RealTime that uses
object-oriented techniques to address automated testing of C++ embedded and
native software.
Object-oriented testing
does not mean that the Component Testing for C++ feature is
designed solely for the testing object-oriented languages. Whether the target
application is object-oriented or not, Component Testing for C++ adapts to the
environment.
In fact, Component Testing for C++ can be used for:
·
Software feature tests,
·
Component integration tests,
·
Software validation,
·
Non-regression tests.
Overview
Basically, Component Testing for C++ interacts with your source code through a
scripting language called
C++ Test Script Language
. You use the Test RealTime GUI
163