Benutzerspezifische Werkzeuge

Sektionen
How to run Plone coredev test locally and quietly

Direkt zum Inhalt | Direkt zur Navigation

How to run Plone coredev test locally and quietly

09.03.2015 in PlanetPlone
Running bin/alltests opens a firefox window now and then for every robot-test. These tend to get into your way when writing emails or working on other stuff while running test. Here is how to get rid of those:

start a framebuffer for display :1 in a separate console

$ Xvfb :1


before running the tests, set the environment variable

$ export DISPLAY=:1
$ bin/alltests

 

(see https://github.com/collective/robotsuite/issues/5 for another possible solution: using phantomjs as a browser)


Kommentare unterstützt durch Disqus

Webmeisterei GmbH, Bildgasse 10d, 6850 Dornbirn, AT, Telefon +43 5572 908000, Fax +43 5572 908000-15, office@webmeisterei.com