joomla-projects/joomla-testing

Joomla automated testing scripts with container capabilities

dev-master 2017-10-11 09:52 UTC

This package is not auto-updated.

Last update: 2020-08-07 20:31:04 UTC


README

Summary

The project aims to reduce time of acceptance tests for Joomla extensions, with the initial focus on Weblinks.

This is made possible by running the tests in parallel in an environment of multiple Joomla servers and Selenium clients. The environment is automatically generated by the virtualisation project. Furthermore, a special algorithm has been designed and implemented to manage the optimal execution of the tasks, also taking account for their dependencies.

Run the parallel testing module

In order to run the tests, simply run the following command:

 vendor/bin/robo run:coordinator isacandrei weblinks container-test > coordinator.log 2>&1

The logs will be available on the coordinator.log file.

The extension acceptance tests logs are currently saved in the _output folder of the extension.

The current setup has 5 servers and 3 clients. Therefore the expected behaviour is to run the first three tests, and when one finishes, run the one from the remaining ones. When another one finishes, the last test will be run.

At the end, a statistics of the tasks on each server is stored in the logs, summarising how many tasks are completed successfully and how many are failed.

Documentation

  1. Documentation

  2. First Post

  3. Second Post

  4. Meeting reports

Repositories List:

PR Commits Lists:

All the PRs have been accepted and merged into the public repositories. The project is ready to use and will be integrated with Travis for Joomla extensions. The only dependency needed for each extension is the yml file with the required tests and working acceptance tests, all being described in the documentation listed above.