Hey,
Now we have reports of code coverage in codecov.io. Code coverage is
basically percentage of statements executed during tests comparing to all
statements in a package.
Right now 73% of pywkibot library is covered but only 10% of scripts are
being tested. For more detailed report (per file) see this
<https://codecov.io/github/wikimedia/pywikibot-core>.
Note that Appveyor tests are not included in the report yet
<https://gerrit.wikimedia.org/r/244878>.
Some steps that can make pywikibot test coverage better:
* Write tests for scripts
* site.py, page.py and pagegenerators.py have noticeable number of missing
statements
<https://codecov.io/github/wikimedia/pywikibot-core/pywikibot?ref=84f5efd03d7fb86eafb6aae1a8af3e0a5cd85a66#sort=missing&dir=desc>.
We can write tests for them.
* Try coverage suggestions
<https://codecov.io/github/wikimedia/pywikibot-core/features/suggestions?ref=84f5efd03d7fb86eafb6aae1a8af3e0a5cd85a66>
Let's talk about how we can have better tests!
Best