I use the framework cppunit to test my classes,I want to know if the methods TestFixture::setUp() and TestFixture::tearDown() are called one time for TEST_SUITE or they are called for each method added to this suite
The methods wrap each individual test case. From the docs:
Each test runs in its own fixture so there can be no side effects among test runs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With