tree: 46b02918608a6ff020b6b0f99912a3e6bc8b940b [path history] [tgz]
  1. attr/
  2. buf/
  3. commit/
  4. config/
  5. core/
  6. diff/
  7. index/
  8. network/
  9. notes/
  10. object/
  11. odb/
  12. refs/
  13. repo/
  14. revwalk/
  15. status/
  16. clar
  17. clar_helpers.c
  18. clar_libgit2.h
  19. README.md
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/tanoku/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.