RFR: 8307076: gradle test should always run tests
Kevin Rushforth
kcr at openjdk.org
Mon May 1 13:06:26 UTC 2023
On Sat, 29 Apr 2023 19:55:40 GMT, Johan Vos <jvos at openjdk.org> wrote:
> This is a major enhancement. The non-rerunning tests have been extremely annoying
I wanted to do this 10 years ago, but was talked out of it. It recently came up as a source of much wasted time for a developer when tracking down another test bug, so I figured it's past time to reconsider it.
> FYI Gradle 7.6 introduced --rerun command which kind of solves that problem
For rerunning tests, that's not appreciably better than the currently recommended approach of adding the `cleanTest` target: in both cases you have to remember to do it, and can be surprised if you don't.
This RFE has a closed-side part to it, so I'll wait to integrate this PR until the other half is ready (which should be soon).
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1120#issuecomment-1529682544
More information about the openjfx-dev
mailing list