libgit2/tests-clar
Scott J. Goldman 06ac3e7f34 Fix clar generated code to compile on MINGW32
MINGW32 does not define _mktemp_s, so we can just use _mktemp instead. See
the non-compressed/non-base64-encoded version of the patch here:
http://gist.github.com/2605249
2012-05-05 13:16:48 -07:00
..
attr Fix the build on Windows 2012-03-09 11:10:22 -08: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 Discovered cl_git_strequal! Mounted a crusade! 2012-03-31 19:47:59 -07:00
core Clean up GIT_UNUSED macros on all platforms 2012-03-02 15:51:55 -08:00
diff diff_output: remove unused parameter 2012-03-21 11:56:01 +01: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 Discovered cl_git_strequal! Mounted a crusade! 2012-03-31 19:47:59 -07:00
notes Discovered cl_git_strequal! Mounted a crusade! 2012-03-31 19:47:59 -07:00
object tests-clar/object: remove unused helper print_tree() 2012-04-03 11:08:23 +02:00
odb Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
refs tests: Cleanup & fix test suite 2012-04-03 04:52:52 +02:00
repo Simple readability fixes. 2012-03-31 20:12:29 -07:00
resources Moved testing resources to clar, and removed old tests directory. 2012-03-31 16:10:01 -07:00
revwalk Simple test for pushing HEAD and hiding a branch 2012-02-27 22:46:45 +01:00
status Revert GIT_STATUS constants to avoid issues 2012-03-02 15:51:55 -08:00
threads t13-threads.c ported. 2012-03-30 13:05:54 -07:00
clar Fix clar generated code to compile on MINGW32 2012-05-05 13:16:48 -07:00
clar_helpers.c clar: Properly create file in helper 2012-04-04 01:31:29 +02: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.