The source code for the Python hooks and C unit tests are on GitHub: http://github.com/jmcnamara/pytest_c_testrunner
The documentation is on ReadTheDocs: http://pytest-c-testrunner.readthedocs.org