code: def coverage(reportdir=None, extra=None):
      
  
      import coverage as coverage_api
      cov = coverage_api.coverage()
      opts = {'directory': reportdir} if reportdir else {}
  
      cov.start()
      test(extra)
      cov.stop()
      cov.html_report(**opts)
docs: Test this project with coverage reports