Automatically updating a .ptu test script in Eclipse

Test RealTime for Eclipse CDT

Changes that are made during the development process can sometimes impact the test script, for example when new functions are added after the test script was generated.

You can update a .ptu test script to automatically add new elements to SERVICES and INCLUDE blocks to reflect changes that were made to the source code. An update does not remove or modify any existing statements.

For the update to work, you must not edit any generated comment lines that start with %c or %d in the test script. The update command only works with .ptu test scripts that were generated by Test RealTime 7.0 or later, which contain these %c and %d comment lines.

To update a .ptu test script in Eclipse:

  1. In the Eclipse workbench, select the test perspective and double click a Test RealTime test in the test navigator.

  2. In the Files section, select the Test Scripts tab, and click Update.

Related Topics

Manually creating a component testAutomatically updating a .ptu test scriptWriting a Test Script