joomla-projects/joomla-testing

This package is abandoned and no longer maintained. No replacement package was suggested.

Joomla automated testing scripts with container capabilities

dev-master 2020-10-06 19:43 UTC

This package is not auto-updated.

Last update: 2020-10-16 21:49:00 UTC


README

NOTE - This repository has been archived for now.

GSOC 2017 Parallel Testing Project

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.