On 15 January 2012 01:16, Merlijn van Deen <valhallasw(a)arctus.nl> wrote:
In some spare time, I hacked together an automated
test runner (...)
The results are available at:
http://toolserver.org/~pywikipedia/nightly/testing/test_pywikipedia.txt (and
in xunit format, if anyone prefers that).
Anyone who checked the output will have noticed there were a lot of tests
failing. I fixed this today by removing tests (such as the ones that
required user input) or broken code (such as a bit of code from date.py).
In addition, I created a nosetests configuration file, allowing anyone to
quickly run tests by typing 'nosetests' in the pwb root directory (you
might need to pip install nose first).
As a bonus, we now also have coverage reports - and they are not as bad as
I expected! Feel free to browse around
http://toolserver.org/~pywikipedia/nightly/testing/coverage/ .
Best,
Merlijn