tree: 83a4ae9d6d384161fb543a151a9130429e2ee366 [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. network/
  13. notes/
  14. object/
  15. odb/
  16. pack/
  17. refs/
  18. repo/
  19. reset/
  20. resources/
  21. revwalk/
  22. stash/
  23. status/
  24. submodule/
  25. threads/
  26. clar
  27. clar_helpers.c
  28. clar_libgit2.h
  29. README.md
  30. 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.