In my test package, I have both regular unit tests and testfx test. When I try to run the entire test package, those testfx tests all failed and give the following exception:
org.junit.AssumptionViolatedException: Cannot run JavaFX in headless environment
Does anyone one knows how to run testfx tests alone with other unit tests?