Worth noting that a GitLab CE instance can be run in the test suite, allowing real tests.
That said, Gitbucket (https://gitlab.com/gitmate/IGitt/issues/22) is lighter than GitLab CE, making it better for usage in a live testsuite.
@jayvdb for the tests I think we'd rather want to mock them, did the same recently for gitmate, simply mocking the general fetching routine to return predefined JSON
Absolutely, mocking is better for normal testing. But occasionally it doesn't hurt to run the same tests against a live test instance, and that can also be used to generate the predefined JSON. My comment wasnt requesting this, just noting that GitLab (or other OSS equivalent) opens new doors for testing in the future.