• Show log

    Commit

  • Hash : 2362ce6c
    Author : Patrick Steinhardt
    Date : 2017-06-07T13:06:53

    tests: online::clone: inline creds-test with nonexistent URL
    
    Right now, we test our credential callback code twice, once via SSH on
    localhost and once via a non-existent GitHub repository. While the first
    URL makes sense to be configurable, it does not make sense to hard-code
    the non-existing repository, which requires us to call tests multiple
    times. Instead, we can just inline the URL into another set of tests.
    
    (cherry picked from commit 54a1bf057a1123cf55ac3447c79761c817382f47)
    

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