]>
Commit | Line | Data |
---|---|---|
3fd1520c | 1 | Writing Clar tests for libgit2 |
1d33bf9d MS |
2 | ============================== |
3 | ||
3fd1520c | 4 | For information on the Clar testing framework and a detailed introduction |
1d33bf9d MS |
5 | please visit: |
6 | ||
1a234402 | 7 | https://github.com/vmg/clar |
1d33bf9d MS |
8 | |
9 | ||
10 | * Write your modules and tests. Use good, meaningful names. | |
11 | ||
1d33bf9d MS |
12 | * Make sure you actually build the tests by setting: |
13 | ||
3fd1520c | 14 | cmake -DBUILD_CLAR=ON build/ |
1d33bf9d MS |
15 | |
16 | * Test: | |
17 | ||
3fd1520c | 18 | ./build/libgit2_clar |
1d33bf9d MS |
19 | |
20 | * Make sure everything is fine. | |
21 | ||
22 | * Send your pull request. That's it. |