libgit2/tests
Edward Thomson 9f1af7f279 Merge pull request #3168 from libgit2/cmn/config-tx
Locking and transactional/atomic updates for config
2015-08-13 10:22:50 -07:00
..
attr
blame Fix #3094 - improve use of portable size_t/ssize_t format specifiers. 2015-07-12 19:55:19 +02:00
buf
checkout
cherrypick
clar
clone
commit
config config: perform unlocking via git_transaction 2015-08-12 04:09:38 +02:00
core errors: tighten up git_error_state OOMs a bit more 2015-08-03 19:44:51 -04:00
date
describe
diff Added git_diff_index_to_index() 2015-06-30 10:03:32 -07:00
fetchhead
filter wildcard filters: move CHANGELOG message to 0.23+1 2015-07-10 09:53:30 -05:00
graph
index index: test that an unregistered submodule gets staged 2015-08-01 19:52:25 +02:00
merge Merge branch 'portable-zu' 2015-07-12 19:56:19 +02:00
network remote: add failing test for a mirror refspec 2015-08-11 20:44:19 +02:00
notes
object
odb
online git__getenv: utf-8 aware env reader 2015-07-02 16:35:43 +00:00
pack
path
perf
rebase
refs refdb: delete a ref's reflog upon deletion 2015-07-12 19:08:06 +02:00
remote
repo iterator: adjust unreadable-dir test to new behaviour 2015-07-27 13:31:06 +02:00
reset
resources
revert revert: correct test that added trailing newline 2015-07-07 17:01:49 -05:00
revwalk revwalk: add failing test for hiding and then pushing a commit 2015-04-08 23:42:36 +02:00
stash
status
stress diff: introduce binary diff callbacks 2015-06-12 09:39:20 -04:00
submodule Merge pull request #3307 from libgit2/cmn/submodule-backslash 2015-07-24 15:05:16 -05:00
threads
trace
transport
clar_libgit2_timer.c
clar_libgit2_timer.h
clar_libgit2_trace.c
clar_libgit2_trace.h
clar_libgit2.c Merge branch 'portable-zu' 2015-07-12 19:56:19 +02:00
clar_libgit2.h git__getenv: utf-8 aware env reader 2015-07-02 16:35:43 +00:00
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.