Skip to content
Andreas edited this page Sep 22, 2017 · 6 revisions

RichTextFX uses TestFX (version 4) to implement UI centric automated tests (integration tests).

Running the tests in Eclipse

The tests can be run in Eclipse like other JUnit based unit tests. To run the complete test suite, select the src/integrationTest/java folder and select "Run as => JUnit Test" from the context menu.

NOTE: The tests require the "glass" robot adapter to run successfully. Make sure to define the property -Dtestfx.robot=glass when launching a test.

Running the tests with gradle

To run the TestFX tests from the command line, use

$ gradle integrationTest