Visual Assert – The Unit Testing Add-In for Visual C++
cfix – C/C++ Unit Testing for Win32 and NT
 
 

FIXTURE

FIXTURE

Synopsis

FIXTURE defines a fixture to which tests can be assigned to using BEGIN_TESTF. For a fixture to be workable, note that at least one test has to be added using the aforementioned constructs.

Declaration
FIXTURE( Name )
			
Parameters

[in] Name Name of the fixture. The name must be a valid C++ identifier; it must follow the naming rules for functions.

Usage example
FIXTURE( TestFixture );
			
Requirements

Table 7.55. 

 User ModeKernel Mode
Available since1.3N/A
HeaderDeclared in winunit.hN/A
LibraryLink to cfix.libN/A
DLLcfix.dllN/A
IRQLN/AN/A