You can test Visual C++ applications without any special preparations. However, to access internal objects of your application, you need to prepare it before you start testing:
-
To access public properties and methods of Microsoft Foundation Classes, compile your application with runtime type information (RTTI).
-
To access public, protected, and private fields and methods of your Visual C++ application from tests, compile your application with external debug information.
If your Visual C++ application is compiled with dynamically linked libraries, TestLeft will not be able to access to the protected and private internals of the application.