1. Install PHPUnit and Selenium (for FunctionalJavascript tests);

2. Check PHPUnit configuration for testing:

3. Enable Simpletest module with drush command:

drush en simpletest


4. Run tests: