Re: adding a 'robot' part to buildout.coredev

Asko Soukka <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
Hi,

just explaining the differences.

The most safe version would be:

[robot]
recipe = zc.recipe.egg
eggs =
     Pillow
     ${buildout:test-eggs}
     plone.app.robotframework
scripts =
     pybot
     robot
     robot-server

"pybot" is robotframework's test runner as it is. "robot-server" is test 
fixture server to ease development of robot tests. "robot" is alias 
"pybot" with certain arguments to support test isolation with 
"robot-server" (technically it triggers testSetup and testTeardown from 
test layers before and after tests, effectively triggering test 
isolation from PloneSandboxLayer).

Pillow is to provide PIL for acceptance tests (and robot annotation 
keywords [which are already cloned into 
robotframework-selenium2screenshots -package]).

I think, "reload" and "ride" extras are controversial:


[robot]
recipe = zc.recipe.egg
eggs =
     Pillow
     ${buildout:test-eggs}
     plone.app.robotframework[reload]
scripts =
     pybot
     robot
     robot-server

Reload extras would require watchdog-package to provide 
sauna.reload-style automatic code reloading for robot-server. I'm not 
sure if everyone wants watchdog in their buildout.


[robot]
recipe = zc.recipe.egg
eggs =
     Pillow
     ${buildout:test-eggs}
     plone.app.robotframework[ride]

In addition to scripts listed above, p.a.robotframework includes console 
script also for ride, which is "RobotFramework IDE" written in wxPython. 
Because of wxPython requirement and issues related to it (especially on 
OSX), ride-package is not required without explicit [ride]-extras. 
wxPython is never required, but bin/ride-script is meant to be called 
with wxPython.

Cheers,
Asko

thomas desvenain wrote:
> Hi
>
> What do you think to add a part to ride robot tests into 
> buildout.coredev ?
>
>
> [robot]
> recipe = zc.recipe.egg
> eggs =
>     Pillow
>     ${buildout:test-eggs}
>     plone.app.robotframework[ride,reload]
>
>
> This installs robot, robot-server and ride services
>
> Thomas
>
> -- 
> Thomas Desvenain
>
> Téléphone : 09 51 37 35 18
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register>
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> _______________________________________________
> Plone-developers mailing list
> Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/plone-developers

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
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.