• Show log

    Commit

  • Hash : 13f36ffb
    Author : Russell Belfer
    Date : 2013-09-13T16:30:21

    Add clar helpers for testing file equality
    
    These are a couple of new clar helpers for testing that a file
    has expected contents that I extracted from the checkout code.
    
    Actually wrote this as part of an abandoned earlier attempt at a
    new filters API, but it will be useful now for some of the tests
    I'm going to write.
    

  • README.md

  • 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.