You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AssertJ provides a very nice fluent assertions style that in my opinion is easier to read and more consistent than Hamcrest. I'd like to add it as a test dependency and make use of it when testing the new MergedAnnotations API. Using AssertJ assertThatExceptionOfType... calls instead of @Rule ExpectedException will also help if we decide to migrate our tests to JUnit5.
Spring Boot tests have been written exclusively with AssertJ for some time now.
The text was updated successfully, but these errors were encountered:
AssertJ provides a very nice fluent assertions style that in my opinion is easier to read and more consistent than Hamcrest. I'd like to add it as a test dependency and make use of it when testing the new
MergedAnnotations
API. Using AssertJassertThatExceptionOfType...
calls instead of@Rule ExpectedException
will also help if we decide to migrate our tests to JUnit5.Spring Boot tests have been written exclusively with AssertJ for some time now.
The text was updated successfully, but these errors were encountered: