libgit2/tests-clar
Carlos Martín Nieto 279afd2a51 refspec: a ref name includes the refs/ prefix
git_refspec_transform_r assumed that the reference name passed would
be only a branch or tag name. This is not the case, and we need to
take into consideration what's in the refspec's source to know how
much of the prefix to ignore.
2012-01-31 17:29:53 +01:00
..
attr Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
buf Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
config Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
core Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
index Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
network refspec: a ref name includes the refs/ prefix 2012-01-31 17:29:53 +01:00
object Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
odb Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
refs Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
repo repository: add minimal reinitialization of repository 2012-01-25 23:05:06 +01:00
status Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
clar Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
clar_helpers.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
clar_libgit2.h Rename the Clay test suite to Clar 2012-01-24 20:35:15 -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.