dustinkredmond / FXTrayIcon

Tray Icon implementation for JavaFX applications. Say goodbye to using AWT's SystemTray icon, instead use a JavaFX Tray Icon.
MIT License
324 stars 25 forks source link

Write basic unit tests (non-visual, no GUI) #13

Closed dustinkredmond closed 2 years ago

dustinkredmond commented 3 years ago

Writing tests for JavaFX applications, or GUI applications in general isn't much fun. It's quite hard to automate. Especially in a headless build environment. There are some great projects out there for it, but this Issue is centered around the non-GUI aspects of the library, and would be great for first time contributors.

All of that being said, FXTrayIcon lacks basic unit tests, if we call the show() method, we should check that an instance of fxTrayIcon.isShowing() returns true and the like.

I've been rather busy with work lately and my open source projects have seen the neglect associated with that. If anyone who uses/knows/loves FXTrayIcon could contribute some of these unit tests, I would be eternally grateful. It's fairly easy work, I just lack the time right now, and the folks who use the library should be able to have confidence that it will continue to be supported and improved.

I would also ask that if you've contributed to open source before, please leave this for someone else.

Many thanks,

dustinkredmond commented 2 years ago

Closing due to lack of interest.