tree: f20757603c2fba9026ee2b5335c82d236f5e869a [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. index/
  13. merge/
  14. network/
  15. notes/
  16. object/
  17. odb/
  18. online/
  19. pack/
  20. refs/
  21. repo/
  22. reset/
  23. resources/
  24. revwalk/
  25. stash/
  26. status/
  27. submodule/
  28. threads/
  29. trace/
  30. clar.c
  31. clar.h
  32. clar_libgit2.c
  33. clar_libgit2.h
  34. generate.py
  35. main.c
  36. README.md
  37. 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.