Besides using the unit tests provided by CppUnit, you can still write your own small testing framework. This way you can set up your Dll projects as needed, download it, link it up whatever you want and prove with some simple data as you like.
This value if you have many DLLs that are dependent on each other to do a specific job. (legacy C ++ Dlls projects are generally unlikely to be tested in my experience).
Having made some frame application, you can also check the possibilities that CppUnit will give you and combine it with your test frame.
This way you get a good set of automated tests that still have graded unit tests. It is somewhat difficult to start unit tests if the project already has a certain size. Having your own structure will allow you to write tests whenever you make some changes to the dll. Just paste it into your framework, check what you expect from it, and improve your frame more and more.
The basic idea is to separate the test, testrunner, testdata and statements to be made.
source share