tree: 40187554b0f0912c849768bce692640cc299e7ec [path history] [tgz]
  1. attr/
  2. buf/
  3. checkout/
  4. clone/
  5. commit/
  6. config/
  7. core/
  8. date/
  9. diff/
  10. index/
  11. network/
  12. notes/
  13. object/
  14. odb/
  15. pack/
  16. refs/
  17. repo/
  18. reset/
  19. resources/
  20. revwalk/
  21. status/
  22. submodule/
  23. threads/
  24. clar
  25. clar_helpers.c
  26. clar_libgit2.h
  27. README.md
  28. 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.