pytest notification colors - and sounds
I finally noticed that PyTest's notification bubbles are slightly different colors when the tests are green vs when they are red.
I would like to set them to two more visibly different colors, which would be really great with autorun, which I always use. Can anyone point me to where they can be set?
Second, I have been looking for a sound plugin with different sounds for tests passing and tests failing (Wah Wah). Pointers to such a thing would be welcome.
Thanks!
请先登录再写评论。
Could you please take some screenshots of these popups and attach them to the thread?
Here we go. They are pytests auto-run popups.

But regarding sound notifications, you can enable them in Settings | Appearance & Behavior | Notifications, Test Execution Finished; just toggle the Play Sound option.
Ah. After that and turning on Notifications in Mac settings, I get a boop. Unfortunately it is the same sound whether tests have passed or failed. The idea was to have a different tone for pass/fail, to draw attention to a test failure on autorun. Please add that to the list of things one might do at some future time. Thanks!
We've created a feature request for this: https://youtrack.jetbrains.com/issue/PY-63903/Feature-Custom-sound-option-for-failed-successful-tests.
Please vote for it to raise its relevance and receive updates regarding the fix status.