TestFixture::SetUp
This (static) method may be redefined in a test class to implement initialization of global resources. The method will be called only once per fixture.
If the setup method fails, none of the test methods will be invoked. The teardown method will not be invoked either.
![]() | Note |
---|---|
For certain initialization work, it may be more advantageous to use a before method. |