tree: 6fe699789ed0c813e245ddccada4c25b69775f34 [path history] [tgz]
  1. attr/
  2. buf/
  3. config/
  4. core/
  5. index/
  6. network/
  7. object/
  8. odb/
  9. refs/
  10. repo/
  11. status/
  12. clar
  13. clar_helpers.c
  14. clar_libgit2.h
  15. 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.