Writing a Test Script
Component Testing for Ada
When you first create Component Testing for Ada test node with the Component Testing Wizard, Rational® Test RealTimeproduces a .ptu test script template based on the source under test.
To write the test script, you can use the Text Editor provided with Rational® Test RealTime.
Component Testing for Ada uses the Ada Test Script Language. Full reference information for this language is provided in the Reference. section.
section
To learn about | See |
Basic .ptu test script instructions | Structure Statements |
Specifying the main Ada entry unit | Test Program Entry Point |
Initializing and testing variable values | Initial and Expected Values |
Simulating stub functions | Stub Simulation |
Catching exceptions | Unexpected Exceptions |
Other specific Ada testing notions | Advanced Ada Testing |
Related Topics
Structure Statements | About the Text Editor