libgit2/tests-clar
2013-04-18 14:59:25 -07:00
..
attr
buf
checkout use a longer string for dummy data in test to avoid conflicting w/ index 2013-04-17 17:21:17 -05:00
clar
clone Merge remote-tracking branch 'ben/unified-revparse' into development 2013-04-15 23:18:24 +02:00
commit commit: correctly detect the start of the commit message 2013-04-15 12:24:08 +02:00
config
core Merge pull request #1436 from schu/opts-cache-size 2013-03-26 11:05:57 -07:00
date
diff Notify '*' pathspec correctly when diffing 2013-04-11 09:59:26 +02:00
fetchhead
index Test fixes and cleanup 2013-03-25 14:03:16 -07:00
merge
network tag: Fix parsing when no tagger nor message 2013-03-31 14:36:51 +02:00
notes
object tag: Fix parsing when no tagger nor message 2013-03-31 14:36:51 +02:00
odb tag: Fix parsing when no tagger nor message 2013-03-31 14:36:51 +02:00
online Allow git_remote_ls after disconnecting from the remote 2013-04-15 23:22:32 +02:00
pack
refdb Fix win64 warnings 2013-04-18 14:59:25 -07:00
refs git_revision -> git_revspec 2013-04-15 23:40:46 +02:00
repo Fix fs iterator test on case sensitive fs 2013-04-18 14:59:25 -07:00
reset Change git_revparse to output git_object pointers 2013-04-15 12:00:04 -07:00
resources tag: Fix parsing when no tagger nor message 2013-03-31 14:36:51 +02:00
revwalk revwalk: Parse revision ranges 2013-04-06 20:51:16 -07:00
stash Change git_revparse to output git_object pointers 2013-04-15 12:00:04 -07:00
status Tests and more fixes for submodule diffs 2013-04-09 14:52:32 -07:00
submodule
threads
trace
clar_libgit2.c
clar_libgit2.h
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.