Re: testing (was spambayes plugin, and other plugins)

Ryan Barrett <pyblosxom-6sb6M7qyT/[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
On Sun, 9 Dec 2007, will wrote:

> I don't know offhand how to go about testing plugins. PyBlosxom doesn't
> provide any infrastructure for doing so. Is that something we should add and
> if so, how should it work? That's a good subject for a 2.0 proposal.

you mean, a mock PyBlosxom? that would definitely be nice. there's probably a 
lot of plugin code that could be tested without one, though, or with small, 
trivial mocks of individual pieces. something like http://python-mock.sf.net/ 
might get us even further.


> The README in the trunk talks about running nose tests with coverage.  I
> think I made the changes while you were writing up that test document.

thanks! i've updated the wiki.

-Ryan

--
http://snarfed.org/

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.