libgit2/tests-clay
Russell Belfer 1744fafec0 Move path related functions from fileops to path
This takes all of the functions that look up simple data about
paths (such as `git_futils_isdir`) and moves them over to path.h
(becoming `git_path_isdir`).  This leaves fileops.h just with
functions that actually manipulate the filesystem or look at
the file contents in some way.

As part of this, the dir.h header which is really just for win32
support was moved into win32 (with some minor changes).
2012-01-17 15:49:47 -08:00
..
attr Allow ignores (and attribs) for nonexistent files 2012-01-11 16:01:48 -08:00
buf clay: Merge manually @leto's tests from #485 2011-11-22 01:41:22 +01:00
config Move path related functions from fileops to path 2012-01-17 15:49:47 -08:00
core Move path related functions from fileops to path 2012-01-17 15:49:47 -08:00
index clay tests: free resources 2012-01-06 01:13:08 +01:00
network transport: make local transport accept a file Uri containing percent-encoded characters 2011-12-28 20:40:08 +01:00
object Merge pull request #528 from arrbee/valgrind-fixes-2 2012-01-05 17:46:06 -08:00
odb Rename all _close methods 2011-11-26 08:48:00 +01:00
refs clay tests: free resources 2012-01-06 01:13:08 +01:00
repo Use git_buf for path storage instead of stack-based buffers 2011-12-07 23:08:15 -08:00
status Patch cleanup for merge 2012-01-16 15:16:44 -08: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.