Multiple Test Notifications
See original GitHub issueDescribe the bug The test pass notification is invoked more than once on completion, causing the plugin to dispatch more than one waifu to tell you that you did a good job.
To Reproduce Run this test: https://github.com/Unthrottled/hdd/blob/master/src/test/java/io/acari/water/WaterRepositoryTest.java
Expected behavior Well you get one sound played, but you get multiple notifications the (1 more) at the bottom of the window
Screenshots This is the event log and the notification after one test run.
Platform (please complete the following information):
- Version WMP 1.0
IntelliJ IDEA 2020.1 (Community Edition)
Build #IC-201.6668.121, built on April 8, 2020
Runtime version: 11.0.6+8-b765.25 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.15.0-109-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 512M
Cores: 12
Non-Bundled Plugins: io.acari.DDLCTheme, zd.zero.waifu-motivator-plugin
Current Desktop: ubuntu:GNOME
Additional context Only one listener is being set, there is just more than one test pass notification being sent to the listeners.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
5 Must-Have Test Cases for Mobile App Push Notification
Notifications work for multiple languages and time zones. Haptics work as intended. Customers get push notifications when not logged in. These test cases...
Read more >How to Make Push Notifications More Effective With A/B Testing
Action buttons, which allow more than one action to be taken on a notification, are great for call to action A/B testing.
Read more >How To Do A/B Testing in Push Notification? - PushEngage
Our analytics would help you deploy push using which you can test and analyze multiple versions of different notifications in real-time.
Read more >How to Set up Multiple Push Notification Test Users in Veeva ...
Navigate to the Push Notification Test User field located in the Mobile CRM Settings page. · Enter the usernames separated by a double...
Read more >Cannot test multiple notifications when using `Notification::fake`
When trying to test multiple calls to the Notification facade, it appears one can't assert against both of the notifications using ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I also had experienced this in #110 but it only happens when there are multiple projects opened, I can only reproduce this issue with the one you’ve provided. Do you have any idea why it shows up there and not on the other tests?
My initial investigation, I tried to recreate it in a different project
Can’t reproduce with
Parameterized Test
n
Number of individual testCan reproduce with this test.
So turns out that there are different ways IntelliJ executes a test. As you would notice from the highlights, there are hierarchies of subtest or list of tests where I can’t reproduce the issue, but to the one where I can reproduce it only shows one list of test but runs multiple tests.
Note: I just got curious why this happens 😂
I’ll check the PR #125 tomorrow as I was caught up by the rabbit hole when investigating this 😅.
Me: When you’ve thought that you’ve resolved the issue of multiple test invocations.
Jetbrains unit test event:
Resolved by #125