tree: 684cf56b07be99a22580ccc7395c440a00a80348 [path history] [tgz]
  1. README.md
  2. attr/
  3. blame/
  4. buf/
  5. checkout/
  6. cherrypick/
  7. clar.c
  8. clar.h
  9. clar/
  10. clar_libgit2.c
  11. clar_libgit2.h
  12. clar_libgit2_timer.c
  13. clar_libgit2_timer.h
  14. clar_libgit2_trace.c
  15. clar_libgit2_trace.h
  16. clone/
  17. commit/
  18. config/
  19. core/
  20. date/
  21. describe/
  22. diff/
  23. fetchhead/
  24. filter/
  25. generate.py
  26. generate_crlf.sh
  27. graph/
  28. index/
  29. main.c
  30. merge/
  31. network/
  32. notes/
  33. object/
  34. odb/
  35. online/
  36. pack/
  37. path/
  38. perf/
  39. rebase/
  40. refs/
  41. remote/
  42. repo/
  43. reset/
  44. resources/
  45. revert/
  46. revwalk/
  47. stash/
  48. status/
  49. stress/
  50. submodule/
  51. threads/
  52. trace/
  53. transport/
  54. valgrind-supp-mac.txt
  55. win32/
tests/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.