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