libgit2/tests-clar
Vicent Martí 40879facad Merge branch 'new-error-handling' into development
Conflicts:
	.travis.yml
	include/git2/diff.h
	src/config_file.c
	src/diff.c
	src/diff_output.c
	src/mwindow.c
	src/path.c
	tests-clar/clar_helpers.c
	tests-clar/object/tree/frompath.c
	tests/t00-core.c
	tests/t03-objwrite.c
	tests/t08-tag.c
	tests/t10-refs.c
	tests/t12-repo.c
	tests/t18-status.c
	tests/test_helpers.c
	tests/test_main.c
2012-05-02 15:59:02 -07:00
..
attr attr: add test coverage related to crlf normalization while staging 2012-05-01 00:33:25 +02:00
buf Discovered cl_git_strequal! Mounted a crusade! 2012-03-31 19:47:59 -07:00
commit tests-clar/commit: fix memory leaks 2012-04-03 11:07:04 +02:00
config Merge branch 'new-error-handling' into development 2012-05-02 15:59:02 -07:00
core Rename git_khash_str to git_strmap, etc. 2012-04-25 15:20:28 -07:00
diff Merge branch 'new-error-handling' into development 2012-05-02 15:59:02 -07:00
hash t07_hashtable.c ported. 2012-03-30 12:05:35 -07:00
index tests-clar/index: actually assert result 2012-04-03 11:09:39 +02:00
network Merge branch 'new-error-handling' into development 2012-05-02 15:59:02 -07:00
notes Discovered cl_git_strequal! Mounted a crusade! 2012-03-31 19:47:59 -07:00
object Merge branch 'new-error-handling' into development 2012-05-02 15:59:02 -07:00
odb Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
refs Merge branch 'new-error-handling' into development 2012-05-02 15:59:02 -07:00
repo Merge branch 'new-error-handling' into development 2012-05-02 15:59:02 -07:00
resources Merge branch 'new-error-handling' into development 2012-05-02 15:59:02 -07:00
revwalk revwalk: add test hiding a commit without a merge base 2012-04-12 20:25:25 +02:00
status Fix leading slash behavior in attrs/ignores 2012-04-26 10:51:45 -07:00
threads t13-threads.c ported. 2012-03-30 13:05:54 -07:00
clar tests-clar: update to latest version of clar 2012-04-21 18:36:13 +02:00
clar_helpers.c Merge branch 'new-error-handling' into development 2012-05-02 15:59:02 -07:00
clar_libgit2.h Update clar and remove old helpers 2012-04-17 10:35:11 -07:00
README.md Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00

Writing Clar tests for libgit2

For information on the Clar testing framework and a detailed introduction please visit:

https://github.com/tanoku/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.