Home > Net >  PHPUnit sound notification on test completion or failure
PHPUnit sound notification on test completion or failure

Time:09-14

I notice that I start procrastinating when waiting for test result. And to stop myself from it is quite challenging so I thing little sound notification would be really nice way of solving this issue.

I use PhpStorm for development and running test. It would be nice to have a plugin that would play a sound on test failed/completion or a way how to integrate a bash script after test completion in PhpStorm I see only this option to add some condition before test but not after.

enter image description here

CodePudding user response:

In Settings/Preferences | Appearance & Behavior | Notifications you can use the Play sound checkbox to play the system alert or "bell" sound for any specific notification you choose. Select the notification entry Test execution finished in the list and enable Play sound, and it will play the sound when a test has finished.

  • Related