MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/6za58f/junit_5_released/dmtwy4e/?context=3
r/java • u/johnwaterwood • Sep 10 '17
33 comments sorted by
View all comments
28
Is there a list of major changes from 4 to 5 somewhere?
Edit: Found a few high level comparisons:
https://howtodoinjava.com/junit-5/junit-5-vs-junit-4/
https://howtoprogram.xyz/2016/08/10/junit-5-vs-junit-4/
https://www.ibm.com/developerworks/library/j-introducing-junit5-part1-jupiter-api/index.html
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.
5
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.
10
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.
8
You appear to be correct, according to the notes. Before/After become BeforeEach/AfterEach and BeforeClass/AfterClass become BeforeAll/AfterAll.
28
u/cypher0six Sep 10 '17 edited Sep 10 '17
Is there a list of major changes from 4 to 5 somewhere?
Edit: Found a few high level comparisons:
https://howtodoinjava.com/junit-5/junit-5-vs-junit-4/
https://howtoprogram.xyz/2016/08/10/junit-5-vs-junit-4/
https://www.ibm.com/developerworks/library/j-introducing-junit5-part1-jupiter-api/index.html