Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

503 migrate tests to junit5 #514

Merged
merged 10 commits into from
Sep 20, 2017

Conversation

gbalderas
Copy link
Contributor

@gbalderas gbalderas commented Aug 22, 2017

#503

JfxRunner (#504) was replaced by JfxToolkitExtension, which initializes the JavaFX Toolkit before all tests are made, and a method on FxTestingUtils (runInFXThread), which runs a code block on Platform.runLater()

BooksExampleIT from books-example and IntegrationTestWithTestFX from fx-root-example have a dependency on junit4. They both use GuiTest from TestFX-legacy, which uses junit4 on the background.

@manuel-mauky manuel-mauky merged commit 48ea2cf into sialcasa:develop Sep 20, 2017
@bendardenne
Copy link

Is there a reason to instantiate a JFXPanel instead of any other FX control? This implies a javafx-swing dependency that may not be present.

@manuel-mauky
Copy link
Collaborator

The JFXPanel was the only way to bootstrap a JavaFX runtime besides instantiating a real JavaFX application. The issue with the javafx-swing dependency was not a problem at that time.
Maybe nowadays there are better ways to bootstrap a JavaFX runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants