Dmitry Tuchs
Company: Dodo Engineering
In his talk on this Heisenbug, Dmitry talks about how with just 4 classes you can make your tests look nice and idomatic. But a separate big topic about how to improve the look of your tests is the features that JUnit5 provides. (Briefly, Dmitry refers to this report in his today's.) Dmitry talked about this in 2018, and his report has not lost relevance.
JUnit 5 is a totally new framework, its first release candidate has been issued less than one year ago. JUnit name demands a lot, as it is the most popular solution for writing tests in Java-world, fresh version of which has been wanted for more than 3 years. What did we get? Totally new coding base, architecture and API in the combination with the simple and impressive previous version.
Migration process from the version 4 is easy — you can limit it by simple annotations replacement. But here at PropellerAds, while migrating to the JUnit 5, we first tried to answer the question — how to use new API to make our testing better?
To make the long story short:
Calculator calculator = new Calculator();
This talk is 100% for you! Using real-life examples, we'll show you how we didn`t just replace the annotations but got rid of the first "A" in the "AAA" abbreviation.
Company: Dodo Engineering