Cppunit: setUp () and tearDown ()

I use a framework cppunit to test their classes, I want to know whether the methods TestFixture::setUp()and TestFixture::tearDown()called once for TEST_SUITE or called for each method that has been added to this package

+3
source share
1 answer

Methods wrap each individual test case. From docs :

Each test takes place in its own mount, so side effects do not occur among test runs.

+5
source

All Articles