Skip to content

Commit d5b0545

Browse files
committed
docs(framework): Add some information about tests and support
1 parent a6c2638 commit d5b0545

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ It provides a simple way to create and manage controllers, views, routes, subcom
77
The framework is built on top of JavaFX and uses Dagger for dependency injection and RxJava for reactive programming.
88
It also provides a few utility classes and data structures to simplify the creation of JavaFX applications.
99

10+
## ❓ Support
11+
If you have any questions or need help with the framework, feel free to open an [issue on GitHub](https://github.com/fujaba/fulibFx/issues).
12+
When reporting errors, make sure to use the latest available version of the framework with a supported Java version (17 or 21).
13+
14+
Before reporting an issue, please check the [common issues](#-common-issues) section or the [wiki](https://fujaba.github.io/fulibFx/) first.
15+
1016
## 🔗 Installation
1117

1218
```groovy
@@ -184,3 +190,10 @@ elements which are not present in the basic JavaFX library. To fix this, you can
184190
elements to the SceneBuilder. The simplest way is to build your project and then add the jar file by clicking on the small
185191
gear icon next to the search bar and selecting "JAR/FXML Manager". Then you can add the jar file by clicking on the "Add
186192
Library/FXML from file system" button.
193+
194+
### 6. My tests fail
195+
Tests using TestFX (especially headless) are janky in general. This isn't really a problem of the framework but rather a problem of TestFX itself.
196+
Some tips to avoid problems:
197+
- Set the stage size to a fixed size (e.g. 1600x900) to avoid out of view elements.
198+
- Use `stage.requestFocus()` to focus the stage before running the test.
199+
- Minimize other windows to avoid interference (yes, I know this is stupid).

0 commit comments

Comments
 (0)