Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Creating a standalone exe with Visual Studio 2013 native unit tests?

Creating a standalone exe with Visual Studio 2013 native unit tests?

Scheduled Pinned Locked Moved C / C++ / MFC
hardwarecsharpc++visual-studiotesting
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Joe Woodbury
    wrote on last edited by
    #1

    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.)

    A 1 Reply Last reply
    0
    • J Joe Woodbury

      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.)

      A Offline
      A Offline
      Albert Holguin
      wrote on last edited by
      #2

      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.

      J 1 Reply Last reply
      0
      • A Albert Holguin

        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.

        J Offline
        J Offline
        Joe Woodbury
        wrote on last edited by
        #3

        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.)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups