diff --git a/HACKING b/HACKING --- a/HACKING +++ b/HACKING @@ -59,4 +59,34 @@ - ActionListEditor allows to display action lists and add (or remove) items to them. +* Build and test + + Build zanshin : + --------------- + First install the dependencies. + + 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 : + zanshin/build + do : + > cmake .. + > make + + + Run the test: + ------------- + Zanshin is written in TDD. For each feature you should write a test first. + 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/ + feature test + To run those test go to Zanshin/build/tests/features/zanshin and run : + > ./zanshin-features-run