> * Jean-Philippe Thierry <[email protected]> [14-déc.-2010 19:17]: > Hi all, > > I enjoyed reading the deprecation blog post. It was a good way to discover > part of the logilab.common library. I am starting to use the testlib > library; a good opportunity to write a short tutorial > > - for me first because I will soon forget how to use it > - and why not share it to help others find how helpful it can be. > > So here it is. Hope it can help. Feel free to modify; especially if I am > wrong ;-) > > -- > Jean-Philippe
Hello Jean-Philippe, I'm quite sure we don't want advertise too much this "dark corner" of logilab.common ;-) The actual trend is to replace testlib and pytest by recent changes from unittest/unittest2 (even if not already in stdlib). So please, conѕider using unittest2 in favor of testlib for your own projects. If you want to use some "feature" of testlib, please use a copy of the module. Note: we have yet some incompatibility (ex: usage of assertRaises). Regards, -- Julien JEHANNET LOGILAB, Paris (France) http://www.cubicweb.org CubicWeb, le cadriciel du web sémantique http://www.logilab.org Dépôt des logiciels libres conçus par Logilab http://www.logilab.fr Informatique scientifique & Gestion de connaissances
signature.asc
Description: Digital signature
_______________________________________________ Python-Projects mailing list [email protected] http://lists.logilab.org/mailman/listinfo/python-projects
