RFR: 8307076: gradle test should always run tests
Johan Vos
jvos at openjdk.org
Sat Apr 29 20:08:53 UTC 2023
On Sat, 29 Apr 2023 13:48:28 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
> "gradle test" won't rerun a test that has already passed. This is surprising behavior, especially for UI toolkit tests where there might be many reasons to want to run the tests again, even if none of that tests "inputs" have changed. This is especially bothersome when debugging an intermittent test failure. Unlike rebuilding the JavaFX runtime or the docs, where there is no need to rerun a task that was successful if none of the inputs to that task have changed, I expect gradle to run my test when I tell it to.
>
> This PR will make test tasks always run when specified.
Marked as reviewed by jvos (Reviewer).
This is a major enhancement. The non-rerunning tests have been extremely annoying, glad this could be fixed with such a simple PR!
-------------
PR Review: https://git.openjdk.org/jfx/pull/1120#pullrequestreview-1407020797
PR Comment: https://git.openjdk.org/jfx/pull/1120#issuecomment-1528860878
More information about the openjfx-dev
mailing list