libgit2/tests
2014-02-24 05:32:05 -08:00
..
attr
blame Staticize file-local variables 2014-02-24 05:32:05 -08:00
buf
checkout Tests for core.autocrlf and .gitattributes 2014-02-09 13:45:38 -08:00
clar
clone Enhance testing of signature parameters 2014-01-30 15:53:52 -08:00
commit
config Remove converting user error to GIT_EUSER 2013-12-11 10:57:49 -08:00
core Add some priority queue tests 2014-02-03 21:04:40 -08:00
date
diff
fetchhead Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
filter Fix filter test for CRLF->LF issues 2014-02-11 19:05:52 -06:00
graph
index Staticize file-local variables 2014-02-24 05:32:05 -08:00
merge
network Correct default reflog message for git_remote_fetch 2014-02-06 11:18:10 -08:00
notes note: rename the id getter to git_note_id() 2014-01-24 11:18:51 +01:00
object Add git_commit_amend API 2014-02-07 16:17:59 -08:00
odb
online Only run clone-failure test on private repo 2014-02-05 19:27:27 -08:00
pack Test cancel from indexer progress callback 2013-12-11 15:02:20 -08:00
refs refs: move current_id before the reflog parameters 2014-02-10 14:52:28 +01:00
repo Address PR comments 2014-02-20 14:27:10 -08:00
reset
resources
revert
revwalk revwalk: add a test for pushing all references 2014-02-05 12:16:44 +01:00
stash
status Add reflog params to set-head calls 2014-01-30 15:51:00 -08:00
stress
submodule
threads
trace Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
clar_libgit2.c Tests for core.autocrlf and .gitattributes 2014-02-09 13:45:38 -08:00
clar_libgit2.h Tests for core.autocrlf and .gitattributes 2014-02-09 13:45:38 -08:00
clar.c
clar.h
generate.py
main.c
README.md
valgrind-supp-mac.txt

Writing Clar tests for libgit2

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

https://github.com/vmg/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.