libgit2/tests-clay
Russell Belfer 948431aa01 Remove repo open immediately after init in test
Calling git_repository_open immediately after git_repository_init
results in memory leaks.
2012-01-05 15:00:46 -08:00
..
attr Fix MSVC compilation warnings 2012-01-04 18:17:55 +01:00
buf clay: Merge manually @leto's tests from #485 2011-11-22 01:41:22 +01:00
config repository: Change ownership semantics 2011-11-26 08:37:08 +01:00
core Merge remote-tracking branch 'nulltoken/topix/path_fromurl' into development 2012-01-04 22:43:11 +01:00
index clay: Move file_create to the helpers file 2012-01-02 10:06:24 +01:00
network transport: make local transport accept a file Uri containing percent-encoded characters 2011-12-28 20:40:08 +01:00
object Remove repo open immediately after init in test 2012-01-05 15:00:46 -08:00
odb Rename all _close methods 2011-11-26 08:48:00 +01:00
refs refs: Fix double free 2011-12-25 00:22:20 +01:00
repo Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
status clay: Move file_create to the helpers file 2012-01-02 10:06:24 +01:00
clay Update to Clay 0.10.0 2011-12-15 02:09:15 +01:00
clay_helpers.c clay: Move file_create to the helpers file 2012-01-02 10:06:24 +01:00
clay_libgit2.h clay: Move file_create to the helpers file 2012-01-02 10:06:24 +01:00
README.md cmake: generate clay main 2011-12-29 15:40:09 +01:00

Writing Clay tests for libgit2

For information on the Clay testing framework and a detailed introduction please visit:

https://github.com/tanoku/clay

  • Write your modules and tests. Use good, meaningful names.

  • Make sure you actually build the tests by setting:

      cmake -DBUILD_CLAY=ON build/
    
  • Test:

      ./build/libgit2_clay
    
  • Make sure everything is fine.

  • Send your pull request. That's it.