libgit2/tests-clay
Russell Belfer 969d588d9a Optimized of git_buf_join.
This streamlines git_buf_join and removes the join-append behavior,
opting instead for a very compact join-replace of the git_buf contents.
The unit tests had to be updated to remove the join-append tests and
have a bunch more exhaustive tests added.
2011-11-30 13:10:47 -08:00
..
buf clay: Merge manually @leto's tests from #485 2011-11-22 01:41:22 +01:00
config repository: Change ownership semantics 2011-11-26 08:37:08 +01:00
core Optimized of git_buf_join. 2011-11-30 13:10:47 -08:00
index tests-clay: remove extra semi-colon in clay_libgit2.h, add one to index/rename.c 2011-11-22 01:19:07 -06:00
network repository: Change ownership semantics 2011-11-26 08:37:08 +01:00
object Rename all _close methods 2011-11-26 08:48:00 +01:00
odb Rename all _close methods 2011-11-26 08:48:00 +01:00
repo Plug a bunch of leaks 2011-11-28 21:08:29 +01:00
status Implement p_rename 2011-11-07 20:34:27 +01:00
clay clay: Bump to 0.9.0, add TAP support 2011-11-18 01:40:35 +01:00
clay_libgit2.h Optimized of git_buf_join. 2011-11-30 13:10:47 -08:00
clay_main.c Optimized of git_buf_join. 2011-11-30 13:10:47 -08:00
clay.h Optimized of git_buf_join. 2011-11-30 13:10:47 -08:00
README.md Update clay instructions to use -vtap 2011-11-18 02:35:46 +01:00

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.