libgit2/tests
2014-05-22 19:26:55 +10:00
..
attr Some further sandboxing cleanups to tests 2014-05-02 09:21:33 -07:00
blame
buf
checkout
cherrypick
clar
clone
commit commit: safer commit creation with reference update 2014-04-30 00:41:37 +02:00
config Merge pull request #2188 from libgit2/cmn/config-snapshot 2014-05-12 10:04:52 -07:00
core
date
diff Don't scale diff stat when not needed 2014-05-12 10:28:45 -07:00
fetchhead
filter Add filter options and ALLOW_UNSAFE 2014-05-06 16:01:49 -07:00
graph
index
merge
network
notes
object Merge pull request #2334 from libgit2/rb/fix-2333 2014-05-12 10:44:13 -07:00
odb odb: ignore files in the objects dir 2014-05-05 16:34:18 +02:00
online
pack
refs Don't always test composed-insensitive lookups 2014-05-08 14:48:27 -07:00
repo
reset
resources
revert
revwalk
stash
status Remove errant newline 2014-05-22 19:26:55 +10:00
stress
structinit Fix remaining init_options inconsistencies 2014-05-02 09:21:33 -07:00
submodule
threads Disable threads::refdb::edit_while_iterate test 2014-05-08 15:01:07 -07:00
trace Remove trace / add git_diff_perfdata struct + api 2014-05-02 09:21:33 -07:00
clar_libgit2.c Allow cl_repo_get_bool to work with missing key 2014-05-08 14:33:37 -07:00
clar_libgit2.h Improve handling of fake home directory 2014-05-02 09:21:33 -07:00
clar.c
clar.h
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.