Zitat von Kevin Rushforth :
In general, I would say it's OK to rely on existing tests for
trivial refactoring, that is a refactoring where it seems fairly
obvious that there are not going to be changes in behavior (even if
such tests may be inadequate). For less trivial refactoring, if
In general, I would say it's OK to rely on existing tests for trivial
refactoring, that is a refactoring where it seems fairly obvious that
there are not going to be changes in behavior (even if such tests may be
inadequate). For less trivial refactoring, if there are clearly missing
tests, I
... if changes are "just" a re-arrangement of code (like
https://github.com/openjdk/jfx/pull/6 - 8207957: TableSkinUtils should
not contain actual code implementation)?
In an ideal world, there would be a safety-net of tests (they would
have been written at the time the old code was