tree: 48d3475077ea43288a5c0e6d87cf724db470b44a [path history] [tgz]
  1. attr/
  2. buf/
  3. commit/
  4. config/
  5. core/
  6. date/
  7. diff/
  8. index/
  9. network/
  10. notes/
  11. object/
  12. odb/
  13. refs/
  14. repo/
  15. reset/
  16. resources/
  17. revwalk/
  18. status/
  19. threads/
  20. clar
  21. clar_helpers.c
  22. clar_libgit2.h
  23. 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.