CTest Integration for VisualStudio


I have long searched for an extension in VisualStudio which allows you to control kitware’s CTests via the Test Explorer. Since no such thing existed I have developed a workable proof of concept myself :D.

This software is currently not in its finished state, It still needs polishing because it can be slow and is not well tested. However it works so if you want to give it a ride – go ahead. Feedback is welcome. But even more welcome would be if you chose to work on it and make it better.

Check it out at my github https://github.com/toeb/CTestTestAdapter / a compiled version is available as vsix in the root directory of the repository



  • Discovers all tests which are visable in your CMakeLists.txt by running ctest -N in your binary_dir
  • Control of test execution through Test Explorer Window
  • Success or Fail based on Outcome of ctest run


  • More Test MetaData (line number, file, etc)
  • More efficient Test Runs

Leave a Reply

Your email address will not be published. Required fields are marked *