libgit2/tests-clar
Vicent Martí d3a60dc244 Merge pull request #663 from schu/notes-honor-config
Honor core.notesRef config option
2012-05-05 14:14:58 -07:00
..
attr attr: add test coverage related to crlf normalization while staging 2012-05-01 00:33:25 +02: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 Merge branch 'new-error-handling' into development 2012-05-02 15:59:02 -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 Remove old and unused error codes 2012-05-02 19:56:38 -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 Backport more test data 2012-05-02 16:33:26 -07:00
revwalk revwalk: add test hiding a commit without a merge base 2012-04-12 20:25:25 +02:00
status Fix leading slash behavior in attrs/ignores 2012-04-26 10:51:45 -07:00
threads t13-threads.c ported. 2012-03-30 13:05:54 -07:00
clar tests-clar: update to latest version of clar 2012-04-21 18:36:13 +02:00
clar_helpers.c clar: Properly create files in helper 2012-05-04 16:05:14 -07:00
clar_libgit2.h Remove old and unused error codes 2012-05-02 19:56:38 -07: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.