So after trying a lot of things, this is how I dec...
# tornadofx
w
So after trying a lot of things, this is how I decided to test tornadofx views and fragments: base test code: https://github.com/wakingrufus/mastodon-jfx/blob/master/src/test/kotlin/com/github/wakingrufus/mastodon/TornadoFxTest.kt example usage: https://github.com/wakingrufus/mastodon-jfx/blob/master/src/test/kotlin/com/github/wakingrufus/mastodon/ui/AccountFragmentTest.kt what do you think? Is this a good way to do it? Can I make any improvements? Would people be interested in the base class being in a library?