Commit 5c025eea702d0ff66ed15091d6b6c56e08ecd03f

Authored by Moritz Wirger
Committed by GitHub
1 parent a9799673

Update readme

Take new branch into account as well as some changes with running tests
Showing 1 changed file with 4 additions and 4 deletions
README.md
... ... @@ -91,16 +91,16 @@ To remove it
91 91 ```bash
92 92 make uninstall
93 93 ```
94   -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.
  94 +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.
95 95 ```bash
96 96 mkdir build
97 97 cd build
98 98 cmake .. -Dhueplusplus_TESTS=ON
99   -make
  99 +make unittest
100 100 ```
101   -To execute the tests use
  101 +If you also want to execute coverage tests you will need to install gcov and lcov yourself. To run the coverage test use
102 102 ```bash
103   -./hueplusplus/test/HuePlusPlus_Test
  103 +make coveragetest
104 104 ```
105 105  
106 106  
... ...