mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 08:58:41 +00:00
![]() This commit addresses two of the comments: * renamed existing n-input git_buf_join to git_buf_join_n * added new git_buf_join that always takes two inputs * moved some parameter error checking to asserts * extended unit tests to cover new version of git_buf_join |
||
---|---|---|
.. | ||
buf | ||
config | ||
core | ||
index | ||
network | ||
object | ||
status | ||
clay | ||
clay_libgit2.h | ||
clay_main.c | ||
clay.h | ||
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.