libgit2/tests-clar
Carlos Martín Nieto a209a025c6 remote: add git_remote_add()
Helper function to create a remote with the default settings
2012-05-08 21:36:40 +02:00
..
attr Support reading attributes from index 2012-05-03 16:37:25 -07:00
buf Update test suite 2012-05-02 16:14:30 -07:00
commit tests-clar/commit: fix memory leaks 2012-04-03 11:07:04 +02:00
config Update test suite 2012-05-02 16:14:30 -07:00
core compat: make p_realpath Windows implementation be a bit more POSIX compliant and fail if the provided path does not lead to an existing entry 2012-05-08 10:05:18 +02:00
diff Fix memory leaks and use after free 2012-05-04 11:06:12 -07:00
index Update test suite 2012-05-02 16:14:30 -07:00
network remote: add git_remote_add() 2012-05-08 21:36:40 +02:00
notes notes: add git_note_default_ref() 2012-05-03 22:31:29 +02:00
object object: make git_object_lookup() return GIT_ENOTFOUND when searching for an existing object by specifying an incorrect type 2012-05-08 10:05:14 +02:00
odb Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
refs Boom 2012-05-02 16:57:16 -07:00
repo repository: ensure git_repository_discover() returns ENOTFOUND when unable to find a repository given the constraints 2012-05-08 10:05:24 +02:00
resources Fixing issue with test data 2012-05-04 13:55:07 -07:00
revwalk revwalk: add test hiding a commit without a merge base 2012-04-12 20:25:25 +02:00
status status: Prevent git_status_file() from returning ENOTFOUND when not applicable 2012-05-08 10:05:27 +02:00
threads t13-threads.c ported. 2012-03-30 13:05:54 -07:00
clar Update clar to latest version 2012-05-06 23:58:41 -07:00
clar_helpers.c compat: make p_open able to accept optional mode when passing the O_CREAT flag 2012-05-07 12:18:54 +02:00
clar_libgit2.h clar helper: don't dereference giterr_last() if it's NULL 2012-05-07 11:29:10 +02: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.