Docker Container for System Tests

From Joomla! Documentation

Revision as of 11:18, 19 February 2015 by Javiparati (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Automated Tests Working Group is working on a Docker Container containing Selenium and all the tools needed to run the tests.

What is Docker and what has to do with Joomla?[edit]

Docker: open platform for distributed applications

The concept of Docker is difficult to explain but if you know what Virtual Machines are, the concept is similar. Basically we have a virtual environment to execute applications inside a real environment. In Joomla we use Docker to create different instances of a preconfigured environment so we can run the many hours of tests that we have in parallel. One suite in each container. To learn more about docker check: https://www.docker.com/whatisdocker/

The Joomla System Testing Docker Container[edit]

Before being able to run the System Tests on your machine you need to Install Docker.

Joomla Docker Container in action

After having Docker set up in your system you can get the Joomla System Tests Docker container. You can find it at: https://github.com/joomla-projects/joomla-systemtest-env/blob/master/README.md

This is a Docker Image with Selenium Server, Xvfb, Firefox and Chromium installed. SeleniumEnv was created to run Selenium tests without installing Selenium and its dependencies. Selenium server is executed inside a container and connected from a host machine.