This project is not covered by Drupal’s security advisory policy.
Drupal Test Notifier is a user script for your browser that notifies you when an automated test (a.k.a SimpleTest) has completed. This allows you to go about your other business without checking back on the tab running your tests every few seconds waiting for it to complete. It also saves you from forgetting that you had a test running while you go about your other business.
NOTE: This is not a Drupal Module and cannot be installed as such.
Details
Drupal Test Notifier aims to solve the problem of long-running tests in Drupal 6 (SimpleTest) and Drupal 7 (in core). It is common to run the test and come back to it every few seconds/minutes to see if it has finished running. This pattern is especially common while tests are being developed.
This user script (GreaseMonkey Script) is installed to your browser to notify you when a test has completed. It is not installed as a standard Drupal module.
Installation
Install the dependencies:
- GreaseMonkey extension for Firefox or a GreaseMonkey-compatible browser.
Then
Features
- Displays an alert box when the testing results page has been loaded
Upcoming Features
The following features still need to be added
- Display an alert if the /batch test loading page fails with an error and is unable to perform the redirect to the results page
- Change the alert box to be similar to the "downloads complete" dialog in Firefox that is less intrusive
Please post features requests and bug reports to the Issue Queue.
Command Line Notifications
If you run your tests from the command line (terminal) using run-tests.sh (details) then there is another way you can be notified when your tests complete. Install growlnotify and run your tests in a fashion similar to this:
php scripts/run-tests.sh --url http://d7.localhost/ --color --verbose --class MyAwesomeTestCase; growlnotify --sticky -t 'Tests complete!' --message 'Check them out!'
Related Projects
Other Drupal user scripts:
- Dreditor - To make patch reviews on Drupal.org easier
Development
This module was developed by auzigog (Jeremy Blanchard) at Activism Labs.
Project information
- Project categories: Administration tools, Developer tools
- By Anonymous on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.