awaitility
awaitility copied to clipboard
Feature request: Make default times configurable
When I want to change all wait or poll times (e.g. for use in slow CI), I have to call Awaitility.setDefault…(…) essentially before every test class (because I don't know which one will be the first to be executed).
A colleague found a workaround by registering a LauncherSessionListener in JUnit 5 – but that feels quite intrusive (extra class, extra service descriptor, has to be on all test classpaths) and isn't obvious in the build.
It would be much simpler (and clearer) if I could just set a system property in my build and be done with it.