jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Russell <gra...@ham1.co.uk>
Subject Re: JUnit5 vs JUnit4
Date Wed, 02 Oct 2019 17:09:19 GMT
Sounds good to me too, and if any are stubborn, or would look better
as Spock tests, perhaps we can re-write them?

I can attempt this tonight if no-one else has currently started it?

Graham

On Wed, 2 Oct 2019 at 17:24, Philippe Mouawad
<philippe.mouawad@gmail.com> wrote:
>
> Ok by me
>
> On Wed, Oct 2, 2019 at 4:12 PM Vladimir Sitnikov <
> sitnikov.vladimir@gmail.com> wrote:
>
> > Hi,
> >
> > What do you think if we migrate existing JUnit4 tests to JUnit5, and
> > somehow forbid adding new JUnit4 tests?
> > For instance, we can add Spotless formatting step that automatically
> > replaces "import org.junit.Test" with "org.junit.jupiter.api.Test" within
> > java files :)
> >
> > In most of the cases, the migration is as simple as replacing
> > org.junit.Test with org.junit.jupiter.api.Test.
> >
> > In my point of view, the removal of JUnit4-based tests would simplify
> > maintenance as it would reduce (at least temporary) the number of different
> > test styles.
> >
> > Any thoughts?
> >
> > Vladimir
> >
>
>
> --
> Cordialement.
> Philippe Mouawad.
>
>
>
>
> --
> Cordialement.
> Philippe Mouawad.

Mime
View raw message