tree: d1dd08b8cdd653f764f91712693f42f1ce91ed9b [path history] [tgz]
  1. attr/
  2. buf/
  3. checkout/
  4. clone/
  5. commit/
  6. config/
  7. core/
  8. date/
  9. diff/
  10. fetchhead/
  11. index/
  12. merge/
  13. network/
  14. notes/
  15. object/
  16. odb/
  17. pack/
  18. refs/
  19. repo/
  20. reset/
  21. resources/
  22. revwalk/
  23. stash/
  24. status/
  25. submodule/
  26. threads/
  27. treediff/
  28. clar
  29. clar_helpers.c
  30. clar_libgit2.h
  31. README.md
  32. valgrind-supp-mac.txt
tests-clar/README.md

Writing Clar tests for libgit2

For information on the Clar testing framework and a detailed introduction please visit:

https://github.com/vmg/clar

  • Write your modules and tests. Use good, meaningful names.

  • Make sure you actually build the tests by setting:

      cmake -DBUILD_CLAR=ON build/
    
  • Test:

      ./build/libgit2_clar
    
  • Make sure everything is fine.

  • Send your pull request. That's it.