This course will teach you how to use JUnit 5 to write unit tests for your Kotlin code.
Junit 5 is the de-facto standard testing framework on the JVM. It is used to test application code in many areas including enterprise, desktop and mobile applications.
This class will show how to setup Junit to test Kotlin code, including the some of the issues you will encounter that are unique to Kotlin.
This course will teach you how to use JUnit 5 to write unit tests for your Kotlin code.
Junit 5 is the de-facto standard testing framework on the JVM. It is used to test application code in many areas including enterprise, desktop and mobile applications.
This class will show how to setup Junit to test Kotlin code, including the some of the issues you will encounter that are unique to Kotlin.
The class will also extend some of the features of Junit, for example by using an assertions library to extend the range and flexibility of the assertions that are available. Finally we will look at ‘mocking’, something that JUnit does not provide itself, for this we will use the MockK, a mocking framework written in and for Kotlin.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.