Description
It is nice to know that work is done on UnitTest++, but there where some regressions from 1.4 that I would like to address.
Central Header
The central header used to be UnitTest++.h
. It resided in src and I would normally copy them to $(prefix)/UnitTest++
. The header is now named unittestpp.h
and is located in the root folder. This would be no big issue if the header would not include src
bit in the include directives. This complicated the installation tremendously.
config.h
This is similar to the central header. It was moved and now you need to touch each file to create a IMO clean install.
Custom Streams
It used to be that the default stream is the standard stream and you could optionally use the custom streams for non standard environments. This behavior was revered and broke most of my unit tests. Sure you can change the behavior back by commenting in UNITTEST_MEMORYOUTSTREAM_IS_STD_OSTRINGSTREAM
, but it seems counter intuitive.
One of the features of UnitTest++ was that is just worked. This variant, that is not the case.