On Fri, 16 Feb 2024 16:00:07 GMT, Andy Goryachev <[email protected]> wrote:
> As a side note, before we can start re-writing the controls' behaviors, we > should: > > a) identify all the behavioral aspects of each control and b) develop a set > of tests to exercise each one, along the lines of > [JDK-8314906](https://bugs.openjdk.org/browse/JDK-8314906) > > without these steps, we are guaranteed to create regression. I think those tests should be unit tests, not via Robot, to make this a feasible endeavor. This is the reason why I asked about a mocking framework to be included in FX test utilities. We should look into making it much easier to set up a Behavior or Control or Skin, without having to fire up a complete FX. Things like animations and timers should be mocked out, so there can be precise control during the tests. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1368#issuecomment-1949186138
