-----BEGIN PGP SIGNED MESSAGE-----
First; I agree with binaris - "nice work!" indeed! thanks for that!
Now the "but" part; could you explain me how to use the 'nosetests'
Using 'nosetests' from 'pywikipedia' trunk directory yield 5 times
"ERROR: Failure: AttributeError (StringIO instance has no attribute
and I was not able to use the coverage and produce e.g. html output...
The reason why I am asking; I would like to understand nose and use
it for DrTrigonBot code parts also (in order to adopt to pywikipedia).
Thanks a lot and Greetings
On 21.01.2012 18:33, Merlijn van Deen wrote:
On 15 January 2012 01:16, Merlijn van Deen
In some spare time, I hacked together an automated test runner
The results are available at:
(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
mailing list Pywikipedia-l(a)lists.wikimedia.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----