Some references
https://junit.org/junit5/docs/current/user-guide/
https://joel-costigliola.github.io/assertj/

On Tue, Mar 24, 2020 at 9:27 PM Shiyan Xu <[email protected]>
wrote:

> Hi all,
>
> I'd like to gather some feedback about
> 1. upgrading Junit 4 to 5
> 2. adopt AssertJ as preferred assertion statement style
>
> IMO 1) will give many benefits on writing better unit tests. A google
> search of "junit 4 vs 5" could lead to many good points. And it is some
> migration can be done piece by piece (keeping both 4 and 5 during upgrade
> and enforce new test using 5)
>
> 2) is to spice things up and bring the test readability to another level,
> though I'll treat it as nice-to-have.
>
> Would you +1 or -1 on either or both?
>
> Knowing that it'll be a long way to go due to the large number of tests,
> this needs to be planned and tracked carefully.
>
> Thank you.
>
> Best,
> Raymond
>
>

Reply via email to