Index: HACKING =================================================================== --- HACKING +++ HACKING @@ -63,23 +63,15 @@ Build zanshin : --------------- - first install the dependences. - On Arch Linux : - > sudo pacman -S qt5 kdepim cmake extra-cmake-modules boost kf5 appstream - > sudo pacman -S ruby - > gem install cucumber - > nano ~/.bashrc - Add this line in your ~/.bashrc - PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH" - - And restart your shell with: - > exec $SHELL + First install the dependencies. - On Linux Mint : - > sudo apt install kdepim extra-cmake-modules qt-sdk qt5-default qtdeclarative5-dev libkf5* phonon-backend-gstreamer - + depends = kdepim-runtime kldap kontactinterface akonadi-search + makedepends = extra-cmake-modules kdoctools boost python krunner kdelibs4support kdesignerplugin + + For the tests, you will need Cucumber (you will need to install Ruby first) + Build : - zansin/build + zanshin/build do : > cmake .. > make @@ -88,13 +80,13 @@ Run the test: ------------- Zanshin is written in TDD. For each feature you should write a test first. - The test are located in Zansin/tests/* + The test are located in zanshin/tests/* You have 2 kind of test available : unitest To run the unittest you need to have cmake extra modules (especialy ctest) and to compile the projetc with cmake. - you just have to run the command ```ctest``` in Zanshin/build/ + you just have to run the command ```ctest``` in zanshin/build/ feature test - To run those test go to Zanshin/build/tests/features/zansin and run : + To run those test go to Zanshin/build/tests/features/zanshin and run : > ./zanshin-features-run