happyjack27 / autoredistrict

Programmatically makes a fair congressional district map (prevents gerrymandering)
GNU General Public License v3.0
89 stars 15 forks source link

Add a simple UI test #227

Closed Noreaster76 closed 8 months ago

Noreaster76 commented 8 months ago

Add a simple test that the app launches successfully. It launches the app and makes sure that the main app window has the title it expects. Then it quits the app.

ℹ️ Note

It's not a best practice to run by default any tests that launch the UI, but since the project currently lacks any automated tests, this is the best we can do for now, and slightly decreases the tedium of having to launch the app manually. Eventually, any and all UI tests should probably be annotated with @Disabled or something else that suppresses them from running by default.