README.txt

Same filename in this branch
  1. 7.x-3.x README.txt
  2. 7.x-3.x test_templates/README.txt
Views Tests
```````````
All of the tests may be executed with the following command:

$ scripts/run-tests.sh --color --url http://example.com/ --php `which php` --concurrency 4 --verbose --directory 'sites/all/modules/contrib/views/tests' 2> /dev/null

Explanation:
  --color
    Colorizes the output. Optional.
  --url http://example.com/
    The name of the Drupal 7 hostname used locally for running tests, e.g.
    "http://drupal7.dev". Required.
  --php `which php`
    Tells the test runner the path to the PHP binary. Only necessary if the test
    runner is unable to find the path automatically or to use an alternative
    PHP binary. Optional.
  --cuncurrency 4
    Run multiple test processes simultaneously. Four appears to be a good
    balance between melting the computer and improving performance. Optional.
  --verbose
    Display results for all of the assertion statements after the summary
    details. Optional.
  --directory 'sites/all/modules/contrib/views/tests'
    Run all of the commands in the following directory. The path is relative to
    the Drupal installation's root directory. This will run all of Views' tests
    in one go, rather than either repeating the names of test groups or running
    multiple commands. Optional.
  2> /dev/null
    Outputs all error messages to /dev/null, i.e. hides them. Optional.

File

tests/README.txt

View source
  1. Views Tests
  2. ```````````
  3. All of the tests may be executed with the following command:
  4. $ scripts/run-tests.sh --color --url http://example.com/ --php `which php` --concurrency 4 --verbose --directory 'sites/all/modules/contrib/views/tests' 2> /dev/null
  5. Explanation:
  6. --color
  7. Colorizes the output. Optional.
  8. --url http://example.com/
  9. The name of the Drupal 7 hostname used locally for running tests, e.g.
  10. "http://drupal7.dev". Required.
  11. --php `which php`
  12. Tells the test runner the path to the PHP binary. Only necessary if the test
  13. runner is unable to find the path automatically or to use an alternative
  14. PHP binary. Optional.
  15. --cuncurrency 4
  16. Run multiple test processes simultaneously. Four appears to be a good
  17. balance between melting the computer and improving performance. Optional.
  18. --verbose
  19. Display results for all of the assertion statements after the summary
  20. details. Optional.
  21. --directory 'sites/all/modules/contrib/views/tests'
  22. Run all of the commands in the following directory. The path is relative to
  23. the Drupal installation's root directory. This will run all of Views' tests
  24. in one go, rather than either repeating the names of test groups or running
  25. multiple commands. Optional.
  26. 2> /dev/null
  27. Outputs all error messages to /dev/null, i.e. hides them. Optional.