tree: 84487609800dfbfff36928928fa2e253f0cc62e1 [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. refdb/
  21. refs/
  22. repo/
  23. reset/
  24. resources/
  25. revwalk/
  26. stash/
  27. status/
  28. submodule/
  29. threads/
  30. trace/
  31. clar.c
  32. clar.h
  33. clar_libgit2.c
  34. clar_libgit2.h
  35. generate.py
  36. main.c
  37. README.md
  38. 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.