I am trying to add some CPPUnit tests to existing projects (static libraries, dlls and exes). For being able to invoke the tests as a post build step, my understanding is that we need to provide the target path for the main application having the tests. Does this mean that for each of my projects, I will have to have a cooresponding CPPUnit project with the appropriate exe (so that path to this exe can be given as the target in my actual project) or is there any way I can add the testing code into my project itself.
Thanks,
Karthik
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to add some CPPUnit tests to existing projects (static libraries, dlls and exes). For being able to invoke the tests as a post build step, my understanding is that we need to provide the target path for the main application having the tests. Does this mean that for each of my projects, I will have to have a cooresponding CPPUnit project with the appropriate exe (so that path to this exe can be given as the target in my actual project) or is there any way I can add the testing code into my project itself.
Thanks,
Karthik