For using CppUnit: just use TestFixture to derive your testclasses from (and don't bother about TestCase).
TestFixture has been introduced around version 1.8, before that TestCase had to be used. However, it seems that deriving from TestCase still works. So to me it looks like that the distinction is more academic at the moment, maybe relevant for further releases.
Wolfgang
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am newbie in CppUnit. I have a confusion between TestCase and TestFixture, please help me explain it. Thanks a lot.
Regards,
Hau Tran.
For using CppUnit: just use TestFixture to derive your testclasses from (and don't bother about TestCase).
TestFixture has been introduced around version 1.8, before that TestCase had to be used. However, it seems that deriving from TestCase still works. So to me it looks like that the distinction is more academic at the moment, maybe relevant for further releases.
Wolfgang