> Date: Sat, 13 Feb 2010 20:29:44 -0800 > From: "C. Titus Brown" <c...@msu.edu> > To: cont...@logilab.fr > Subject: apycot help > > Hi, I'm interested in trying out apycot, but I'll be darned if I can figure > out > how to get started. Help?
As Nicolas explained, You need two main components to use apycot. The apycot bot, running the test: debian package: apycotbot (see http://www.logilab.org/card/LogilabDebianRepository ) source dist: http://pypi.python.org/pypi/apycotbot/1.7.0 mercurial: http://www.logilab.org/cgi-bin/hgwebdir.cgi/apycotbot/ The apycot cubes, to store and view result. debian package: cubicweb-apycot (see http://www.logilab.org/card/LogilabDebianRepository ) source dist: http://pypi.python.org/pypi/cubicweb-apycot/1.7.0 mercurial: http://www.logilab.org/cgi-bin/hgwebdir.cgi/cubes/apycot/ You will find some documentation in the wdoc/ directory of the cubes/apycot/ directory. In particular, the apycot_step_by_step_fr.rst how-to will help you to get started. Please note that this help is also available in the "help" section of your cubicweb instance. > In particular, I'd like to go through the steps of > > - checking out a particular repository (does apycot support git?) Checking a particular repository is very easy with apycot. But, we don't have git support for now. Adding it won't be too much work but we don't use git here at Logilab. The code for repository handling in apycot is located in the ``apycotbot.repositories`` module and use an unified interface for "VCSAgent" defined in the ``logilab.devtools.vcslib`` module. > - building We currently support several builder: setup.py, make and buildeb. > - running the tests with 'python setup.py test' or nose or ...whatever. Apycot provides checker to launch unittest suites. However it's really easy to write your own checker and use them as a "pluggin". The easiest way is to get started is usually to run you test command and parse the output. For a simple example, apycotbot.checkers PyTestChecker at apycotbot.checkers.chks_python.py:164. I'm currently writing new checkers for mercurial test suite. I'll start posting some how-to about writing new apycot checker on our blog in the coming days. Please do ask further question on python-projects@lists.logilab.org or on our IRC and Jabber channel (http://www.logilab.org/Card/ContactUs). I'll be happy to help you. You can report bug on the projet pages : http://www.logilab.org/project/apycot -- Pierre-Yves
signature.asc
Description: Digital signature
_______________________________________________ Python-Projects mailing list Python-Projects@lists.logilab.org http://lists.logilab.org/mailman/listinfo/python-projects