-
Can someone recommend a testing framework for Doodle UI? It should be able to run automated tests from Gradle. I am looking for something similar to testfx(http://testfx.github.io/TestFX/) used for JavaFX. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
In general you should be able to write unit style tests with mocks (I recommend Mockk). There are some basic examples of this in the Calculator tutorial (repo). You can fully mock your Unfortunately, there isn't a framework (as far as I know) that offers something like the fluent API of the JavaFX one you shared. |
Beta Was this translation helpful? Give feedback.
In general you should be able to write unit style tests with mocks (I recommend Mockk). There are some basic examples of this in the Calculator tutorial (repo).
You can fully mock your
Application
instance as well if you inject everything; which is the recommendation.Unfortunately, there isn't a framework (as far as I know) that offers something like the fluent API of the JavaFX one you shared.