Can cxxtest suite be dynamically extended at run-time?
问题 I wish to dynamically extend my CxxTest Suite with additional test items, but am finding that all the testing scenerios must be available (hard-coded) at compile time. My scenario is that I've got a fairly bulky C++ class that has 20+ methods to be tested. This class needs to be tested for 40+ DIFFERENT data sets. These data sets are obtained via the class constructor, controlled via parameters. My primary objective is to avoid re-writing the same 20 test cases for the different data sets. I