Solution 1:

If you use older version of gcc compiler or if your code under tests runs on vxWorks (or VxSim) you might have a better chance with cppUnit than Googletest framework.

On the other hand, another feature of the googletest framework is availability of 3 different levels of setup/teardown:

  • per program
  • per test case (or test group)
  • per individual test instances

Not sure if this is supported in cppUnit, but this might come very handy, especially with legacy systems.

Also, there is a googletest plugin for Eclipse CDT.

Solution 2:

If you haven't looked at xUnit++, I made it specifically because I was unhappy with what was available (including gtest). Most of your list is supported, and if not, if it's a "must have" feature, I'd probably be willing to add it.

Solution 3:

Those are the benefits I see. There are a couple of GUI test runners:

  1. https://github.com/ospector/gtest-gbar
  2. https://github.com/SandyChapman/gtest-runner-qt

I have used the first one and it works pretty well although it's in development and needs some work. Don't know if there are other options.