libgit2/tests
Patrick Steinhardt 5fe5557e8a Merge pull request #3974 from libgit2/pks/synchronize-shutdown
global: synchronize initialization and shutdown with pthreads
2016-11-04 18:18:46 +01:00
..
apply git_patch_parse_ctx: refcount the context 2016-05-26 13:01:08 -05:00
attr ignore: fix directory limits when searching for star-star 2016-04-19 19:39:05 +02:00
blame
buf git_buf_quote/unquote: handle > \177 2016-05-26 13:01:07 -05:00
checkout git_checkout_tree options fix 2016-08-30 08:04:28 +02:00
cherrypick
clar
clone
commit Fix initial commit test 2016-05-04 11:15:56 -07:00
config leaks: fix some leaks in the tests 2016-03-31 10:41:33 -04:00
core Merge pull request #3974 from libgit2/pks/synchronize-shutdown 2016-11-04 18:18:46 +01:00
date
describe
diff Merge branch 'pr/3809' 2016-10-09 16:05:48 +01:00
fetchhead
filter
graph
index tests: index: do not re-allocate index 2016-08-29 13:29:01 +02:00
iterator tests: use a size_t 2016-07-24 15:49:19 -04:00
merge git_diff_generated: abstract generated diffs 2016-05-26 13:01:08 -05:00
network Remove unused static functions 2016-06-21 07:58:33 +02:00
notes
object tests: blob: remove unused callback function 2016-08-09 10:09:23 +02:00
odb revwalk: introduce tests that hide old commits 2016-10-06 11:04:55 +02:00
online tests: fetchhead: fix memory leak 2016-10-27 11:29:15 +02:00
pack
patch diff: treat binary patches with no data special 2016-09-05 12:26:47 -05:00
path
perf
rebase rebase: test rebasing a new commit with subfolder 2016-06-02 02:38:18 -05:00
refs branch: fix forced branch creation on HEAD of a bare repo 2016-11-04 18:12:35 +01:00
remote
repo repo::open: remove dead code, free buffers 2016-07-24 15:49:19 -04:00
reset odb: actually insert the empty blob in tests 2016-08-05 20:34:19 -04:00
resources Merge branch 'pr/3809' 2016-10-09 16:05:48 +01:00
revert
revwalk revwalk: port over the topological sorting 2016-10-06 11:04:55 +02:00
stash
status ignore: allow unignoring basenames in subdirectories 2016-08-12 14:47:54 +02:00
stress
submodule status: test submodules with mixed case 2016-03-31 17:58:43 -04:00
threads threads: split up OS-dependent thread code 2016-06-20 19:32:59 +02:00
trace
transport tests: transport: fix memory leaks with registering transports 2016-03-11 11:06:42 +01:00
win32
clar_libgit2_timer.c
clar_libgit2_timer.h
clar_libgit2_trace.c
clar_libgit2_trace.h
clar_libgit2.c
clar_libgit2.h
clar.c clar: fix parsing of test suite prefixes 2016-08-04 11:49:39 +02:00
clar.h
generate_crlf.sh
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.