First, thanks to all behind TestFX.
I'm in the process of switching over to JavaFX, and from a testing standpoint have been a bit stumped: using Swing it was possible to go without a GUI testing framework, simply by using a combination of `EventQueue.invokeAndWait` and `Robot` in your test methods. But if it is possible to do without a framework in JavaFX I haven't found it.
I'm a little perplexed about lack of tutorials and lack of properly Javadoc documentation with TestFX, though. On
this page I did manage to get that example test working... but I don't understand the business about the different suggestions for the Gradle file dependencies. In the end I just used Maven Central, with:
testCompile "org.testfx:testfx-core:4.0.+"
testCompile "org.testfx:testfx-junit:4.0.+"
Also, what to make of the fact that all the version 4s (4.0.1 to 4.0.4) at the time of writing are in Alpha, despite the fact that it appears to have been around since 2014? Much of the documentation has the annotation '
@Unstable(
reason="is missing apidocs")', which somewhat undermines confidence.
It'd be great if someone could put the thing on a more friendly footing for new users...