Skip to end of metadata
Go to start of metadata

FEST-JavaFX is a Java library that provides a fluent interface for functional JavaFX GUI testing. This library provides an easy-to-use API that makes creation and maintenance of GUI tests easy.

Why do we need to test GUIs?

Testing GUIs can make the entire system safer and more robust. Any GUI, even one providing only the simplest capabilities, likely encloses some level of complexity. Any complexity in software must be tested because code without tests is a potential source of bugs. A well-tested application has a greater chance of success.

GUI testing is also essential during application maintenance. During this phase, code might be refactored frequently to improve design, and this code often encloses great portions of the user interface. Having a solid test suite that includes GUI code can give us confidence that we are not inadvertently introducing bugs.

Reference: Test-Driven GUI Development with TestNG and Abbot by Alex Ruiz and Yvonne Wang Price (IEEE Software May/June 2007 issue)

Feature Overview

FEST-JavaFX is currently under development. The planned features for our first release are:

  1. Maven plugin for compiling JavaFX sources
  2. Simulation of user interaction with a GUI (e.g. mouse and keyboard input, drag 'n drop)
  3. Reliable GUI component lookup (by type, by id or custom search criteria)
  4. Support for all standard JavaFX components
  5. Compact and powerful API for creation and maintenance of functional GUI tests
  6. Support for regular expression matching
  7. Ability to embed screenshots of failed GUI tests in HTML test reports
  8. Can be used with either TestNG or JUnit
  • No labels