libgit2/tests-clar
nulltoken 5663e61a06 repository: add minimal reinitialization of repository
This currently only ensures that the version of the repository format isn't greater than zero.
2012-01-25 23:05:06 +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 Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08: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
clar_main.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
clar.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.