The testing framework PHPUnit was added to Drupal 8 in June of 2013. Simpletest is still supported but should only be used for web tests and DrupalUnitTest's that require a complete or partial Drupal environment.
This handbook section contains documentation specific to Drupal's implementation of PHPUnit. See PHPUnit's documentation for support on writing tests.
General PHPUnit Resources
- PHPUnit Documentation: http://phpunit.de/manual/3.7/en/index.html
Drupal issues to watch
- Examples module:
- Impending change to file structure: