Writing a Test Script

Component Testing for C

When you first create Component Testing for C test node with the Component Testing Wizard, OneTest Embedded produces a .ptu test script template based on the source under test.

To write the test script, you can use the Text Editor provided with OneTest Embedded.

Component Testing for C uses the C Test Script Language. Full reference information for this language is provided in the Reference section.

 

To learn about

See

Basic .ptu test script instructions

Test Script Structure

Initializing and testing variable values

Testing Variables

Simulating stub functions

Stub Simulation

Catching exceptions

Unexpected Exceptions

Other specific C testing notions

Advanced C Testing

 

Related Topics

Structure StatementsAbout the Text Editor