Creating a standalone exe with Visual Studio 2013 native unit tests?
-
Is anyone aware of a library to create a standalone executable with a Visual Studio 2013 native unit test DLL? (I need to do some dynamic analysis on part of my code, but the tool needs to instrument the loading executable. I can't use my main executable since it runs on an embedded system with very specific and locked down hardware.)
-
Is anyone aware of a library to create a standalone executable with a Visual Studio 2013 native unit test DLL? (I need to do some dynamic analysis on part of my code, but the tool needs to instrument the loading executable. I can't use my main executable since it runs on an embedded system with very specific and locked down hardware.)
Aren't the libs included for the unit test library? If so, you should be able to just build your test code into a stand alone, statically-linked executable.
-
Aren't the libs included for the unit test library? If so, you should be able to just build your test code into a stand alone, statically-linked executable.
Tried that, but the result doesn't do anything. The VC++ Native Unit Tests have a test runner and that's the secret sauce, so to speak. (It enumerates all the exports from the test dll and runs them. I could figure this out, but was hoping someone else already has.)