-
Notifications
You must be signed in to change notification settings - Fork 172
Home
Michael Ennen edited this page Aug 6, 2018
·
19 revisions
TestFX is a library for simple and clean testing of JavaFX applications and components. Features include a fluent and clean API, a flexible setup and cleanup of JavaFX test fixtures, simple robots to simulate user interactions and a rich collection of matchers to verify expected states.
These pages aim to tell you all you need to know to be productive with TestFX. The pages are structured so you can read them chronologically. Please file issues if you spot errors or think something is missing.
- Getting Started — Add TestFX to an existing project and run a simple click test.
- Stages and Applications — Use a test runner to setup Stages and launch Applications.
- Robots and Queries — Simulate user interaction of mouse and keyboard on queried Nodes.
- Assertions and Matchers — Verify expected states using a rich collection of matchers.
- RichTextFX's Integration Tests
- TodomvcFX's Tests Simple example of TestFX with JUnit 5 with maven project
- Travis CI — Run TestFX tests as part of your Travis CI build.
- Issuing a Release — How to issue a new release of TestFX.
Glossary:
- Node: Components like labels, buttons, text fields, and table views. Containers like stack panes, and border panes.