r/java • • Sep 10 '17

JUnit 5 released!

http://junit.org/junit5
213 Upvotes

33 comments sorted by

View all comments

28

u/cypher0six Sep 10 '17 edited Sep 10 '17

5

u/Trout_Tickler Sep 10 '17

There was one but the features I switched for were @BeforeEach and dynamic tests.

10

u/crummy Sep 10 '17

isn't BeforeEach just like Before?

8

u/cdombroski Sep 10 '17

You appear to be correct, according to the notes. Before/After become BeforeEach/AfterEach and BeforeClass/AfterClass become BeforeAll/AfterAll.