-
Notifications
You must be signed in to change notification settings - Fork 236
Test Automation
RichTextFX uses TestFX (version 4) to implement UI centric automated tests (integration tests).
Note: while the tests are running (if you are not using a dedicated headless display), keep your hands off the mouse and keyboard - otherwise, mouse and keyboard interactions will interfere with the test execution!
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 below the richtextfx project and select "Run as => JUnit Test" from the context menu.
NOTE: (At least on Windows), the tests require the "glass" robot adapter to run successfully. Make sure to define the property -Dtestfx.robot=glass
when launching a test.
To run the TestFX tests from the command line, use
$ gradle integrationTest
- Home
- General guidelines
- Core classes
- Text Styles: Inline, Style Class, and Custom Style Objects
- PS, S, and SEG: Explaining the main generics in RichTextFX
- Implementing custom objects
- How to Override the Default Behavior
- RichTextFX CSS Reference Guide
- Adding Support for Emojis
- Known Issues
- Test Automation