Unit test suits intended to organize common unit test in one suite that can be executed as a package. Each suit can have one suite setup and one suite teardown procedure:

UT_<SuitName>_setup

UT_<SuitName>_teardown

By default suite setup and teardown procedures will run independently before and after each test. However, when setup or teardown procedure calls DBTD_RUN_ONCE hint function anywhere inside its DDL, then such setup or teardown procedure will be executed only once per suite, at the beginning in case of setup and at the end (for teardown) when all unit test in a given suite have run.

See Also