libgit2/tests
Edward Thomson 4f9f8e0dc9 Merge pull request #3436 from pks-t/libgit2-worktree
Worktree implementation
2017-02-13 11:10:49 +00: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 blame: use size_t for line counts in git_blame_hunk 2015-12-01 09:02:47 +01:00
buf git_buf_quote/unquote: handle > \177 2016-05-26 13:01:07 -05:00
checkout checkout::tree test: cleanup memory leak 2017-01-23 17:32:13 -06: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 path: ensure dirname on Win32 prefix always has a trailing '/' 2017-02-08 12:05:47 +01:00
date
describe
diff Merge branch 'pr/3809' 2016-10-09 16:05:48 +01:00
fetchhead tests: update error message checking 2016-12-29 12:55:49 +00:00
filter
graph
index tests: index: do not re-allocate index 2016-08-29 13:29:01 +02:00
iterator tests: add merge-conflict branch for testrepo 2017-02-13 10:13:02 +01:00
merge merge_trees: introduce test for submodule renames 2017-02-09 18:13:06 +00:00
network Remove unused static functions 2016-06-21 07:58:33 +02:00
notes
object tree: add a failing test for unsorted input 2016-11-14 12:22:20 +01:00
odb tests: update error message checking 2016-12-29 12:55:49 +00:00
online https: don't test that RC4 is invalid 2017-01-09 18:32:11 +00:00
pack Addressed review feedback 2017-01-14 16:37:00 +00:00
patch diff: treat binary patches with no data special 2016-09-05 12:26:47 -05:00
path index: allow read of index w/ illegal entries 2016-02-17 13:10:33 +00:00
perf
rebase rebase: plug a leak in the tests 2016-12-17 00:55:06 +00:00
refs tests: add merge-conflict branch for testrepo 2017-02-13 10:13:02 +01:00
remote
repo tests: repo: assert discovery starting at Win32 roots finishes 2017-02-08 12:06:05 +01:00
reset odb: actually insert the empty blob in tests 2016-08-05 20:34:19 -04:00
resources Merge pull request #3436 from pks-t/libgit2-worktree 2017-02-13 11:10:49 +00:00
revert
revwalk tests: add merge-conflict branch for testrepo 2017-02-13 10:13:02 +01:00
stash
status ignore: allow unignoring basenames in subdirectories 2016-08-12 14:47:54 +02:00
stress
submodule Allow for caching of submodules. 2017-01-20 17:33:56 -05:00
threads refdb: disable concurrent compress in the threading tests on Windows 2016-12-12 17:09:12 +00:00
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
worktree worktree: test opening worktree via gitlink, gitdir and worktree 2017-02-13 11:12:01 +01:00
clar_libgit2_timer.c
clar_libgit2_timer.h
clar_libgit2_trace.c
clar_libgit2_trace.h
clar_libgit2.c
clar_libgit2.h clar: mark cl_git_thread_check() as inline 2016-12-12 09:16:33 +01:00
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.