Is there a way to stop queued JUnit tests and still keep the JavaFX Gui running? Is there a way to stop queued JUnit tests and still keep the JavaFX Gui running? selenium selenium

Is there a way to stop queued JUnit tests and still keep the JavaFX Gui running?


How are you defining your threads in your xml file? Found some stuff using the parallel variable to kill all specific threads immediately. Maybe if you name your threads with something common and increment a counter to put a "_1" ... "_2" and so on at the end of the common name, you could loop through quickly and kill the thread directly? You mentioned a queue of tests that you weren't positive on how it worked, maybe take the queue into your own hands manually and kill them all.


After revisiting this recently, i found out that run notifier in my question works fast enough, i just had too many sub processes that i recently optimized during the stop test action. Now run notifier allows for the queued tests to realize they can't be ran almost instantaneously.

Though this technically doesn't answer the question of how to stop queued JUnit Tests from executing without at least attempting to start them, though.