joomla-x / joomla-pythagoras

Joomla Pythagoras Repository
19 stars 20 forks source link

Testing #107

Open nibra opened 8 years ago

nibra commented 8 years ago

The idea is to automatically setup the test environements using docker-compose, controlled by a Robo task (see RoboFile.php). The setup should not only serve core development, but also persue extension developers to use the testing environment to improve the quality of their products.

Unit Testing

For unit tests, there's not necessarily needed a separate environment, but it can help anyway (see Isolating PHPUnit).

For integration (functional) tests, we need an installed Joomla, i.e., initialised database, mailcatcher, and so on.

For system (acceptance) tests, additionally the selenium grid is needed.

It makes sense to add a security test level using the OWASP Zed Attack Proxy and/or the Vega Vulnerability Scanner.

Biromain commented 8 years ago

We need extensions can also be tested. With that, extensions on JED can have a status about unit test, security checked, etc.

nibra commented 8 years ago

Updated the issue description accordingly.