libgit2/tests
Edward Thomson d383c39b3b Introduce git_signature_from_buffer
Allow users to construct a signature from the type of signature
lines that actually appear in commits.
2016-04-28 12:47:14 -04:00
..
attr ignore: fix directory limits when searching for star-star 2016-04-19 19:39:05 +02:00
blame blame: use size_t for line counts in git_blame_hunk 2015-12-01 09:02:47 +01:00
buf
checkout win32: introduce p_timeval that isn't stupid 2016-02-12 10:34:15 -08:00
cherrypick merge: rename git_merge_tree_flags_t -> git_merge_flags_t 2015-11-25 15:37:05 -05:00
clar
clone clone::nonetwork: don't use fixed size buffer 2015-09-14 13:58:38 -04:00
commit Introduce git_signature_from_buffer 2016-04-28 12:47:14 -04:00
config leaks: fix some leaks in the tests 2016-03-31 10:41:33 -04:00
core tests: fix core/stream test when built with openssl off 2016-04-06 15:00:32 +02:00
date
describe
diff diff: test submodules are found with trailing / 2016-04-02 13:02:41 -07:00
fetchhead
filter
graph
index tests: nsec: correctly free nsec_path 2016-03-11 09:07:42 +01:00
iterator tests: skip the unreadable file tests as root 2016-04-11 15:32:38 -04:00
merge merge drivers: handle configured but not found driver 2016-03-17 11:06:00 -04:00
network netops: make the path optional in URLs 2016-04-19 13:54:19 +02:00
notes
object tag: ignore extra header fields 2016-04-25 12:18:32 +02:00
odb odb: Handle corner cases in git_odb_expand_ids 2016-03-09 11:00:27 +01:00
online clone test: annotate unused vars 2016-04-21 11:05:21 -04:00
pack
path index: allow read of index w/ illegal entries 2016-02-17 13:10:33 +00:00
perf
rebase rebase::abort: test we can abort rebase by revspec 2016-04-26 11:49:05 -04:00
refs Allow creating copies of git_reference objects. 2016-04-22 10:34:17 -07:00
remote
repo iterator: give the tests a proper hierarchy 2016-03-24 15:59:48 -04:00
reset reset: use real ids for the tests 2016-04-11 11:47:56 -04:00
resources status: test submodules with mixed case 2016-03-31 17:58:43 -04:00
revert merge: rename git_merge_tree_flags_t -> git_merge_flags_t 2015-11-25 15:37:05 -05:00
revwalk merge: Fix memory leak in test 2015-11-02 13:47:04 +01:00
stash
status tests: skip the unreadable file tests as root 2016-04-11 15:32:38 -04:00
stress
submodule status: test submodules with mixed case 2016-03-31 17:58:43 -04:00
threads
trace
transport tests: transport: fix memory leaks with registering transports 2016-03-11 11:06:42 +01:00
win32 Merge pull request #3613 from ethomson/fixups 2016-02-18 12:31:56 +01:00
clar_libgit2_timer.c
clar_libgit2_timer.h
clar_libgit2_trace.c
clar_libgit2_trace.h
clar_libgit2.c tests: use out-of-the-way config dir in sandbox 2015-11-17 11:22:01 -05:00
clar_libgit2.h
clar.c
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.