On Sun, Sep 14, 2025 at 1:10 PM Rüdiger <snack...@sinntr.eu> wrote:
>
> On 14. Sep 2025, at 12:32, Elliotte Rusty Harold <elh...@ibiblio.org> wrote:
> > In general ITs, including our own, are too flaky, too heavyweight, and
> > too configuration dependent to execute them by default when the user
> > is trying to do something else like package or install.
>
> `verify` is _after_ the `package` phase, so that is not an issue.
>
> And most often, `install` is not what you want anyway. Prefer `package` then.
>
> If your ITs are flaky, heavy, etc., maybe you should fix them?
> But if that is a deliberate choice, just set `-DskipITs`.

That's essentially proposing to convert all ITs to unit tests, in
which case we don't need failsafe at all. The reason we separate ITs
from unit tests is that some operations like bringing up and
communicating with an actual database are fundamentally stochastic,
unreliable, and slow.

-- 
Elliotte Rusty Harold
elh...@ibiblio.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to