Closed stefanofornari closed 1 year ago
I'm sorry haha I tested VirtualizedFX as best as I could I'll try to fix it by this day if it's an easy one Thanks for reporting
P.S: Oh, also I know I still have to answer to the scrolling question, will do asap
eheh :) no worries and thanks!
have you ever explored to use better testfx and practice a bit of TDD? you'll realize you save a lot of time ;)
Fixed by 275da4637e7c20dd4525a3628bda6a9bcf31afe7
I know the TDD technique, and yes, in some cases it saves a lot of time, as both the logic and the verification code are written at the same time. I recently used it for another project, separated in backend and frontend modules. I'm a bit skeptical about testing GUIs with unit tests. I feel like interactive apps are a better way to test them, it's a bit boring and cumbersome to reproduce issues, yet I find it more immediate
It's a separate discussion than this bug indeed, but you may want to give it a try. I was skeptical as well, but after using in in flutter and now testfx I am a big fan of it. A few reasons:
In the case of UI you won't probably go to the granularity of testing if a corner is rounded enough, but you can find your own balance.
HTH
How to reproduce it:
VirtualTable<User> table = new VirtualTable<>(Model.users);
withVirtualTable<User> table = new VirtualTable<>(); table.setColumnsLayoutMode(ColumnsLayoutMode.VARIABLE);
Expected behaviour: The app starts with empty content Current behaviour: The app crashes with the following stack trace:
NOTES: