Yesterday our SQE (Software Quality Engineering) team pushed our JavaFX functional test suite, JemmyFX to OpenJFX! They also pushed some tests for Ensemble, our samples application. JemmyFX is based on Jemmy, a visual testing framework for Java used in NetBeans for many years. JemmyFX contains extensions which make it possible to write visual tests for JavaFX. Although JemmyFX is in the openjfx repo, you can download it and use it for writing visual tests for your own JavaFX applications.
For those folks who have been looking at contributing code to JavaFX, this is great news, because it means you can accelerate adoption of your specific features by also writing the tests necessary to ensure correctness, either as JUnit tests or now as functional tests using Jemmy. All you guys working on DatePicker, I’m looking at you 😉
This is a realy good news, thanx
We start using it today for testing our JavaFX code. Worked like a charm. Minor remarks:
– You need to make apparently an Application for every test, even if you just want to test a widget. Is it not possible to bring up a stage without an application?
– Would be nice to have it in maven central ( but that’s just a matter of time)
Nice work!
Is it possible to use the JemmyFX that lives in OpenJFX against JavaFX 2.0.3 instead of the 2.1 beta?
Build failed on uncaught annotation exception in
org.jemmy.dock.Docenerator….
Had run it against the i586 sdk & java 1.6.0.31 & ant 1.8.2
What versions should I be using ?
jim
Awesome ! Thanks !
Could you push it to the maven central ?