Environments

System Testing for C

When creating a test script, you typically write several test scenarios. These scenarios are likely to require the same resources to be deployed and then freed. You can avoid writing a series of scenarios containing similar code by factorizing elements of the scenario.

To resolve these problems and leverage your test script writing, you can define environments introduced by the keywords INITIALIZATION, TERMINATION, and EXCEPTION.

This section describes