How to use Nose plugins with buildout pbp.recipe.noserunner recipe ?
Hello! I've been using buildout. How can I install nose script with pbp.recipe.noserunner recipe (or anything else), so that I can pass an option to the script to enable plugin? Specifically, I want to enable nose plugin for GAE: bin/nose --with-gae. Thanks in advance. Sorry, if my English isn't proper. with regards, Maxim.
Hello!
In order if someone is interested how to use Nose plugins with buildout I
have solved this problem in the following way (without noserunner recipe).
[enable_plugin]
recipe = zc.recipe.egg
eggs = nose
nosegae
package_under_test
initialization = from nosegae import NoseGAE
arguments = addplugins=[NoseGAE()]
extra-paths = ./parts/google_appengine
./parts/google_appengine/lib/yaml/lib
This works for nosegae plugin, though I don't know if the same approach
works for other plugins.
On 23 March 2010 14:15, Максим Lacrima
Hello!
I've been using buildout. How can I install nose script with pbp.recipe.noserunner recipe (or anything else), so that I can pass an option to the script to enable plugin? Specifically, I want to enable nose plugin for GAE: bin/nose --with-gae.
Thanks in advance. Sorry, if my English isn't proper.
with regards, Maxim.
On Fri, Mar 26, 2010 at 8:21 AM, Максим Lacrima
Hello!
In order if someone is interested how to use Nose plugins with buildout I have solved this problem in the following way (without noserunner recipe). [enable_plugin] recipe = zc.recipe.egg eggs = nose nosegae package_under_test initialization = from nosegae import NoseGAE arguments = addplugins=[NoseGAE()] extra-paths = ./parts/google_appengine ./parts/google_appengine/lib/yaml/lib
This works for nosegae plugin, though I don't know if the same approach works for other plugins.
Sorry for the late reply. pbp.recipe.noserunner doesn't have an option to set up plugins, but I could add a "plugins" option to it if you want, I am pretty sure there's a simple, generic way to do this since plugins are "eggs", but I didn't look at it yet Regards, Tarek -- Tarek Ziadé | http://ziade.org
participants (2)
-
Tarek Ziadé
-
Максим Lacrima