libgit2/tests
2015-05-11 14:12:42 -04:00
..
attr Improvements to ignore performance on Windows. 2015-04-28 14:24:58 -04:00
blame
buf
checkout checkout test: better case-insensitive test on Mac 2015-05-04 07:18:30 -05:00
cherrypick Renamed git_merge_options 'flags' to 'tree_flags' 2015-03-16 09:53:27 +02:00
clar
clone clone: add failing test for local transport with a tag 2015-03-17 20:50:39 +01:00
commit
config config: test all multivars are updated 2015-05-04 07:41:41 -05:00
core stash_apply: provide its own options structure 2015-05-11 14:12:39 -04:00
date
describe describe: only abort without tags if fallback is not allowed. 2015-04-07 17:32:56 +02:00
diff git_path_dirload: use git_path_diriter 2015-05-01 12:31:09 -04:00
fetchhead
filter squash some leaks 2015-03-24 20:58:00 +00:00
graph
index index: introduce git_index_read_index 2015-05-11 14:12:05 -04:00
merge merge: merge iterators 2015-05-11 14:11:56 -04:00
network Fix for Issue #3023 tests fail with no network 2015-04-21 20:02:24 -04:00
notes note: use a git_buf to return the default namespace 2015-03-17 20:50:02 +01:00
object
odb
online Merge pull request #3059 from libgit2/cmn/negotiation-notify 2015-05-01 11:28:54 -04:00
pack
path
perf
rebase Fixed unused warning in tests/rebase/merge.c 2015-04-30 14:17:05 +02:00
refs Add tests for the annotated versions of ref-modifying functions 2015-03-16 16:57:30 +01:00
repo Merge remote-tracking branch 'ethomson/submodule_8dot3' 2015-03-18 04:59:16 +01:00
reset Add tests for the annotated versions of ref-modifying functions 2015-03-16 16:57:30 +01:00
resources Specify mock config file content in test. 2015-04-21 14:21:52 -04:00
revert Renamed git_merge_options 'flags' to 'tree_flags' 2015-03-16 09:53:27 +02:00
revwalk revwalk: add failing test for hiding and then pushing a commit 2015-04-08 23:42:36 +02:00
stash stash_apply: provide progress callbacks 2015-05-11 14:12:42 -04:00
status status test: always test the new file path 2015-05-04 07:18:29 -05:00
stress
submodule Implement git_submodule_set_branch. 2015-04-12 10:51:08 +02:00
threads
trace
transport
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: update to 08f434d 2015-03-17 19:04:48 -04:00
clar.h
generate.py
main.c Add MSVC CRTDBG memory leak reporting. 2015-04-15 10:25:09 -04:00
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.