Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
601 views
by Contributing Tester (40 points)
edited by
Junit 4 is used a lot, why change for JUnit 5, what is new in JUnit5

1 Answer

0 like 0 dislike
by The go-to Tester (142 points)
JUnit 5 the Next Generation JUnit having lots of New features, Annotations and Assertion options, Some of the Annotations are @BeforeEach @AfterEach,@Tag,@DisplayName and it requires Java 8 and Above.

For more information, you can visit JUnit official site https://junit.org/junit5/docs/current/user-guide/

And for comparison, you can visit https://automationtesting365.wordpress.com/2018/08/07/junit-4-vs-junit-5an-overview/


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...