libgit2/tests-clar
nulltoken 3191ae89c6 compat: make p_open able to accept optional mode when passing the O_CREAT flag
This has the nice side effect of making test_attr_repo__staging_properly_normalizes_line_endings_according_to_gitattributes_directives() test pass again on Windows. This test started to fail after commit 674a198 was applied.
2012-05-07 12:18:54 +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 Remove old and unused error codes 2012-05-02 19:56:38 -07: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 Remove old and unused error codes 2012-05-02 19:56:38 -07:00
notes notes: add git_note_default_ref() 2012-05-03 22:31:29 +02:00
object Merge remote-tracking branch 'scottjg/fix-mingw32' into development 2012-05-05 16:47:20 -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 Boom 2012-05-02 16:57:16 -07: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 Support reading attributes from index 2012-05-03 16:37:25 -07: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 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.