tree: af5386c6f791d23ae97b71ce91fdc8e764bb0bba [path history] [tgz]
  1. config/
  2. core/
  3. index/
  4. network/
  5. object/
  6. status/
  7. clay
  8. clay.h
  9. clay_libgit2.h
  10. clay_main.c
  11. README.md
tests-clay/README.md

Writing Clay tests for libgit2

For information on the Clay testing framework and a detailed introduction please visit:

https://github.com/tanoku/clay

  • Write your modules and tests. Use good, meaningful names.

  • Mix the tests:

      ./clay -vtap .
    
  • Make sure you actually build the tests by setting:

      BUILD_CLAY=ON
    
  • Test:

      ./build/libgit2_clay
    
  • Make sure everything is fine.

  • Send your pull request. That's it.