Renesas REJ10J1837-0100 Network Card User Manual


 
High-performance Embedded Workshop 16. Using the Test Support Facility
REJ10J1837-0100 Rev.1.00 Nov. 16, 2008
232
16. Using the Test Support Facility
The High-performance Embedded Workshop provides regression testing facilities for your application by the test
support facility. Regression test is re-execution of a previous test after modification of the program to verify the result.
The test tool allows High-performance Embedded Workshop macro and batch files to be executed and the system can
then be compared to see if it matches the original captured data.
It is possible to create many tests and scripts and automate the testing procedure. Then once the testing has been
completed the results are displayed in an easy to understand format in the test browser window. This can significantly
reduce the work needed to execute many regression tests.
The test tool uses the TCL command line batch files as its method of executing the features and functions of High-
performance Embedded Workshop. These functions can be created easily using the macro recorder feature or by
manually editing them yourself.
If you need to automate the execution of the actual tests the test tool also supports command line operation. Many
commands are available that allow you to open and close suites, run and compare test data.
The first step towards using the test tool is to create a test suite. This is available on the main Test menu. Then you
must edit the test suite to create some actual tests. Then you can execute the tests using the "Run tests" menu option.
Note, however, that High-performance Embedded Workshop is not capable of acquiring test-image information of all
functions in the High-performance Embedded Workshop system. For the items from which test-image information can
be acquired, see section 16.6, Functions that can be saved as test-image data into test-image files.
16.1 Creating a test suite
A test suite is a set of tests. A test suite has a very similar concept to a workspace. The test suite can contain many tests
which in turn can contain many macros to be executed.
Test suites are independent to the current High-performance Embedded Workshop workspace. This allows your test
suite to work with multiple workspaces and projects to test different situations in one test suite. The "open_workspace"
and "change_project" commands all work with the test suite feature so allow you to control which workspace is
currently in use.