libgit2/tests-clar
Ben Straub fd29cd13b7 Moved testing resources to clar, and removed old tests directory.
Removed the BUILD_CLAR CMake flag, and updated the readme.
2012-03-31 16:10:01 -07:00
..
attr Fix the build on Windows 2012-03-09 11:10:22 -08: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 config: write out section headers with subsections correctly 2012-03-09 20:43:17 +01: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 Moved more assertions inside Clar test helpers. 2012-03-31 15:51:35 -07:00
network introduced new function: git_remote_supported_url() <-- returns true if this version of libgit2 supports the correct transport mechanism for a URL or path 2012-03-01 08:31:50 -05:00
notes tests-clar/notes: init oid before using 2012-02-23 23:38:48 +01:00
object Moved more assertions inside Clar test helpers. 2012-03-31 15:51:35 -07:00
odb Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
refs Moved more assertions inside Clar test helpers. 2012-03-31 15:51:35 -07:00
repo Moved more assertions inside Clar test helpers. 2012-03-31 15:51:35 -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 Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08: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.