libgit2/tests-clar
2012-04-11 12:10:14 -07:00
..
attr Convert attr, ignore, mwindow, status to new errors 2012-03-16 15:56:01 -07:00
buf Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
commit commit: actually allow yet to be born update_ref 2012-02-15 13:07:41 +01:00
config error-handling: References 2012-03-06 00:43:10 +01:00
core Merge pull request #619 from nulltoken/topic/branches 2012-04-11 03:43:30 -07:00
diff Fix error in tree iterator when popping up trees 2012-03-25 21:26:48 -07:00
index Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
network transport/local: Fix peeling of nested tags 2012-04-10 21:39:01 +02:00
notes tests-clar/notes: init oid before using 2012-02-23 23:38:48 +01:00
object tag: Add git_tag_peel() which recursively peel a tag until a non tag git_object is met 2012-04-10 21:38:49 +02:00
odb Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
refs tests: Remove unused file 2012-04-11 19:17:21 +02:00
repo Cannot set workdir to a nonexistent dir 2012-04-11 12:10:14 -07:00
revwalk Simple test for pushing HEAD and hiding a branch 2012-02-27 22:46:45 +01:00
status Merge pull request #619 from nulltoken/topic/branches 2012-04-11 03:43:30 -07:00
clar Update to latest clar 2012-03-19 16:09:03 -07:00
clar_helpers.c Clean up GIT_UNUSED macros on all platforms 2012-03-02 15:51:55 -08:00
clar_libgit2.h Clean up GIT_UNUSED macros on all platforms 2012-03-02 15:51:55 -08: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.