Files
libgit2/tests
Edward Thomson bda0839734 Merge pull request #4982 from pks-t/pks/worktree-add-bare-head
Enable creation of worktree from bare repo's default branch
2019-02-14 16:57:47 +00:00
..
2019-01-25 22:36:44 +00:00
2018-11-02 14:58:12 +01:00
2019-01-05 22:26:18 -08:00
2018-03-19 16:08:01 -07:00
2018-09-06 11:17:01 +01:00

Writing Clar tests for libgit2

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

https://github.com/vmg/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.