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