Registry / testing / testfx-core

testfx-core

JSON →
library4.0.18javamavenunverified

A library for testing JavaFX applications programmatically or via GUI interactions.

<dependency> <groupId>org.testfx</groupId> <artifactId>testfx-core</artifactId> <version>4.0.18</version> </dependency>
INSTALL
IMPORT
SIG · TESTFX-CORE
T
testfx-core
testingjavav4.0.18
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ApplicationTest
org.testfx.framework.junit5.ApplicationTest

Extend ApplicationTest to write JavaFX UI tests with TestFX.

import org.testfx.framework.junit5.ApplicationTest; import javafx.stage.Stage; public class MyTest extends ApplicationTest { @Override public void start(Stage stage) { stage.setTitle("Test"); stage.show(); } }
Debug
Known issues
gotchaTestFX 4.x requires JavaFX runtime; ensure JavaFX modules are added to the module path.
fix
Add JavaFX dependencies (e.g., org.openjfx:javafx-controls) and configure module-path in your build tool.
affects: >=4.0.0
Upgrade
Version history
4.0.18latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
testfx-core — mvn dependency:get testfx-core · libregistry