TEARDOWN
Used to implement a teardown routine. This routine will be called once per test routine, after the test routine itself has completed. As such, teardown routines should be used to clean up any state that has been set up by SETUP and test routines.
Using TEARDOWN to implement a teardown routine for a fixture is optional. Note, however, that at most one teardown routine may be defined per fixture.
![]() | Note |
---|---|
WinUnit teardown routines correspond to and have the same semantics as after routines in the cfix API. |
[in] FixtureName Name of the fixture to assign the teardown routine to. The fixture (and its name) must have been defined previously using FIXTURE.