You are here

README.txt in Crumbs, the Breadcrumbs suite 7

Same filename in this branch
  1. 7 README.txt
  2. 7 lib/Drupal/crumbs/Tests/README.txt
Same filename and directory in other branches
  1. 7.2 lib/Drupal/crumbs/Tests/README.txt
Unit tests and web tests for the Crumbs module.
==================================================


Test discovery
===================

We are using the simpletest integration of xautoload.
See http://drupal.org/node/1751540

This means, web and unit tests for Crumbs are only available if xautoload or
something equivalent is enabled.

This solution is meant to directly port the Drupal 8 behavior.
This means:

1) Toplevel only.
   Only tests at the top level directly under "Drupal\crumbs\Tests\" are found.

   As much as we would like it, the following will not be found:
     lib/Drupal/crumbs/Tests/Plugin/MenuTest.php
   So it has to be:
     lib/Drupal/crumbs/Tests/MenuPluginTest.php

2) PSR-0 only.
   There won't be:
     lib/Tests/Plugin/Menu.php
     lib/Tests/MenuPluginTest.php
   It has to be:
     lib/Drupal/crumbs/Tests/MenuPluginTest.php

File

lib/Drupal/crumbs/Tests/README.txt
View source
  1. Unit tests and web tests for the Crumbs module.
  2. ==================================================
  3. Test discovery
  4. ===================
  5. We are using the simpletest integration of xautoload.
  6. See http://drupal.org/node/1751540
  7. This means, web and unit tests for Crumbs are only available if xautoload or
  8. something equivalent is enabled.
  9. This solution is meant to directly port the Drupal 8 behavior.
  10. This means:
  11. 1) Toplevel only.
  12. Only tests at the top level directly under "Drupal\crumbs\Tests\" are found.
  13. As much as we would like it, the following will not be found:
  14. lib/Drupal/crumbs/Tests/Plugin/MenuTest.php
  15. So it has to be:
  16. lib/Drupal/crumbs/Tests/MenuPluginTest.php
  17. 2) PSR-0 only.
  18. There won't be:
  19. lib/Tests/Plugin/Menu.php
  20. lib/Tests/MenuPluginTest.php
  21. It has to be:
  22. lib/Drupal/crumbs/Tests/MenuPluginTest.php