joomla-projects / joomla-testing
Joomla automated testing scripts with container capabilities
Installs: 71 348
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 12
Forks: 5
Open Issues: 0
Requires
- php: >=5.4.0
Requires (Dev)
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
Repositories List:
- Weblinks
- Joomla Browser
- Virtualisation
- Joomla Testing
- Joomla Testing Robo
- Docker Joomla Automated Testing
PR Commits Lists:
- Joomla Browser
- Virtualisation 1
- Virtualisation 2
- Virtualisation 3
- Joomla Testing 1
- Joomla Testing 2
- Weblinks 1
- Weblinks 2
- Docker Joomla Automated Testing
- Joomla Testing Robo 1
- Joomla Testing Robo 2
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.