Module: Guard::PHPUnit::Notifier
- Defined in:
- lib/guard/phpunit/notifier.rb
Overview
The Guard::PHPUnit notifier displays a notification pop-up with the tests results.
Class Method Summary collapse
-
.notify(message, options) ⇒ Object
Displays a system notification.
-
.notify_results(test_results) ⇒ Object
Displays a notification about the tests results.
Class Method Details
.notify(message, options) ⇒ Object
Displays a system notification.
15 16 17 |
# File 'lib/guard/phpunit/notifier.rb', line 15 def notify(, ) ::Guard::Notifier.notify(, ) end |
.notify_results(test_results) ⇒ Object
Displays a notification about the tests results.
28 29 30 31 32 33 |
# File 'lib/guard/phpunit/notifier.rb', line 28 def notify_results(test_results) notify((test_results), { :title => 'PHPUnit results', :image => image(test_results) }) end |