-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by another
Description
JUnit 5 looks like it might be a very awkward upgrade for both our users and Spring Boot itself. We'll need to come up with a plan going forward for how people should upgrade.
Of particular concern:
- You can't just run JUnit 4 tests with JUnit 5 😢
- There are new
@Testannotations andexpectedExceptionhas been dropped - There is no
@Ruleannotation (this will break a lot of our tests and we'll need to offer alternatives to the rules we offer)
We might be able to offer JUnit 5 alongside JUnit 4 for a while (possibly a long while) so that people can use both.
I imagine probably going to frustrate a lot of users given that mostly their own test code has very little direct contact with the JUnit API. Mostly people use @Test, @Before/@After, perhaps a few @Rule annotations and some Assert calls.
Related issue junit-team/junit-framework#169
Art-B, davidkarlsen, ryonday, vpondala, Tanmayshetty and 1 more
Metadata
Metadata
Assignees
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by another