libgit2/tests-clar
Russell Belfer bfc9ca595a Added submodule API and use in status
When processing status for a newly checked out repo, it is
possible that there will be submodules that have not yet been
initialized.  The only way to distinguish these from untracked
directories is to have some knowledge of submodules.  This
commit adds a new submodule API which, given a name or path,
can determine if it appears to be a submodule and can give
information about the submodule.
2012-03-28 16:45:36 -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 Convert reflog to new errors 2012-03-20 21:57:38 -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 Add git_remote_list() 2012-02-26 19:15:36 +01:00
notes tests-clar/notes: init oid before using 2012-02-23 23:38:48 +01:00
object Convert attr, ignore, mwindow, status to new errors 2012-03-16 15:56:01 -07:00
odb Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
refs tests-clar: fix warning sign-compare 2012-02-13 12:13:05 +01:00
repo repository: ensure that the path to the .git directory ends with a forward slash when opening a repository through a working directory path 2012-02-03 12:46:50 +01:00
revwalk Simple test for pushing HEAD and hiding a branch 2012-02-27 22:46:45 +01:00
status Added submodule API and use in status 2012-03-28 16:45:36 -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.