[Android][Java][JUnit]Some links for JUnit 5

I discussed JUnit 5 with my team. I put some links and quotes in this post we discussed mainly then.

Core principle

Parameterized tests

https://github.com/junit-team/junit5/wiki/Core-Principles#parameterized-tests

Dynamic Test

http://www.baeldung.com/junit5-dynamic-tests

The DynamicTests are executed differently than the standard @Tests and do not support lifecycle callbacks. Meaning, the @BeforeEach and the @AfterEach methods will not be called for the DynamicTests.

https://stackoverflow.com/questions/44096293/how-are-dynamic-tests-different-from-parameterized-tests-in-junit-5#comment75557358_44114477

the dynamic test run was almost x10 faster to complete.

Migrating from JUnit 4 to JUnit 5

http://www.baeldung.com/junit-5-migration

BTW,

I tried to introduce some JUnit 5 thing in my private project to catch up with some syntax in JUnit 5.

https://github.com/KazuCocoa/EspressoEnv/commit/3c325488de59e5c644117048559a7d3b85a9abe3

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.