Use http://coverage.readthedocs.io/en/latest to track code coverage, optionally hook this up to https://coveralls.io to visualise results.