Testing (SimpleTest) Install/Run Error
Error N°1 : PHPunit not found
If uou have a message like : Add Phpunit via composer
CAUTION : PHPunit Version >= 8 is not compatable with drupal, so use the 7
composer require --dev phpunit/phpunit:7
If uou have a message like : Add Phpunit via composer
CAUTION : PHPunit Version >= 8 is not compatable with drupal, so use the 7
composer require --dev phpunit/phpunit:7
To test retina display, just adjust the screen pixel ratio.
SimpleTest (Testing) allow to test your drupal systems in a safe way. It's also allow you to check functionaleties, result ... of your module.
First of all you must active Testing module on your envirenement.
#Drush command:drush en simpletest -y
ln -s core/scripts/run-tests.sh ~/bin
php core/scripts/run-tests.sh --browser --class "Drupal\YOUR_MODULE\Tests\JustTest"