Google Test. Is it something people have experience with here. I’m in a place where I have to test a wadge of C++ code via API. I also have to test C# bindings later, and do a bunch of system tests. I have Linux, Windows targets, and Embedded devices in the mix. So I actually chose Python for system tests using Pytest. I have a basic CI/CD job with decent cover of just one area of my product line using python, but the C++ and C# is missing still. Python lets me easily control laboratory bench power supplies for example and easily sets up sandboxes, install apps, uninstall them all in the O/S. And that has been great because I also had to test a sockets interface as well. Sockets is a one-liner in Python. If anyone has pytest questions, please fire away at me, I’ve rolled my own once and used pytest with nose for a few years now. (Some advanced pytest tips here https://pytest-with-eric.com/) BUT GoogleTest is my next tool.
gtest is arguably more fully featured than pytest, which requires you write plumbing of your own for things like setup and teardown fixtures. Pytest suffers from not being thread-safe however, which has not been a pain yet. I have a lot of C++ experience, but only ever used CxxTest, which is damn near bare-bones as frameworks go. Build a computer using Stone knives and bearskins as Spock would have put it. Hence looking at Gtest instead.
So, I’m wondering, anyone hit any specific pain-points using Gtest? My use case is for system end-to-end, as well as API tests. I’m not pure “unit testing” at all.