On Mon, 8 Jul 2024 09:08:19 GMT, John Hendrikx <jhendr...@openjdk.org> wrote:
> What annoys me the most with the FX project is the inability to run certain > tests directly from the IDE by right clicking and selecting `Run as... JUnit > test`. Yep, same issue here, and same workaround. I wonder if it is possible to create a separate project(s) for tests that will have all the necessary dependencies added (as a separate issue). For example, headless tests require addition of these vm args: -Djava.library.path="../../../build/sdk/lib" -Djavafx.toolkit="test.com.sun.javafx.pgstub.StubToolkit" -ea while system tests are slightly different: --add-modules=javafx.base,javafx.graphics,javafx.controls,javafx.swing --add-opens javafx.controls/test.com.sun.javafx.scene.control.test=javafx.base --add-exports javafx.base/com.sun.javafx=ALL-UNNAMED -Djava.library.path="../../../../build/sdk/lib" ------------- PR Comment: https://git.openjdk.org/jfx/pull/1491#issuecomment-2214798897