libgit2/tests-clar
2012-05-09 22:55:01 +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 MSVC compilation issue 2012-05-09 21:14:49 +02:00
index Update test suite 2012-05-02 16:14:30 -07:00
network remotes: change git_remote_new's signature 2012-05-08 21:36:40 +02:00
notes notes: add git_note_default_ref() 2012-05-03 22:31:29 +02:00
object Merge pull request #670 from nulltoken/ntk/topic/clean-commit_message 2012-05-08 14:13:43 -07: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 tests: add two binary blobs to attr test repository 2012-05-07 12:18:32 +02:00
revwalk revwalk: add test hiding a commit without a merge base 2012-04-12 20:25:25 +02:00
status Add support for diffing index with no HEAD 2012-05-08 15:03:59 -07:00
threads t13-threads.c ported. 2012-03-30 13:05:54 -07:00
clar clar: Update from upstream 2012-05-09 22:55:01 +02: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.