Open alanxz opened 9 years ago
Have you got an idea which testing framework to use? Would you consider a C++ testing framework, even though rabbitmq-c is a C library?
I'm leaning towards cmocka. Its C, has a mocking framework included, has TAP/XML output, and supports the platforms I care about.
The only downside to CMocka is that newer versions aren't widely distributed on Linux systems. My thought on how to get around this is to include it as a git submodule.
At one point I did think about using gtest (which is C++), unfortunately this didn't work well as rabbitmq-c uses identifiers that are keywords in C++ (which should probably be changed anyway, but thats another issue). For the rare platform that doesn't have a C++ compiler, having an all-C solution is a nice feature.
An issue to track the misc things I want to do with the CI system
Things dealing with testing: