# c-testrunnerswitcher **Repository Path**: javenst/c-testrunnerswitcher ## Basic Information - **Project Name**: c-testrunnerswitcher - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-19 - **Last Updated**: 2022-01-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. # testrunnerswitcher testrunnerswitcher is a simple library to switch test runners between ctest (available at https://github.com/Azure/ctest.git) and CppUnitTest. ## Setup - Clone c-testrunnerswitcher by: ``` git clone --recursive https://github.com/Azure/c-testrunnerswitcher.git ``` - Create a cmake folder under c-testrunnerswitcher - Switch to the cmake folder and run cmake .. - Build the code for your platform (msbuild for Windows, make for Linux, etc.) ### Installation and Use Optionally, you may choose to install testrunnerswitcher on your machine: 1. Switch to the *cmake* folder and run ``` cmake --build . --target install ``` or Linux: ``` sudo make install ``` Windows: ``` msbuild /m INSTALL.vcxproj ``` 2. Use it in your project (if installed) ``` find_package(testrunnerswitcher REQUIRED CONFIG) target_link_library(yourlib testrunnerswitcher) ```