https://bugzilla.wikimedia.org/show_bug.cgi?id=72863

            Bug ID: 72863
           Summary: add coverage report to tests
           Product: Pywikibot
           Version: core (2.0)
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: tests
          Assignee: pywikipedia-b...@lists.wikimedia.org
          Reporter: jay...@gmail.com
       Web browser: ---
   Mobile Platform: ---

We should track what percentage of the codebase is being tested, probably on
travis and maybe sending the logs to http://coveralls.io

coverage works:

$ coverage-2.7 run --source=pywikibot setup.py test

http://nose.readthedocs.org/en/latest/plugins/cover.html also works:

$ nosetests --with-coverage --cover-package=pywikibot tests

I've uploaded our current coverage stats to

https://www.mediawiki.org/wiki/Manual:Pywikibot/Test_coverage

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to