From 5c025eea702d0ff66ed15091d6b6c56e08ecd03f Mon Sep 17 00:00:00 2001 From: Moritz Wirger Date: Thu, 2 Nov 2017 21:47:36 +0100 Subject: [PATCH] Update readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2cb64cf..6f2b6e6 100755 --- a/README.md +++ b/README.md @@ -91,16 +91,16 @@ To remove it ```bash make uninstall ``` -If you additionally want to run the tests you will need to checkout the testing branch and use cmake with the option -Dhueplusplus_TESTS=ON. Testing is done with Google gtest and gmock. Note that you wont need to install gtest/gmock yourself, because cmake will automatically download them and include them during the build. +If you additionally want to run the tests you will currently need to checkout the development branch and use cmake with the option -Dhueplusplus_TESTS=ON. Testing is done with Google gtest and gmock. Note that you wont need to install gtest/gmock yourself, because cmake will automatically download them and include them during the build. Since I added a custom target you will only need to call "make unittest" and the tests are compiled and executed. ```bash mkdir build cd build cmake .. -Dhueplusplus_TESTS=ON -make +make unittest ``` -To execute the tests use +If you also want to execute coverage tests you will need to install gcov and lcov yourself. To run the coverage test use ```bash -./hueplusplus/test/HuePlusPlus_Test +make coveragetest ``` -- libgit2 0.21.4