Registry / testing / testfx-junit

testfx-junit

JSON →
library4.0.18javamavenunverified

JUnit integration for TestFX, enabling automated JavaFX UI testing.

<dependency> <groupId>org.testfx</groupId> <artifactId>testfx-junit</artifactId> <version>4.0.18</version> </dependency>
INSTALL
IMPORT
SIG · TESTFX-JUNIT
T
testfx-junit
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.junit.ApplicationTest

Write a JavaFX UI test using TestFX with JUnit.

import org.testfx.framework.junit.ApplicationTest; import javafx.stage.Stage; public class MyTest extends ApplicationTest { @Override public void start(Stage stage) { // setup UI } @Test public void testButton() { clickOn(".button"); } }
Debug
Known issues
breakingTestFX requires JavaFX runtime; not included in all JDK distributions.
fix
Add JavaFX SDK as a dependency or use a JDK that includes JavaFX.
affects: *
Upgrade
Version history
4.0.18latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
testfx-junit — mvn dependency:get testfx-junit · libregistry