Is UnitTest++ too minimal for practical use

88 views Asked by At

I've been assigned with a task to prepare an evaluation of C++ unit testing frameworks we could use for our next project and I was enchanted by minimalism and simplicity of UnitTest++. However I'm quite concerned whether it's array of tools isn't by any chance too minimal.

For example I can imagine a situation when certain class have a signed int member, that can't be negative, but I can't test it with assert because UnitTest++ have only equality assertion. It wouldn't be so bad if I could use normal CHECK supplied with some custom message, but AFAIK there is no support for custom logging.

I firmly believe the creators of UnitTest++ knew what they were doing, when they decided any assertion other than true, equals or throws is fringe enough to not bother implementing. Nevertheless I'd like to hear from someone using this framework, if you ever ran into any problems due to lack of features available in other frameworks.

0

There are 0 answers