tree: f6ccc57679bb0769d96ba5e1e3fe301eb50b5222 [path history] [tgz]
  1. attr/
  2. buf/
  3. checkout/
  4. clar/
  5. clone/
  6. commit/
  7. config/
  8. core/
  9. date/
  10. diff/
  11. fetchhead/
  12. filter/
  13. index/
  14. merge/
  15. network/
  16. notes/
  17. object/
  18. odb/
  19. online/
  20. pack/
  21. refs/
  22. repo/
  23. reset/
  24. resources/
  25. revwalk/
  26. stash/
  27. status/
  28. stress/
  29. submodule/
  30. threads/
  31. trace/
  32. clar.c
  33. clar.h
  34. clar_libgit2.c
  35. clar_libgit2.h
  36. generate.py
  37. main.c
  38. README.md
  39. 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.