libgit2/tests-clar
2013-09-07 09:18:56 -07:00
..
attr
buf
checkout Fix tests of file modes 2013-09-05 11:45:29 -07:00
clar Update clar 2013-09-04 16:23:00 -07:00
clone
commit
config Merge pull request #1772 from libgit2/config-iter 2013-08-28 06:04:51 -07:00
core Clean up one other mode_t assertion 2013-09-04 16:23:00 -07:00
date
diff Fix some newer GCC compiler warnings 2013-09-05 10:25:16 -07:00
fetchhead
index Better macro name for is-exec-bit-set test 2013-09-05 16:14:32 -07:00
merge
network tests: Fix memory leaks 2013-09-07 17:51:24 +02:00
notes
object odb: Prevent stream_finalize_write() from overwriting 2013-09-06 22:47:28 +02:00
odb revparse: Prevent unnecessary odb backend calls 2013-09-07 17:48:05 +02:00
online
pack
refs Merge pull request #1805 from libgit2/threading-packed-load 2013-08-28 09:38:14 -07:00
repo Better macro name for is-exec-bit-set test 2013-09-05 16:14:32 -07:00
reset
resources remote: Relax the parsing logic even more 2013-08-27 19:31:19 +02:00
revwalk
stash
status Split rewrites, status doesn't return rewrites 2013-08-28 08:30:19 -05:00
stress Trying to fix Win32 warnings 2013-08-22 14:45:10 -07:00
submodule
threads Fix typo _delete -> _free 2013-08-29 13:22:44 +02:00
trace
clar_libgit2.c Fix tests to use core.filemode correctly 2013-09-04 16:41:34 -07:00
clar_libgit2.h Fix tests to use core.filemode correctly 2013-09-04 16:41:34 -07:00
clar.c Update clar 2013-09-04 16:23:00 -07:00
clar.h Update clar 2013-09-04 16:23:00 -07:00
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.